forked from enviPath/enviPy
Current Dev State
This commit is contained in:
11
static/js/ketcher2/node_modules/minimalistic-assert/index.js
generated
vendored
Normal file
11
static/js/ketcher2/node_modules/minimalistic-assert/index.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
module.exports = assert;
|
||||
|
||||
function assert(val, msg) {
|
||||
if (!val)
|
||||
throw new Error(msg || 'Assertion failed');
|
||||
}
|
||||
|
||||
assert.equal = function assertEqual(l, r, msg) {
|
||||
if (l != r)
|
||||
throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));
|
||||
};
|
||||
48
static/js/ketcher2/node_modules/minimalistic-assert/package.json
generated
vendored
Normal file
48
static/js/ketcher2/node_modules/minimalistic-assert/package.json
generated
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"_from": "minimalistic-assert@^1.0.0",
|
||||
"_id": "minimalistic-assert@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-cCvi3aazf0g2vLP121ZkG2Sh09M=",
|
||||
"_location": "/minimalistic-assert",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "minimalistic-assert@^1.0.0",
|
||||
"name": "minimalistic-assert",
|
||||
"escapedName": "minimalistic-assert",
|
||||
"rawSpec": "^1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/asn1.js",
|
||||
"/des.js",
|
||||
"/elliptic",
|
||||
"/hash.js",
|
||||
"/hmac-drbg"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz",
|
||||
"_shasum": "702be2dda6b37f4836bcb3f5db56641b64a1d3d3",
|
||||
"_spec": "minimalistic-assert@^1.0.0",
|
||||
"_where": "/home/manfred/enviPath/ketcher2/ketcher/node_modules/des.js",
|
||||
"author": "",
|
||||
"bugs": {
|
||||
"url": "https://github.com/calvinmetcalf/minimalistic-assert/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "minimalistic-assert ===",
|
||||
"homepage": "https://github.com/calvinmetcalf/minimalistic-assert",
|
||||
"license": "ISC",
|
||||
"main": "index.js",
|
||||
"name": "minimalistic-assert",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/calvinmetcalf/minimalistic-assert.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
||||
4
static/js/ketcher2/node_modules/minimalistic-assert/readme.md
generated
vendored
Normal file
4
static/js/ketcher2/node_modules/minimalistic-assert/readme.md
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
minimalistic-assert
|
||||
===
|
||||
|
||||
very minimalistic assert module.
|
||||
Reference in New Issue
Block a user