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

croc-dag

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

croc-dag - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "croc-dag",
"version": "0.0.3",
"version": "0.0.4",
"description": "Directed Asyclic Graph for Croc",

@@ -22,4 +22,4 @@ "main": "lib/index.js",

"mocha": "^2.3.4",
"standard": "^5.4.1"
"standard": "^6.0.8"
}
}

@@ -15,5 +15,5 @@ /* global describe it */

assert.ok(result[0] = 'a', 'a is first')
assert.ok(result[1] = 'b', 'b is second')
assert.ok(result[2] = 'c', 'c is last')
assert.equal(result[0], 'a', 'a is first')
assert.equal(result[1], 'b', 'b is second')
assert.equal(result[2], 'c', 'c is last')
})

@@ -28,8 +28,8 @@ })

var result = reverseDfs(dag, 'a')
var result = reverseDfs(dag, 'c')
assert.ok(result[2] = 'c', 'c is first')
assert.ok(result[1] = 'b', 'b is second')
assert.ok(result[0] = 'a', 'a is last')
assert.equal(result[0], 'c', 'c is first')
assert.equal(result[1], 'b', 'b is second')
assert.equal(result[2], 'a', 'a is last')
})
})
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