New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

consecutive

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consecutive - npm Package Compare versions

Comparing version 5.0.4 to 5.0.5

8

CHANGELOG.md
# consecutive changelog
## [5.1.1](http://github.com/ivanoff/create-raml/tree/5.1.1) (2017-04-20)
[Full Changelog](http://github.com/ivanoff/create-raml/compare/5.0.3...5.1.1)
**What Was Done:**
- convert begin number
## [5.0.3](http://github.com/ivanoff/create-raml/tree/5.0.3) (2017-04-19)

@@ -4,0 +12,0 @@ [Full Changelog](http://github.com/ivanoff/create-raml/compare/5.0.2...5.0.3)

2

index.js

@@ -20,3 +20,3 @@ /*!

} else {
res = number.toString();
res = (number === begin) ? (parseInt(number, base)).toString(base) : number.toString();
number = (parseInt(number, base) + inc).toString(base);

@@ -23,0 +23,0 @@ }

{
"name": "consecutive",
"version": "5.0.4",
"version": "5.0.5",
"description": "Consecutive numbering",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,3 +15,3 @@

v5.0.4
v5.0.5

@@ -49,3 +49,13 @@

### TypeScript Usage Example
```javascript
import consecutive from 'consecutive';
const next = consecutive();
console.log(next(), next(), next());
//=> 0 1 2
```
## API

@@ -52,0 +62,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc