Skip to content

Commit

Permalink
deps: update deps, adapt to chai@5
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jan 10, 2024
1 parent e6ec5a8 commit 1468d91
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
"license": "Apache-2.0",
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^11.0.0",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.0.6",
"@semantic-release/npm": "^11.0.0",
"@semantic-release/release-notes-generator": "^12.0.0",
"@types/chai": "^4.3.6",
"@types/mocha": "^10.0.1",
"@types/node": "^20.6.2",
"@semantic-release/github": "^9.2.6",
"@semantic-release/npm": "^11.0.2",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.8",
"c8": "^9.0.0",
"chai": "^5.0.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"ipld-garbage": "^5.0.0",
"mocha": "^10.2.0",
"polendina": "^3.2.1",
"semantic-release": "^22.0.0",
"semantic-release": "^22.0.12",
"standard": "^17.1.0",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion test/node-test-bin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'
import { exec } from 'child_process'
import process from 'process'
import path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion test/test-0uint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-1negint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-2bytes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { useBuffer, fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-3string.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-4array.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-5map.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-6tag.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { Token, Type } from '../lib/token.js'
import { decode, encode } from '../cborg.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-7float.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import { fromHex, toHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-bl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'
import { Bl } from '../lib/bl.js'

const { assert } = chai
Expand Down
2 changes: 1 addition & 1 deletion test/test-cbor-vectors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha,es2020 */

import chai from 'chai'
import * as chai from 'chai'

import { decode, encode } from '../cborg.js'
import * as taglib from 'cborg/taglib'
Expand Down
2 changes: 1 addition & 1 deletion test/test-decode-errors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'

import { decode } from '../cborg.js'
import { fromHex } from '../lib/byte-utils.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-fuzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { garbage } from 'ipld-garbage'
import { decode, encode } from '../cborg.js'
import chai from 'chai'
import * as chai from 'chai'

const { assert } = chai

Expand Down
2 changes: 1 addition & 1 deletion test/test-length.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'
import { garbage } from 'ipld-garbage'
import { uintBoundaries } from '../lib/0uint.js'
import { encode } from '../cborg.js'
Expand Down
2 changes: 1 addition & 1 deletion test/test-partial.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import chai from 'chai'
import * as chai from 'chai'
import { garbage } from 'ipld-garbage'
import { uintBoundaries } from '../lib/0uint.js'
import { encode, decodeFirst } from '../cborg.js'
Expand Down
2 changes: 1 addition & 1 deletion types/lib/byte-utils.d.ts.map

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

0 comments on commit 1468d91

Please sign in to comment.