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

lockfile

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockfile - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.npmignore

8

package.json
{
"name": "lockfile",
"version": "1.0.1",
"version": "1.0.2",
"main": "lockfile.js",

@@ -10,7 +10,9 @@ "directories": {

"devDependencies": {
"tap": "~0.2.5",
"tap": "^7.1.2",
"touch": "0"
},
"scripts": {
"test": "tap test/*.js"
"test": "tap test/*.js --cov",
"changelog": "bash gen-changelog.sh",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog - '${npm_package_version}"
},

@@ -17,0 +19,0 @@ "repository": {

@@ -20,3 +20,3 @@ // In these tests, we do the following:

var EXPECTTIME = (RETRYWAIT * RETRIES) + (WAIT * (RETRIES + 1))
var TOOLONG = EXPECTTIME * 1.1
var TOOLONG = EXPECTTIME * 1.5

@@ -37,4 +37,6 @@ test('setup', function (t) {

}, 2000)
timer.unref()
if (timer.unref)
timer.unref()
var start = Date.now()

@@ -61,5 +63,9 @@ lockFile.lock('file.lock', {

t.end()
setTimeout(function() {
var timer = setTimeout(function() {
process.exit(1)
}, 500).unref()
}, 500)
if (timer.unref)
timer.unref()
else
clearTimeout(timer)
})
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