brisky-stamp
Advanced tools
Comparing version 2.0.0 to 2.0.1
'use strict' | ||
module.exports = vstamp => { | ||
const inProgress = vstamp.inProgress = [] | ||
const create = vstamp.create | ||
const close = vstamp.close | ||
module.exports = bstamp => { | ||
const inProgress = bstamp.inProgress = [] | ||
const create = bstamp.create | ||
const close = bstamp.close | ||
vstamp.create = (type, src, override, ignore) => { | ||
bstamp.create = (type, src, override, ignore) => { | ||
const stamp = create(type, src, override) | ||
@@ -21,3 +21,3 @@ if (!ignore) { | ||
vstamp.close = (stamp) => { | ||
bstamp.close = (stamp) => { | ||
inProgress.splice(inProgress.indexOf(stamp), 1) | ||
@@ -24,0 +24,0 @@ return close(stamp) |
{ | ||
"name": "brisky-stamp", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Generate unique meta information for change in a system", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -21,4 +21,4 @@ # brisky-stamp | ||
// fires onclose listeners | ||
briskyStamp.close() | ||
// fires stamp listeners, usefull for debugging (all stamps need to be closed) | ||
briskyStamp.close(stamp) | ||
@@ -25,0 +25,0 @@ const parsed = briskyStamp.parse(stamp) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103986