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 4.0.0 to 4.0.1

dist/index.browser.inline.js

68

dist/index.js

@@ -1,56 +0,54 @@

'use strict';
// FILE: /Users/youzi/dev/brisky-stamp/lib/index.js
if (!global.briskystamp) {
'use strict';
var exports$1 = {};
const ts = exports$1.ts = 535673248076;
var tsInProgress = false;
var cnt = 0;
var d;
var on;
const bs = {}
const ts = bs.ts = 535673248076
var tsInProgress = false
var cnt = 0
var d
var on
global.briskystamp = exports$1;
exports$1.inProgress = false;
exports$1.offset = 0;
global.briskystamp = bs
bs.inProgress = false
bs.offset = 0
const ms = () => {
if (!tsInProgress) {
cnt = 0;
d = Date.now() - ts + exports$1.offset;
tsInProgress = true;
setTimeout(() => { tsInProgress = false; });
cnt = 0
d = Date.now() - ts + bs.offset
tsInProgress = true
setTimeout(() => { tsInProgress = false })
} else {
d += ++cnt / 9999;
d += ++cnt / 9999
}
return d
};
}
exports$1.create = override => override || ms();
bs.create = override => override || ms()
exports$1.on = fn => {
bs.on = fn => {
if (!on) {
on = [ fn ];
on = [ fn ]
} else {
on.push(fn);
on.push(fn)
}
};
}
exports$1.clear = () => { on = false; }; // rename this to stop
bs.clear = () => { on = false } // rename this to stop
exports$1.close = () => {
if (on && !exports$1.inProgress) {
exports$1.inProgress = true;
for (let i = 0; i < on.length; i++) { on[i](); }
exports$1.inProgress = on = false;
bs.close = () => {
if (on && !bs.inProgress) {
bs.inProgress = true
for (let i = 0; i < on.length; i++) { on[i]() }
bs.inProgress = on = false
}
};
}
exports$1.parse = stamp => {
return stamp > 1e6 ? (stamp + ts) : stamp
};
bs.parse = stamp => stamp > 1e6 ? (stamp + ts) : stamp
}
var index = global.briskystamp;
const $501350144 = global.briskystamp
module.exports = index;
//# sourceMappingURL=index.js.map
module.exports = $501350144
{
"name": "brisky-stamp",
"version": "4.0.0",
"version": "4.0.1",
"description": "Generate unique meta information for change in a system",
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"dev-browser": "budo test/index.js --live",
"build": "builder-boy lib/index.js dist/index.js",
"dev": "builder-boy lib/index.js dist/index.js -w",
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "node test | tap-difflet && standard",
"dev": "nodemon test | tap-difflet",
"cover": "istanbul cover --report none --print detail test/index.js",
"travis": "npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0) && standard"
"test": "standard --fix && node test/index.js",
"cover": "nyc npm test",
"travis": "nyc npm test && nyc report --reporter=text-lcov | coveralls"
},

@@ -28,18 +24,18 @@ "repository": {

],
"files": [
"dist",
"package.json"
],
"devDependencies": {
"budo": "^9.4.5",
"builder-boy": "latest",
"coveralls": "^2.11.9",
"istanbul": "^0.4.3",
"nodemon": "^1.9.1",
"nodemon": "^1.11.0",
"nyc": "^10.0.0",
"pre-commit": "^1.1.3",
"rollup": "^0.37.0",
"rollup-watch": "^2.5.0",
"standard": "^8.4.0",
"tap-difflet": "0.4.0",
"tape": "^4.4.0"
"standard": "^8.1.0",
"tape": "4.6.0"
},
"nyc": {
"include": [
"dist/index.js"
],
"sourceMap": true,
"instrument": true
},
"author": "jim de beer",

@@ -50,6 +46,3 @@ "license": "ISC",

},
"homepage": "https://github.com/vigour-io/stamp#readme",
"dependencies": {
"global": "^4.3.1"
}
"homepage": "https://github.com/vigour-io/stamp#readme"
}
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