cborg 4.0.5 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ jobs:
12
12
  - name: Checkout Repository
13
13
  uses: actions/checkout@v4
14
14
  - name: Use Node.js ${{ matrix.node }}
15
- uses: actions/setup-node@v4.0.0
15
+ uses: actions/setup-node@v4.0.1
16
16
  with:
17
17
  node-version: ${{ matrix.node }}
18
18
  - name: Install Dependencies
@@ -35,7 +35,7 @@ jobs:
35
35
  with:
36
36
  fetch-depth: 0
37
37
  - name: Setup Node.js
38
- uses: actions/setup-node@v4.0.0
38
+ uses: actions/setup-node@v4.0.1
39
39
  with:
40
40
  node-version: lts/*
41
41
  - name: Install dependencies
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [4.0.7](https://github.com/rvagg/cborg/compare/v4.0.6...v4.0.7) (2024-01-10)
2
+
3
+
4
+ ### Trivial Changes
5
+
6
+ * **deps-dev:** bump chai from 4.3.10 to 5.0.0 ([e6ec5a8](https://github.com/rvagg/cborg/commit/e6ec5a87df8512b5902c9500841137b431d22c07))
7
+ * **deps:** bump actions/setup-node from 4.0.0 to 4.0.1 ([e61b03e](https://github.com/rvagg/cborg/commit/e61b03eb47d916c8da5f2bbeec3687d82880a0e8))
8
+
9
+ ## [4.0.6](https://github.com/rvagg/cborg/compare/v4.0.5...v4.0.6) (2024-01-04)
10
+
11
+
12
+ ### Trivial Changes
13
+
14
+ * **deps-dev:** bump c8 from 8.0.1 to 9.0.0 ([fa88236](https://github.com/rvagg/cborg/commit/fa882360d6e895d9bcf9485ef66aad05505bb460))
15
+
1
16
  ## [4.0.5](https://github.com/rvagg/cborg/compare/v4.0.4...v4.0.5) (2023-10-25)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cborg",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "description": "Fast CBOR with a focus on strictness",
5
5
  "main": "cborg.js",
6
6
  "type": "module",
@@ -29,23 +29,23 @@
29
29
  "license": "Apache-2.0",
30
30
  "devDependencies": {
31
31
  "@semantic-release/changelog": "^6.0.3",
32
- "@semantic-release/commit-analyzer": "^11.0.0",
32
+ "@semantic-release/commit-analyzer": "^11.1.0",
33
33
  "@semantic-release/git": "^10.0.1",
34
- "@semantic-release/github": "^9.0.6",
35
- "@semantic-release/npm": "^11.0.0",
36
- "@semantic-release/release-notes-generator": "^12.0.0",
37
- "@types/chai": "^4.3.6",
38
- "@types/mocha": "^10.0.1",
39
- "@types/node": "^20.6.2",
40
- "c8": "^8.0.1",
41
- "chai": "^4.3.8",
34
+ "@semantic-release/github": "^9.2.6",
35
+ "@semantic-release/npm": "^11.0.2",
36
+ "@semantic-release/release-notes-generator": "^12.1.0",
37
+ "@types/chai": "^4.3.11",
38
+ "@types/mocha": "^10.0.6",
39
+ "@types/node": "^20.10.8",
40
+ "c8": "^9.0.0",
41
+ "chai": "^5.0.0",
42
42
  "conventional-changelog-conventionalcommits": "^7.0.2",
43
43
  "ipld-garbage": "^5.0.0",
44
44
  "mocha": "^10.2.0",
45
45
  "polendina": "^3.2.1",
46
- "semantic-release": "^22.0.0",
46
+ "semantic-release": "^22.0.12",
47
47
  "standard": "^17.1.0",
48
- "typescript": "^5.2.2"
48
+ "typescript": "^5.3.3"
49
49
  },
50
50
  "exports": {
51
51
  ".": {
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
  import { exec } from 'child_process'
5
5
  import process from 'process'
6
6
  import path from 'path'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { useBuffer, fromHex, toHex } from '../lib/byte-utils.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
package/test/test-5map.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
package/test/test-6tag.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { Token, Type } from '../lib/token.js'
6
6
  import { decode, encode } from '../cborg.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import { fromHex, toHex } from '../lib/byte-utils.js'
package/test/test-bl.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
  import { Bl } from '../lib/bl.js'
5
5
 
6
6
  const { assert } = chai
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha,es2020 */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode, encode } from '../cborg.js'
6
6
  import * as taglib from 'cborg/taglib'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
 
5
5
  import { decode } from '../cborg.js'
6
6
  import { fromHex } from '../lib/byte-utils.js'
package/test/test-fuzz.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { garbage } from 'ipld-garbage'
4
4
  import { decode, encode } from '../cborg.js'
5
- import chai from 'chai'
5
+ import * as chai from 'chai'
6
6
 
7
7
  const { assert } = chai
8
8
 
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
  import { garbage } from 'ipld-garbage'
5
5
  import { uintBoundaries } from '../lib/0uint.js'
6
6
  import { encode } from '../cborg.js'
@@ -1,6 +1,6 @@
1
1
  /* eslint-env mocha */
2
2
 
3
- import chai from 'chai'
3
+ import * as chai from 'chai'
4
4
  import { garbage } from 'ipld-garbage'
5
5
  import { uintBoundaries } from '../lib/0uint.js'
6
6
  import { encode, decodeFirst } from '../cborg.js'
@@ -1 +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;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