diff options
author | Gar <gar+gh@danger.computer> | 2021-07-13 20:29:14 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-07-13 22:12:57 +0300 |
commit | d8eb49b705acb50b6bed971bfcce4db6e18e73dd (patch) | |
tree | 7291a11cdf6b0d0b4be453bb27868144df93069d | |
parent | efc4313c2062ffad22aa24e5198d575a7eb5f20e (diff) |
fix(bundle-and-ignore): case sensitivity cleanup
Two files got into node_modules in a way that changes if you are on a
system that is case sensitive. One was a readme that is now properly
being ignored, the other is a typescript file that is upper case in some
instances
PR-URL: https://github.com/npm/cli/pull/3540
Credit: @wraithgar
Close: #3540
Reviewed-by: @ruyadorno
-rw-r--r-- | node_modules/.gitignore | 2 | ||||
-rw-r--r-- | node_modules/socks/typings/common/receivebuffer.d.ts | 12 | ||||
-rw-r--r-- | scripts/bundle-and-gitignore-deps.js | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/node_modules/.gitignore b/node_modules/.gitignore index 37432a3d7..15d898d07 100644 --- a/node_modules/.gitignore +++ b/node_modules/.gitignore @@ -2,7 +2,9 @@ /.package-lock.json package-lock.json CHANGELOG* +changelog* README* +readme* .editorconfig .idea/ .npmignore diff --git a/node_modules/socks/typings/common/receivebuffer.d.ts b/node_modules/socks/typings/common/receivebuffer.d.ts new file mode 100644 index 000000000..756e98b58 --- /dev/null +++ b/node_modules/socks/typings/common/receivebuffer.d.ts @@ -0,0 +1,12 @@ +/// <reference types="node" /> +declare class ReceiveBuffer { + private buffer; + private offset; + private originalSize; + constructor(size?: number); + get length(): number; + append(data: Buffer): number; + peek(length: number): Buffer; + get(length: number): Buffer; +} +export { ReceiveBuffer }; diff --git a/scripts/bundle-and-gitignore-deps.js b/scripts/bundle-and-gitignore-deps.js index 407b9e598..96c1419e2 100644 --- a/scripts/bundle-and-gitignore-deps.js +++ b/scripts/bundle-and-gitignore-deps.js @@ -30,7 +30,9 @@ arb.loadVirtual().then(tree => { /.package-lock.json package-lock.json CHANGELOG* +changelog* README* +readme* .editorconfig .idea/ .npmignore |