Skip to content

Commit

Permalink
chore: upgrade json-difference (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukascivil authored Jan 22, 2023
1 parent 9dc182c commit 03a8caa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "lukascivil",
"license": "MIT",
"dependencies": {
"json-difference": "^1.9.0"
"json-difference": "^1.9.1"
},
"devDependencies": {
"@types/node": "^12.12.12",
Expand Down
3 changes: 1 addition & 2 deletions examples/src/stress.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Packages
import { getDiff } from 'json-difference'
import { getDiff, Delta } from 'json-difference'
import * as fs from 'fs'
import * as path from 'path'
import { Delta } from 'json-difference/dist/models/jsondiffer.model'

const oldJson = JSON.parse(fs.readFileSync(path.join(__dirname, './assets/oldJson.json'), 'utf8'))
const newJson = JSON.parse(fs.readFileSync(path.join(__dirname, './assets/newJson.json'), 'utf8'))
Expand Down
8 changes: 4 additions & 4 deletions examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==

json-difference@^1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/json-difference/-/json-difference-1.9.0.tgz#735d510e8bfcf6654fc74d3c7f84d14792cac5e9"
integrity sha512-HSo5RX/b+dfMWNbUzSnZ8a71tN9So4TinbDOOr6qAK9iCn6NstLhbMrorhMpmYBw7jrGJqrQI94m8LNqvkmO4Q==
json-difference@^1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/json-difference/-/json-difference-1.9.1.tgz#648aa806da2e3c4b7db24c34f6b04963b542fec2"
integrity sha512-5c2xaHKMkTq6T9KfCh4r3PVHQObpOyKMZzrySCAoYPBYJ0VqKDUW7dioddKLNS9z4Jey7yyMNSTH3bNF95Z1Nw==

minimatch@^3.0.3, minimatch@^3.1.1:
version "3.1.2"
Expand Down

0 comments on commit 03a8caa

Please sign in to comment.