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

Update dependencies #48

Merged
merged 12 commits into from
Sep 5, 2023
1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
55 changes: 26 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@
"tera:clean": "cli-confirm \"Are you sure? (y/N):\" && rimraf public/tera backend/atomic backend/cache backend/state"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "0.4.0",
"@sveltejs/vite-plugin-svelte": "^2.0.3",
"@rollup/plugin-terser": "0.4.3",
"@sveltejs/vite-plugin-svelte": "^2.4.5",
"chokidar": "^3.5.3",
"cli-confirm": "^1.0.1",
"csv-parse": "^5.3.6",
"dedent": "^0.7.0",
"mapshaper": "0.6.25",
"csv-parse": "^5.5.0",
"dedent": "^1.5.1",
"mapshaper": "0.6.42",
"node-stream-zip": "^1.15.0",
"rimraf": "^5.0.1",
"rollup": "^3.20.2",
"rollup": "^3.28.1",
"rollup-plugin-glslify": "^1.3.1",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-svelte": "^7.1.4",
"svelte": "^3.57.0",
"rollup-plugin-license": "^3.1.0",
"rollup-plugin-svelte": "^7.1.6",
"svelte": "^4.2.0",
"uuid": "^9.0.0",
"vite": "^4.2.1"
"vite": "^4.4.9"
},
"dependencies": {
"@petamoriken/float16": "^3.7.1",
"@petamoriken/float16": "^3.8.3",
"@slightlyoff/lite-vimeo": "^0.1.2",
"carbon-icons-svelte": "^11.4.0",
"carbon-icons-svelte": "^12.3.0",
"d3-axis": "^3.0.0",
"d3-color": "^3.1.0",
"d3-geo": "^3.1.0",
Expand All @@ -51,37 +51,34 @@
"d3-scale-chromatic": "^3.0.0",
"d3-selection": "^3.0.0",
"debounce": "^1.2.1",
"dotenv": "^16.0.3",
"dotenv": "^16.3.1",
"esm-seedrandom": "github:shanewholloway/js-esm-seedrandom",
"focus-trap": "^7.4.0",
"interactjs": "^1.10.17",
"js-quantities": "^1.7.6",
"pretty-bytes": "^6.1.0",
"focus-trap": "^7.5.2",
"interactjs": "^1.10.18",
"js-quantities": "^1.8.0",
"pretty-bytes": "^6.1.1",
"pretty-ms": "^8.0.0",
"svelte-range-slider-pips": "2.1.1",
"svelte-toggle": "^3.1.0",
"svelte-range-slider-pips": "2.2.2",
"svelte-toggle": "^4.0.0",
"tippy.js": "^6.3.7",
"topojson-client": "^3.1.0",
"twgl.js": "^5.3.1",
"twgl.js": "^5.5.3",
"wcag-contrast": "^3.0.0"
},
"engines": {
"node": ">=16"
},
"packageManager": "pnpm@7.30.3",
"packageManager": "pnpm@8.7.1",
"pnpm": {
"patchedDependencies": {
"@slightlyoff/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"js-quantities@1.7.6": "patches/js-quantities@1.7.6.patch",
"js-quantities@1.8.0": "patches/js-quantities@1.8.0.patch",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
},
"peerDependencyRules": {
"ignoreMissing": [
Expand Down
19 changes: 0 additions & 19 deletions patches/[email protected]

This file was deleted.

12 changes: 0 additions & 12 deletions patches/[email protected]

This file was deleted.

12 changes: 12 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/build/quantities.mjs b/build/quantities.mjs
index 958840ff536508004faa20ddae17e75884b39632..ac24d533965cc38fb2065835340ecb9cefb12c38 100644
--- a/build/quantities.mjs
+++ b/build/quantities.mjs
@@ -338,6 +338,7 @@ var UNITS = {
/* molar_concentration */
"<molar>" : [["M","molar"], 1000, "molar_concentration", ["<mole>"], ["<meter>","<meter>","<meter>"]],
"<wtpercent>" : [["wt%","wtpercent"], 10, "molar_concentration", ["<kilogram>"], ["<meter>","<meter>","<meter>"]],
+ "<dobson>" : [["DU","Dobson unit"], 4.4615e-4, "concentration", ["<mole>"], ["<meter>","<meter>"]],

/* activity */
"<katal>" : [["kat","katal","Katal"], 1.0, "activity", ["<mole>"], ["<second>"]],
153 changes: 0 additions & 153 deletions patches/[email protected]

This file was deleted.

31 changes: 31 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
diff --git a/LICENSE-MPL-2.0 b/LICENSE-MPL-2.0
deleted file mode 100755
index 14e2f777f6c395e7e04ab4aa306bbcc4b0c1120e..0000000000000000000000000000000000000000
diff --git a/src/RangeSlider.svelte b/src/RangeSlider.svelte
index 60886c96b312e5e2ee83d7ac624a46ac4512f5c5..16cf2bacedd7baeef62fa1044226f2a2bf7d3e50 100755
--- a/src/RangeSlider.svelte
+++ b/src/RangeSlider.svelte
@@ -20,6 +20,15 @@
export let reversed = false;
export let hoverable = true;
export let disabled = false;
+ export let value = values[0];
+
+ // keep value and values in sync with each other
+ const updateValues = () => { if (value !== values[0]) values = [value] };
+ const updateValue = () => {
+ if (alignValueToStep(value) !== values[0]) value = values[0];
+ };
+ $: value, updateValues();
+ $: values, updateValue();

// range pips / values props
export let pips = false;
@@ -787,6 +796,7 @@
</style>

<div
+ role="presentation"
{id}
bind:this={slider}
class="rangeSlider"
62 changes: 0 additions & 62 deletions patches/[email protected]

This file was deleted.

Loading