diff --git a/package.json b/package.json index 339653e..05b6888 100644 --- a/package.json +++ b/package.json @@ -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": { ".": { diff --git a/test/node-test-bin.js b/test/node-test-bin.js index 879f7e9..fa558a3 100644 --- a/test/node-test-bin.js +++ b/test/node-test-bin.js @@ -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' diff --git a/test/test-0uint.js b/test/test-0uint.js index da3b04b..9116df5 100644 --- a/test/test-0uint.js +++ b/test/test-0uint.js @@ -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' diff --git a/test/test-1negint.js b/test/test-1negint.js index 13b8819..45969fa 100644 --- a/test/test-1negint.js +++ b/test/test-1negint.js @@ -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' diff --git a/test/test-2bytes.js b/test/test-2bytes.js index a075999..521fd78 100644 --- a/test/test-2bytes.js +++ b/test/test-2bytes.js @@ -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' diff --git a/test/test-3string.js b/test/test-3string.js index e906e67..8d347b2 100644 --- a/test/test-3string.js +++ b/test/test-3string.js @@ -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' diff --git a/test/test-4array.js b/test/test-4array.js index 2cc823a..8888a1e 100644 --- a/test/test-4array.js +++ b/test/test-4array.js @@ -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' diff --git a/test/test-5map.js b/test/test-5map.js index 95e2278..147f028 100644 --- a/test/test-5map.js +++ b/test/test-5map.js @@ -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' diff --git a/test/test-6tag.js b/test/test-6tag.js index 0a3b105..3905ec8 100644 --- a/test/test-6tag.js +++ b/test/test-6tag.js @@ -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' diff --git a/test/test-7float.js b/test/test-7float.js index f4d0079..070837e 100644 --- a/test/test-7float.js +++ b/test/test-7float.js @@ -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' diff --git a/test/test-bl.js b/test/test-bl.js index ac28b06..27584ca 100644 --- a/test/test-bl.js +++ b/test/test-bl.js @@ -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 diff --git a/test/test-cbor-vectors.js b/test/test-cbor-vectors.js index 8fc2d96..0459d02 100644 --- a/test/test-cbor-vectors.js +++ b/test/test-cbor-vectors.js @@ -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' diff --git a/test/test-decode-errors.js b/test/test-decode-errors.js index 675ec95..4d38d9e 100644 --- a/test/test-decode-errors.js +++ b/test/test-decode-errors.js @@ -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' diff --git a/test/test-fuzz.js b/test/test-fuzz.js index 590d24b..8a51181 100644 --- a/test/test-fuzz.js +++ b/test/test-fuzz.js @@ -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 diff --git a/test/test-length.js b/test/test-length.js index d5a242a..713883b 100644 --- a/test/test-length.js +++ b/test/test-length.js @@ -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' diff --git a/test/test-partial.js b/test/test-partial.js index 5378588..a59344e 100644 --- a/test/test-partial.js +++ b/test/test-partial.js @@ -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' diff --git a/types/lib/byte-utils.d.ts.map b/types/lib/byte-utils.d.ts.map index f025422..9b4756f 100644 --- a/types/lib/byte-utils.d.ts.map +++ b/types/lib/byte-utils.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"byte-utils.d.ts","sourceRoot":"","sources":["../../lib/byte-utils.js"],"names":[],"mappings":"AAwBA;;;GAGG;AACH,2BAHW,UAAU,GAAC,MAAM,EAAE,GACjB,UAAU,CAQtB;AA8ND;;;;GAIG;AACH,4BAJW,UAAU,MACV,UAAU,GACR,MAAM,CAgBlB;AAkLD;;;GAGG;AACH,kDAHW,MAAM,EAAE,GACN,MAAM,CAkBlB;AArdD,gCAMkD;AA4B9C;;;;GAIG;AACH,gCAJW,UAAU,SACV,MAAM,OACN,MAAM,UAQhB;AAcL,mCAGe,MAAM,oCAYN,MAAM,4BAIhB;AAOE,+BAHI,MAAM,EAAE,GACN,UAAU,CAItB;AAIG;;;;GAIG;AACH,6BAJW,UAAU,SACV,MAAM,OACN,MAAM,cAOhB;AAcD;;;;GAIG;AACH,+BAJW,UAAU,EAAE,UACZ,MAAM,GACJ,UAAU,CActB;AAwBD;;;GAGG;AACH,4BAHW,MAAM,GACJ,UAAU,CAMtB;AAaD;;;GAGG;AACH,yBAHW,UAAU,GACR,MAAM,CAQlB;AAiBH;;;GAGG;AACD,6BAHS,MAAM,GAAC,UAAU,GACf,UAAU,CAQpB"} \ No newline at end of file +{"version":3,"file":"byte-utils.d.ts","sourceRoot":"","sources":["../../lib/byte-utils.js"],"names":[],"mappings":"AAwBA;;;GAGG;AACH,2BAHW,UAAU,GAAC,MAAM,EAAE,GACjB,UAAU,CAQtB;AA8ND;;;;GAIG;AACH,4BAJW,UAAU,MACV,UAAU,GACR,MAAM,CAgBlB;AAyHD;;;GAGG;AACH,kDAHW,MAAM,EAAE,GACN,MAAM,CAkBlB;AA5ZD,gCAMkD;AA4B9C;;;;GAIG;AACH,gCAJW,UAAU,SACV,MAAM,OACN,MAAM,UAQhB;AAcL,mCAGe,MAAM,oCAYN,MAAM,4BAIhB;AAOE,+BAHI,MAAM,EAAE,GACN,UAAU,CAItB;AAIG;;;;GAIG;AACH,6BAJW,UAAU,SACV,MAAM,OACN,MAAM,cAOhB;AAcD;;;;GAIG;AACH,+BAJW,UAAU,EAAE,UACZ,MAAM,GACJ,UAAU,CActB;AAwBD;;;GAGG;AACH,4BAHW,MAAM,GACJ,UAAU,CAMtB;AAaD;;;GAGG;AACH,yBAHW,UAAU,GACR,MAAM,CAQlB;AAiBH;;;GAGG;AACD,6BAHS,MAAM,GAAC,UAAU,GACf,UAAU,CAQpB"} \ No newline at end of file