Remove absolute paths

This commit is contained in:
CrazyMax 2020-04-08 00:33:20 +02:00
parent ff47e64685
commit fce5f2e313
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
342 changed files with 6646 additions and 7223 deletions

6
node_modules/buffer/index.js generated vendored
View file

@ -142,6 +142,12 @@ function from (value, encodingOrOffset, length) {
return fromArrayBuffer(value, encodingOrOffset, length)
}
if (typeof SharedArrayBuffer !== 'undefined' &&
(isInstance(value, SharedArrayBuffer) ||
(value && isInstance(value.buffer, SharedArrayBuffer)))) {
return fromArrayBuffer(value, encodingOrOffset, length)
}
if (typeof value === 'number') {
throw new TypeError(
'The "value" argument must not be of type number. Received type number'