Update Node_modules

This commit is contained in:
2019-07-02 16:05:15 +02:00
parent 95a0ff3913
commit 9dab5e2dbc
3495 changed files with 39728 additions and 465154 deletions
+9 -5
View File
@@ -11,9 +11,13 @@ module.exports = function (fromDir, moduleId) {
var fromFile = path.join(fromDir, 'noop.js');
return Module._resolveFilename(moduleId, {
id: fromFile,
filename: fromFile,
paths: Module._nodeModulePaths(fromDir)
});
try {
return Module._resolveFilename(moduleId, {
id: fromFile,
filename: fromFile,
paths: Module._nodeModulePaths(fromDir)
});
} catch (err) {
return null;
}
};
+12 -12
View File
@@ -1,27 +1,27 @@
{
"_from": "resolve-from@^1.0.0",
"_id": "resolve-from@1.0.1",
"_from": "resolve-from@^2.0.0",
"_id": "resolve-from@2.0.0",
"_inBundle": false,
"_integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=",
"_integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=",
"_location": "/resolve-from",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "resolve-from@^1.0.0",
"raw": "resolve-from@^2.0.0",
"name": "resolve-from",
"escapedName": "resolve-from",
"rawSpec": "^1.0.0",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/require-uncached"
"/require_optional"
],
"_resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz",
"_shasum": "26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226",
"_spec": "resolve-from@^1.0.0",
"_where": "/home/erik/Documents/workspace_brackets/BME_Project_Ohm/om/node_modules/require-uncached",
"_resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz",
"_shasum": "9480ab20e94ffa1d9e80a804c7ea147611966b57",
"_spec": "resolve-from@^2.0.0",
"_where": "/home/erik/Documents/workspace_brackets/a1_BME_Project_Ohm/om/node_modules/require_optional",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -62,5 +62,5 @@
"scripts": {
"test": "xo && ava"
},
"version": "1.0.1"
"version": "2.0.0"
}
+3 -1
View File
@@ -2,6 +2,8 @@
> Resolve the path of a module like [`require.resolve()`](http://nodejs.org/api/globals.html#globals_require_resolve) but from a given path
Unlike `require.resolve()` it returns `null` instead of throwing when the module can't be found.
## Install
@@ -30,7 +32,7 @@ resolveFrom('foo', './bar');
Type: `string`
The directory to resolve from.
Directory to resolve from.
#### moduleId