Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

4
node_modules/import-local/index.js generated vendored
View File

@@ -8,10 +8,12 @@ module.exports = filename => {
const relativePath = path.relative(globalDir, filename);
const pkg = require(path.join(globalDir, 'package.json'));
const localFile = resolveCwd.silent(path.join(pkg.name, relativePath));
const localNodeModules = path.join(process.cwd(), 'node_modules');
const filenameInLocalNodeModules = !path.relative(localNodeModules, filename).startsWith('..');
// Use `path.relative()` to detect local package installation,
// because __filename's case is inconsistent on Windows
// Can use `===` when targeting Node.js 8
// See https://github.com/nodejs/node/issues/6624
return localFile && path.relative(localFile, filename) !== '' ? require(localFile) : null;
return !filenameInLocalNodeModules && localFile && path.relative(localFile, filename) !== '' && require(localFile);
};

View File

@@ -1,36 +1,28 @@
{
"_args": [
[
"import-local@2.0.0",
"/Users/drew.heavner/Documents/Github/upload-google-play"
]
],
"_development": true,
"_from": "import-local@2.0.0",
"_id": "import-local@2.0.0",
"_from": "import-local@^3.0.2",
"_id": "import-local@3.0.2",
"_inBundle": false,
"_integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==",
"_integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==",
"_location": "/import-local",
"_phantomChildren": {
"find-up": "3.0.0"
},
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "import-local@2.0.0",
"raw": "import-local@^3.0.2",
"name": "import-local",
"escapedName": "import-local",
"rawSpec": "2.0.0",
"rawSpec": "^3.0.2",
"saveSpec": null,
"fetchSpec": "2.0.0"
"fetchSpec": "^3.0.2"
},
"_requiredBy": [
"/jest",
"/jest/jest-cli"
],
"_resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",
"_spec": "2.0.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play",
"_resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz",
"_shasum": "a8cfd0431d1de4a2199703d003e3e62364fa6db6",
"_spec": "import-local@^3.0.2",
"_where": "/home/codespace/workspace/upload-google-play/node_modules/jest",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -42,20 +34,22 @@
"bugs": {
"url": "https://github.com/sindresorhus/import-local/issues"
},
"bundleDependencies": false,
"dependencies": {
"pkg-dir": "^3.0.0",
"resolve-cwd": "^2.0.0"
"pkg-dir": "^4.2.0",
"resolve-cwd": "^3.0.0"
},
"deprecated": false,
"description": "Let a globally installed package use a locally installed version of itself if available",
"devDependencies": {
"ava": "*",
"ava": "2.1.0",
"cpy": "^7.0.1",
"del": "^3.0.0",
"execa": "^0.11.0",
"xo": "*"
"del": "^4.1.1",
"execa": "^2.0.1",
"xo": "^0.24.0"
},
"engines": {
"node": ">=6"
"node": ">=8"
},
"files": [
"index.js",
@@ -81,7 +75,7 @@
"scripts": {
"test": "xo && ava"
},
"version": "2.0.0",
"version": "3.0.2",
"xo": {
"ignores": [
"fixtures"

12
node_modules/import-local/readme.md generated vendored
View File

@@ -25,6 +25,14 @@ if (importLocal(__filename)) {
```
## License
---
MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-import-local?utm_source=npm-import-local&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>