Skip to content

Commit

Permalink
swap flatted for @ungap/structured-clone
Browse files Browse the repository at this point in the history
  • Loading branch information
dhowe committed Nov 16, 2023
1 parent 204653b commit 1f271c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"license": "GPL-3.0",
"type": "module",
"scripts": {
"test": "NODE_ENV=dev mocha",
"test:dist": "NODE_ENV=dev mocha test/dist",
"test": "NODE_ENV=dev npx mocha",
"test:dist": "NODE_ENV=dev npx mocha test/dist",
"build": "rm -rf dist/ && npx tsup",
"types": "npx tsc",
"pub": "./npnb/source/cli.js --no-release-draft patch",
Expand Down Expand Up @@ -52,7 +52,7 @@
"typescript": "^5.2.2"
},
"dependencies": {
"flatted": "^3.2.9",
"@ungap/structured-clone": "^1.2.0",
"riscript": "^1.0.32"
}
}
2 changes: 1 addition & 1 deletion src/markov.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parse, stringify } from 'flatted';
import { parse, stringify } from '@ungap/structured-clone/json';

/*
* See full set of options for RiMarkov (https://rednoise.org/rita/reference/RiTa/markov/index.html)
Expand Down

0 comments on commit 1f271c3

Please sign in to comment.