Comparing version 0.0.3 to 0.0.4
{ | ||
"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') | ||
}) | ||
}) |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9246
0
10