Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

block-sequence

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

block-sequence - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

CHANGELOG.md
# Change Log
## [1.1.1]
### Changed
- Fixed tests broken by mocha 5.0.2
## [1.1.0]

@@ -4,0 +8,0 @@ ### Changed

13

package.json
{
"name": "block-sequence",
"version": "1.1.0",
"version": "1.1.1",
"description": "A sequential id generator, which grabs blocks of ids rather than just one at a time",

@@ -10,4 +10,5 @@ "main": "index.js",

"istanbul": "istanbul cover --report html --report lcov _mocha",
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info",
"prepush": "npm run lint && npm test"
"codeclimate": "(test -e .codeclimate && npm run istanbul && source .codeclimate) || echo skipping codeclimate",
"precommit": "npm run lint && npm test",
"prepush": "npm run codeclimate"
},

@@ -26,3 +27,3 @@ "keywords": [

"dot": "^1.1.2",
"lodash": "^4.17.4"
"lodash": "^4.17.10"
},

@@ -32,3 +33,3 @@ "devDependencies": {

"codeclimate-test-reporter": "^0.5.0",
"eslint": "^4.11.0",
"eslint": "^4.19.1",
"eslint-config-imperative": "^2.0.1",

@@ -38,3 +39,3 @@ "eslint-plugin-imperative": "^2.0.0",

"istanbul": "^0.4.5",
"mocha": "^4.0.1"
"mocha": "^5.1.1"
},

@@ -41,0 +42,0 @@ "directories": {

@@ -23,5 +23,9 @@ var bsr = require('block-sequence-reference')

it('should require a driver', function(done) {
new BlockArray({}).once('error', function(err) {
var count = 0
new BlockArray({}).on('error', function(err) {
assert.equal(err.message, 'driver is required')
done()
count++
assert.ok(count <= 2)
if (count === 2) done()
})

@@ -31,5 +35,8 @@ })

it('should require a sequence name', function(done) {
new BlockArray({ block: { driver: driver } }).once('error', function(err) {
var count = 0
new BlockArray({ block: { driver: driver } }).on('error', function(err) {
assert.equal(err.message, 'sequence name is required')
done()
count++
assert.ok(count <= 2)
if (count === 2) done()
})

@@ -144,2 +151,2 @@ })

})
})

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