Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnsgn committed Apr 12, 2024
1 parent 579aedb commit 5e32dcd
Show file tree
Hide file tree
Showing 11 changed files with 1,995 additions and 1,542 deletions.
31 changes: 16 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,12 @@
"simplex-noise": "4.0.1"
},
"devDependencies": {
"es-module-shims": "^1.8.2",
"es-module-shims": "^1.9.0",
"pex-geom": "^3.0.1",
"pex-math": "^4.0.0"
"pex-math": "^4.1.0"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=9.6.4"
},
"snowdev": {
"dependencies": [
"es-module-shims",
"pex-geom",
"pex-math",
"seedrandom",
"simplex-noise"
]
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ function getAugmentedNamespace(n) {
return a;
}

var _polyfillNode_crypto = {};

var _polyfillNode_crypto$1 = /*#__PURE__*/Object.freeze({
__proto__: null,
default: _polyfillNode_crypto
});

var require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_crypto$1);

var global$1 = (typeof global !== "undefined" ? global :
typeof self !== "undefined" ? self :
typeof window !== "undefined" ? window : {});
Expand Down Expand Up @@ -2019,4 +2010,13 @@ function isSlowBuffer (obj) {
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isFastBuffer(obj.slice(0, 0))
}

var _polyfillNode_crypto = {};

var _polyfillNode_crypto$1 = /*#__PURE__*/Object.freeze({
__proto__: null,
default: _polyfillNode_crypto
});

var require$$0 = /*@__PURE__*/getAugmentedNamespace(_polyfillNode_crypto$1);

export { Buffer as B, commonjsGlobal as c, getDefaultExportFromCjs as g, require$$0 as r };
1,559 changes: 864 additions & 695 deletions web_modules/es-module-shims.js

Large diffs are not rendered by default.

1,563 changes: 866 additions & 697 deletions web_modules/es-module-shims/debug.js

Large diffs are not rendered by default.

323 changes: 218 additions & 105 deletions web_modules/es-module-shims/wasm.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions web_modules/import-map.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"imports": {
"seedrandom": "./seedrandom.js",
"simplex-noise": "./simplex-noise.js",
"es-module-shims": "./es-module-shims.js",
"es-module-shims/debug": "./es-module-shims/dist/es-module-shims.debug.js",
"es-module-shims/wasm": "./es-module-shims/dist/es-module-shims.wasm.js",
"es-module-shims/debug": "./es-module-shims/debug.js",
"es-module-shims/wasm": "./es-module-shims/wasm.js",
"pex-geom": "./pex-geom.js",
"pex-math": "./pex-math.js"
"pex-math": "./pex-math.js",
"seedrandom": "./seedrandom.js",
"simplex-noise": "./simplex-noise.js"
}
}
2 changes: 1 addition & 1 deletion web_modules/pex-geom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { s as set3, t as toString$4, a as set$2, b as sub, n as normalize, d as dot, c as create$4, e as add, f as scale$1, g as cross, l as length, h as toString$5 } from './_chunks/avec3-b94PahPx.js';
import { s as set3, t as toString$4, a as set$2, b as sub, n as normalize, d as dot, c as create$4, e as add, f as scale$1, g as cross, l as length, h as toString$5 } from './_chunks/avec3-DY1vEVDN.js';

/**
* Creates a new bounding box.
Expand Down
16 changes: 13 additions & 3 deletions web_modules/pex-math.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { i as create$6 } from './_chunks/avec3-b94PahPx.js';
export { k as avec3, v as vec2, j as vec3 } from './_chunks/avec3-b94PahPx.js';
import { i as create$6 } from './_chunks/avec3-DY1vEVDN.js';
export { k as avec3, v as vec2, j as vec3 } from './_chunks/avec3-DY1vEVDN.js';

/** @module mat2x3 */ /**
* Returns a 2x3 identity matrix, a short form for a 3x3 matrix with the last row ignored.
Expand Down Expand Up @@ -426,9 +426,18 @@ var mat3 = /*#__PURE__*/Object.freeze({
* @param {number} outStart
* @param {number} outEnd
* @returns {number}
*/ function map$2(n, inStart, inEnd, outStart, outEnd) {
*/ function remap(n, inStart, inEnd, outStart, outEnd) {
return outStart + (outEnd - outStart) * (n - inStart) / (inEnd - inStart);
}
/**
* @deprecated Use "remap()"
* @ignore
*/ function map$2() {
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
args[_key] = arguments[_key];
}
return remap(...args);
}
/**
* Transforms degrees into radians.
* @param {import("./types.js").Degrees} degrees
Expand Down Expand Up @@ -483,6 +492,7 @@ var utils = /*#__PURE__*/Object.freeze({
map: map$2,
nextPowerOfTwo: nextPowerOfTwo,
prevPowerOfTwo: prevPowerOfTwo,
remap: remap,
smoothstep: smoothstep,
toDegrees: toDegrees,
toRadians: toRadians
Expand Down
2 changes: 1 addition & 1 deletion web_modules/seedrandom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { c as commonjsGlobal, r as require$$0, g as getDefaultExportFromCjs } from './_chunks/polyfills-t0tmcZHa.js';
import { c as commonjsGlobal, r as require$$0, g as getDefaultExportFromCjs } from './_chunks/polyfills-BH44C1O_.js';

var alea$1 = {exports: {}};

Expand Down

0 comments on commit 5e32dcd

Please sign in to comment.