Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update browserify dependencies to latest #100

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions nodelibs/browser/_stream_duplex.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { e as exports } from './chunk-6c718bbe.js';
import { e as exports } from './chunk-gkrMq4sQ.js';
import './events.js';
import './chunk-4bd36a8f.js';
import './chunk-44e51b61.js';
import './chunk-ce0fbc82.js';
import './chunk-b4205b57.js';
import './chunk-5decc758.js';
import './chunk-2eac56ff.js';
import './chunk-4ccc3a29.js';
import './chunk-tHuMsdT0.js';
import './chunk-CU2hd6BF.js';
import './chunk-BZgdGiNw.js';
import './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';
import './chunk-b0rmRow7.js';
import './chunk-C9hMJ5VR.js';

var _stream_duplex = exports.Duplex;
var from = exports.Duplex.from;
Expand Down
16 changes: 8 additions & 8 deletions nodelibs/browser/_stream_passthrough.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { e as exports } from './chunk-6c718bbe.js';
import { e as exports } from './chunk-gkrMq4sQ.js';
import './events.js';
import './chunk-4bd36a8f.js';
import './chunk-44e51b61.js';
import './chunk-ce0fbc82.js';
import './chunk-b4205b57.js';
import './chunk-5decc758.js';
import './chunk-2eac56ff.js';
import './chunk-4ccc3a29.js';
import './chunk-tHuMsdT0.js';
import './chunk-CU2hd6BF.js';
import './chunk-BZgdGiNw.js';
import './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';
import './chunk-b0rmRow7.js';
import './chunk-C9hMJ5VR.js';

var _stream_passthrough = exports.PassThrough;

Expand Down
19 changes: 9 additions & 10 deletions nodelibs/browser/_stream_readable.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { Readable } from './stream.js';
export { Readable as default } from './stream.js';
import './chunk-6c718bbe.js';
import './chunk-gkrMq4sQ.js';
import './events.js';
import './chunk-4bd36a8f.js';
import './chunk-44e51b61.js';
import './chunk-ce0fbc82.js';
import './chunk-b4205b57.js';
import './chunk-5decc758.js';
import './chunk-2eac56ff.js';
import './chunk-4ccc3a29.js';
import './chunk-tHuMsdT0.js';
import './chunk-CU2hd6BF.js';
import './chunk-BZgdGiNw.js';
import './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';
import './chunk-b0rmRow7.js';
import './chunk-C9hMJ5VR.js';
import './util.js';

var ReadableState = Readable.ReadableState;
var _fromList = Readable._fromList;
var from = Readable.from;

export { ReadableState, _fromList, from };
export { ReadableState, _fromList, Readable as default, from };
16 changes: 8 additions & 8 deletions nodelibs/browser/_stream_transform.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { e as exports } from './chunk-6c718bbe.js';
import { e as exports } from './chunk-gkrMq4sQ.js';
import './events.js';
import './chunk-4bd36a8f.js';
import './chunk-44e51b61.js';
import './chunk-ce0fbc82.js';
import './chunk-b4205b57.js';
import './chunk-5decc758.js';
import './chunk-2eac56ff.js';
import './chunk-4ccc3a29.js';
import './chunk-tHuMsdT0.js';
import './chunk-CU2hd6BF.js';
import './chunk-BZgdGiNw.js';
import './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';
import './chunk-b0rmRow7.js';
import './chunk-C9hMJ5VR.js';

var _stream_transform = exports.Transform;

Expand Down
16 changes: 8 additions & 8 deletions nodelibs/browser/_stream_writable.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { e as exports } from './chunk-6c718bbe.js';
import { e as exports } from './chunk-gkrMq4sQ.js';
import './events.js';
import './chunk-4bd36a8f.js';
import './chunk-44e51b61.js';
import './chunk-ce0fbc82.js';
import './chunk-b4205b57.js';
import './chunk-5decc758.js';
import './chunk-2eac56ff.js';
import './chunk-4ccc3a29.js';
import './chunk-tHuMsdT0.js';
import './chunk-CU2hd6BF.js';
import './chunk-BZgdGiNw.js';
import './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';
import './chunk-b0rmRow7.js';
import './chunk-C9hMJ5VR.js';

var _stream_writable = exports.Writable;
var WritableState = exports.Writable.WritableState;
Expand Down
6 changes: 3 additions & 3 deletions nodelibs/browser/assert.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions nodelibs/browser/assert/strict.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { strict } from '../assert.js';
export { strict as default, strict } from '../assert.js';
import '../chunk-b4205b57.js';
import '../chunk-5decc758.js';
import '../chunk-D04hy_Cu.js';
import '../chunk-DEckhzyo.js';

