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

brisky-stamp

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brisky-stamp - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

5

lib/index.js

@@ -7,2 +7,3 @@ if (global.briskystamp) {

var on
var start = 0

@@ -33,6 +34,8 @@ exports.cnt = 0

if (on) {
for (let i = 0; i < on.length; i++) {
for (let i = start; i < on.length; i++) {
start = i + 1
on[i]()
}
on = false
start = 0
}

@@ -39,0 +42,0 @@ }

2

package.json
{
"name": "brisky-stamp",
"version": "2.1.2",
"version": "2.1.3",
"description": "Generate unique meta information for change in a system",

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

@@ -91,1 +91,13 @@ 'use strict'

})
test('on complete listeners -- on close 00 create a new one', t => {
var cnt = 0
bstamp.on(() => {
bstamp.create()
cnt++
bstamp.close()
})
bstamp.close()
t.equal(cnt, 1, 'listener fired')
t.end()
})
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