Skip to content

Commit 271fc8f

Browse files
committed
Using klona/full for cloning.
Fixes #312
1 parent ee6d361 commit 271fc8f

File tree

4 files changed

+13
-88
lines changed

4 files changed

+13
-88
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@
8888
"svelte": "3.x || 4.x",
8989
"zod": "3.x"
9090
},
91+
"dependencies": {
92+
"devalue": "^4.3.2",
93+
"klona": "^2.0.6"
94+
},
9195
"devDependencies": {
9296
"@sveltejs/adapter-auto": "^2.1.1",
9397
"@sveltejs/kit": "^1.30.3",
@@ -96,7 +100,6 @@
96100
"@types/uuid": "^9.0.7",
97101
"@typescript-eslint/eslint-plugin": "^5.62.0",
98102
"@typescript-eslint/parser": "^5.62.0",
99-
"devalue": "^4.3.2",
100103
"eslint": "^8.56.0",
101104
"eslint-config-prettier": "^8.10.0",
102105
"eslint-plugin-dci-lint": "^0.3.1",

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/klona.ts

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { klona } from './klona.js';
1+
import { klona } from 'klona/full';
22

33
// Thanks to: https://dev.to/tylim88/typescript-numeric-range-type-15a5#comment-22mld
44
export type NumericRange<

0 commit comments

Comments
 (0)