const {
fail,
Expand All @@ -25,4 +24,4 @@ const {
CallTracker
} = strict;

export { AssertionError, CallTracker, deepEqual, deepStrictEqual, doesNotMatch, doesNotReject, doesNotThrow, equal, fail, ifError, match, notDeepEqual, notDeepStrictEqual, notEqual, notStrictEqual, ok, rejects, strictEqual, throws };
export { AssertionError, CallTracker, deepEqual, deepStrictEqual, strict as default, doesNotMatch, doesNotReject, doesNotThrow, equal, fail, ifError, match, notDeepEqual, notDeepStrictEqual, notEqual, notStrictEqual, ok, rejects, strict, strictEqual, throws };
8 changes: 3 additions & 5 deletions nodelibs/browser/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2100,14 +2100,12 @@ function dew() {
const n = typeof min === "bigint" ? "n" : "";
let range;

if (byteLength > 3) {
{
if (min === 0 || min === BigInt(0)) {
range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`;
} else {
range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` + `${(byteLength + 1) * 8 - 1}${n}`;
}
} else {
range = `>= ${min}${n} and <= ${max}${n}`;
}

throw new errors.ERR_OUT_OF_RANGE("value", range, value);
Expand All @@ -2125,14 +2123,14 @@ function dew() {
function boundsError(value, length, type) {
if (Math.floor(value) !== value) {
validateNumber(value, type);
throw new errors.ERR_OUT_OF_RANGE(type || "offset", "an integer", value);
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
}

if (length < 0) {
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
}

throw new errors.ERR_OUT_OF_RANGE(type || "offset", `>= ${type ? 1 : 0} and <= ${length}`, value);
throw new errors.ERR_OUT_OF_RANGE("offset", `>= ${0} and <= ${length}`, value);
} // HELPER FUNCTIONS
// ================

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { X } from './chunk-b4205b57.js';
import './chunk-5decc758.js';
import { X } from './chunk-D04hy_Cu.js';
import './chunk-DEckhzyo.js';

X._extend;X.callbackify;X.debuglog;X.deprecate;X.format;X.inherits;X.inspect;X.isArray;X.isBoolean;X.isBuffer;X.isDate;X.isError;X.isFunction;X.isNull;X.isNullOrUndefined;X.isNumber;X.isObject;X.isPrimitive;X.isRegExp;X.isString;X.isSymbol;X.isUndefined;X.log;X.promisify;

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { y } from './chunk-4bd36a8f.js';
import './chunk-ce0fbc82.js';
import { X } from './chunk-b4205b57.js';
import { p as process } from './chunk-2eac56ff.js';
import { a as e$1 } from './chunk-4ccc3a29.js';
import { y } from './chunk-tHuMsdT0.js';
import './chunk-BZgdGiNw.js';
import { X } from './chunk-D04hy_Cu.js';
import { p as process } from './chunk-b0rmRow7.js';
import { a as e$1 } from './chunk-C9hMJ5VR.js';

var exports$2$1 = {},
_dewExec$2$1 = false;
Expand Down Expand Up @@ -2106,14 +2106,12 @@ function dew$g() {
const n = typeof min === "bigint" ? "n" : "";
let range;

if (byteLength > 3) {
{
if (min === 0 || min === BigInt(0)) {
range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`;
} else {
range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` + `${(byteLength + 1) * 8 - 1}${n}`;
}
} else {
range = `>= ${min}${n} and <= ${max}${n}`;
}

throw new errors.ERR_OUT_OF_RANGE("value", range, value);
Expand All @@ -2131,14 +2129,14 @@ function dew$g() {
function boundsError(value, length, type) {
if (Math.floor(value) !== value) {
validateNumber(value, type);
throw new errors.ERR_OUT_OF_RANGE(type || "offset", "an integer", value);
throw new errors.ERR_OUT_OF_RANGE("offset", "an integer", value);
}

if (length < 0) {
throw new errors.ERR_BUFFER_OUT_OF_BOUNDS();
}

throw new errors.ERR_OUT_OF_RANGE(type || "offset", `>= ${type ? 1 : 0} and <= ${length}`, value);
throw new errors.ERR_OUT_OF_RANGE("offset", `>= ${0} and <= ${length}`, value);
} // HELPER FUNCTIONS
// ================

Expand Down Expand Up @@ -2435,7 +2433,6 @@ function dew$d() {

function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}

Expand Down Expand Up @@ -2801,7 +2798,7 @@ function dew$b() {


function startsWith(str, search, pos) {
return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search;
return str.substr(0 , search.length) === search;
} // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith


Expand Down
Loading
Loading