gremlin-template-string
Advanced tools
Comparing version 1.0.0 to 2.0.0
{ | ||
"name": "gremlin-template-string", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Generate Gremlin scripts with bound parameters using ES6 template strings", | ||
"main": "index.js", | ||
"main": "src/index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "mocha --recursive --check-leaks test" |
@@ -13,4 +13,4 @@ 'use strict'; | ||
assert.equal(query.script, "g.V('name', p1)") | ||
assert.equal(query.params.p1, foo); | ||
assert.equal(query.gremlin, "g.V('name', p1)") | ||
assert.equal(query.bindings.p1, foo); | ||
}); | ||
@@ -24,5 +24,5 @@ | ||
assert.equal(query.script, "\n alice = g.addVertex('name', p1)\n g.V()") | ||
assert.equal(query.params.p1, foo); | ||
assert.equal(query.gremlin, "\n alice = g.addVertex('name', p1)\n g.V()") | ||
assert.equal(query.bindings.p1, foo); | ||
}); | ||
}); |
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
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
3986
7
1