cborg 5.0.0 → 5.0.1
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.
- package/CHANGELOG.md +6 -0
- package/cborg.js +1 -0
- package/package.json +1 -1
- package/types/cborg.d.ts +4 -0
- package/types/cborg.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [5.0.1](https://github.com/rvagg/cborg/compare/v5.0.0...v5.0.1) (2026-04-02)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **types:** re-export TagDecodeControl off main export ([0d9f25a](https://github.com/rvagg/cborg/commit/0d9f25aadb1491e69f6c343d12537ac08ec1b41e))
|
|
6
|
+
|
|
1
7
|
## [5.0.0](https://github.com/rvagg/cborg/compare/v4.5.8...v5.0.0) (2026-03-31)
|
|
2
8
|
|
|
3
9
|
### ⚠ BREAKING CHANGES
|
package/cborg.js
CHANGED
|
@@ -4,6 +4,7 @@ import { Token, Type } from './lib/token.js'
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Export the types that were present in the original manual cborg.d.ts
|
|
7
|
+
* @typedef {import('./interface.js').TagDecodeControl} TagDecodeControl
|
|
7
8
|
* @typedef {import('./interface.js').TagDecoder} TagDecoder
|
|
8
9
|
* There was originally just `TypeEncoder` so don't break types by renaming or not exporting
|
|
9
10
|
* @typedef {import('./interface.js').OptionalTypeEncoder} TypeEncoder
|
package/package.json
CHANGED
package/types/cborg.d.ts
CHANGED
package/types/cborg.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cborg.d.ts","sourceRoot":"","sources":["../cborg.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cborg.d.ts","sourceRoot":"","sources":["../cborg.js"],"names":[],"mappings":";;;+BAMa,OAAO,gBAAgB,EAAE,gBAAgB;;;;yBACzC,OAAO,gBAAgB,EAAE,UAAU;;;;0BAEnC,OAAO,gBAAgB,EAAE,mBAAmB;;;;4BAC5C,OAAO,gBAAgB,EAAE,aAAa;;;;4BACtC,OAAO,gBAAgB,EAAE,aAAa;uBAVY,iBAAiB;4BAAjB,iBAAiB;0BAAjB,iBAAiB;+BAAjB,iBAAiB;uBADvB,iBAAiB;2BAAjB,iBAAiB;qCAAjB,iBAAiB;sBAE9C,gBAAgB;qBAAhB,gBAAgB"}
|