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

25
node_modules/slash/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
/**
Convert Windows backslash paths to slash paths: `foo\\bar` ➔ `foo/bar`.
[Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths and don't contain any non-ascii characters.
@param path - A Windows backslash path.
@returns A path with forward slashes.
@example
```
import * as path from 'path';
import slash = require('slash');
const string = path.join('foo', 'bar');
// Unix => foo/bar
// Windows => foo\\bar
slash(string);
// Unix => foo/bar
// Windows => foo/bar
```
*/
declare function slash(path: string): string;
export = slash;

10
node_modules/slash/index.js generated vendored
View File

@@ -1,11 +1,11 @@
'use strict';
module.exports = input => {
const isExtendedLengthPath = /^\\\\\?\\/.test(input);
const hasNonAscii = /[^\u0000-\u0080]+/.test(input); // eslint-disable-line no-control-regex
module.exports = path => {
const isExtendedLengthPath = /^\\\\\?\\/.test(path);
const hasNonAscii = /[^\u0000-\u0080]+/.test(path); // eslint-disable-line no-control-regex
if (isExtendedLengthPath || hasNonAscii) {
return input;
return path;
}
return input.replace(/\\/g, '/');
return path.replace(/\\/g, '/');
};

48
node_modules/slash/package.json generated vendored
View File

@@ -1,26 +1,19 @@
{
"_args": [
[
"slash@2.0.0",
"/Users/drew.heavner/Documents/Github/upload-google-play"
]
],
"_development": true,
"_from": "slash@^2.0.0",
"_id": "slash@2.0.0",
"_from": "slash@^3.0.0",
"_id": "slash@3.0.0",
"_inBundle": false,
"_integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",
"_integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
"_location": "/slash",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "slash@^2.0.0",
"raw": "slash@^3.0.0",
"name": "slash",
"escapedName": "slash",
"rawSpec": "^2.0.0",
"rawSpec": "^3.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
"fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/@jest/console",
@@ -29,13 +22,13 @@
"/@jest/transform",
"/babel-jest",
"/jest-message-util",
"/jest-runtime",
"/jest-util"
"/jest-resolve",
"/jest-runtime"
],
"_resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
"_shasum": "de552851a1759df3a8f206535442f5ec4ddeab44",
"_spec": "slash@^2.0.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play/node_modules/@jest/core",
"_resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"_shasum": "6539be870c165adbd5240220dbe361f1bc4d4634",
"_spec": "slash@^3.0.0",
"_where": "/home/codespace/workspace/upload-google-play/node_modules/@jest/core",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -48,24 +41,25 @@
"deprecated": false,
"description": "Convert Windows backslash paths to slash paths",
"devDependencies": {
"ava": "*",
"xo": "*"
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
},
"engines": {
"node": ">=6"
"node": ">=8"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/sindresorhus/slash#readme",
"keywords": [
"path",
"seperator",
"sep",
"slash",
"backslash",
"windows",
"win"
"convert"
],
"license": "MIT",
"name": "slash",
@@ -74,7 +68,7 @@
"url": "git+https://github.com/sindresorhus/slash.git"
},
"scripts": {
"test": "xo && ava"
"test": "xo && ava && tsd"
},
"version": "2.0.0"
"version": "3.0.0"
}

8
node_modules/slash/readme.md generated vendored
View File

@@ -4,7 +4,7 @@
[Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths and don't contain any non-ascii characters.
This was created since the `path` methods in Node outputs `\\` paths on Windows.
This was created since the `path` methods in Node.js outputs `\\` paths on Windows.
## Install
@@ -20,11 +20,11 @@ $ npm install slash
const path = require('path');
const slash = require('slash');
const str = path.join('foo', 'bar');
const string = path.join('foo', 'bar');
// Unix => foo/bar
// Windows => foo\\bar
slash(str);
slash(string);
// Unix => foo/bar
// Windows => foo/bar
```
@@ -36,7 +36,7 @@ slash(str);
Type: `string`
Accepts a Windows backslash path and returns a slash path.
Accepts a Windows backslash path and returns a path with forward slashes.
## License