node-opcua-nodeid
Advanced tools
Comparing version 0.1.0-alpha.dc0cce4c to 0.1.1-0
{ | ||
"name": "node-opcua-nodeid", | ||
"main": "./src/nodeid.js", | ||
"version": "0.1.0-alpha.dc0cce4c", | ||
"description": "", | ||
"scripts": { | ||
"test": "mocha test" | ||
}, | ||
"dependencies": { | ||
"node-opcua-assert": "^0.1.0-alpha.dc0cce4c", | ||
"node-opcua-constants": "^0.1.0-alpha.dc0cce4c", | ||
"node-opcua-enum": "^0.1.0-alpha.dc0cce4c", | ||
"node-opcua-guid": "^0.1.0-alpha.dc0cce4c", | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-benchmarker": "^0.1.0-alpha.dc0cce4c", | ||
"should": "^13.0.1" | ||
} | ||
"name": "node-opcua-nodeid", | ||
"main": "./src/nodeid.js", | ||
"version": "0.1.1-0", | ||
"description": "pure nodejs OPCUA SDK - module -nodeid", | ||
"scripts": { | ||
"test": "mocha test" | ||
}, | ||
"dependencies": { | ||
"node-opcua-assert": "^0.1.1-0", | ||
"node-opcua-constants": "^0.1.1-0", | ||
"node-opcua-enum": "^0.1.1-0", | ||
"node-opcua-guid": "^0.1.1-0", | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"node-opcua-benchmarker": "^0.1.1-0", | ||
"should": "13.2.0" | ||
}, | ||
"author": "Etienne Rossignon", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/node-opcua/node-opcua.git" | ||
}, | ||
"keywords": [ | ||
"OPCUA", | ||
"opcua", | ||
"m2m", | ||
"iot", | ||
"opc ua", | ||
"internet of things" | ||
], | ||
"homepage": "http://node-opcua.github.io/" | ||
} |
@@ -307,3 +307,3 @@ "use strict"; | ||
// detect accidental string of form "ns=x;x"; | ||
assert(value.indexOf(";") === -1, " makeNodeId(string) ? did you mean using coerceNodeId instead? "); | ||
assert(value.indexOf("ns=") === -1, " makeNodeId(string) ? did you mean using coerceNodeId instead? "); | ||
} | ||
@@ -310,0 +310,0 @@ } else if (value instanceof Buffer) { |
@@ -343,4 +343,23 @@ | ||
describe("issue#372 coercing & making nodeid string containing semi-column", function () { | ||
it("should coerce a nodeid string containing a semi-column", function () { | ||
var nodeId = coerceNodeId("ns=0;s=my;nodeid;with;semicolum"); | ||
nodeId.identifierType.should.eql(NodeIdType.STRING); | ||
nodeId.value.should.be.eql("my;nodeid;with;semicolum"); | ||
}); | ||
it("should make a nodeid as a string containing semi-column",function() { | ||
var nodeId = makeNodeId("my;nodeid;with;semicolum"); | ||
nodeId.identifierType.should.eql(NodeIdType.STRING); | ||
nodeId.value.should.be.eql("my;nodeid;with;semicolum"); | ||
}); | ||
}); | ||
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
34615
6
0
793
1
1
0
+ Addednode-opcua-assert@0.1.1-0(transitive)
+ Addednode-opcua-constants@0.1.1-0(transitive)
+ Addednode-opcua-enum@0.1.1-0(transitive)
+ Addednode-opcua-guid@0.1.1-0(transitive)
- Removednode-opcua-assert@0.1.0-alpha.dc0cce4c(transitive)
- Removednode-opcua-constants@0.1.0-alpha.dc0cce4c(transitive)
- Removednode-opcua-enum@0.1.0-alpha.dc0cce4c(transitive)
- Removednode-opcua-guid@0.1.0-alpha.dc0cce4c(transitive)
Updatednode-opcua-assert@^0.1.1-0
Updatednode-opcua-enum@^0.1.1-0
Updatednode-opcua-guid@^0.1.1-0