ipld-schema-describer 3.0.20 → 3.0.22
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/.github/workflows/test-and-release.yml +7 -3
- package/CHANGELOG.md +15 -0
- package/README.md +4 -0
- package/ipld-schema-describer.js +4 -4
- package/package.json +8 -8
- package/tsconfig.json +5 -8
- package/types/ipld-schema-describer.d.ts +8 -8
- package/types/ipld-schema-describer.d.ts.map +1 -1
- package/types/tsconfig.tsbuildinfo +0 -1
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
- name: Checkout Repository
|
|
13
13
|
uses: actions/checkout@v6
|
|
14
14
|
- name: Use Node.js ${{ matrix.node }}
|
|
15
|
-
uses: actions/setup-node@v6.
|
|
15
|
+
uses: actions/setup-node@v6.3.0
|
|
16
16
|
with:
|
|
17
17
|
node-version: ${{ matrix.node }}
|
|
18
18
|
- name: Install Dependencies
|
|
@@ -26,15 +26,19 @@ jobs:
|
|
|
26
26
|
needs: test
|
|
27
27
|
runs-on: ubuntu-latest
|
|
28
28
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
29
|
+
permissions:
|
|
30
|
+
contents: write
|
|
31
|
+
id-token: write
|
|
29
32
|
steps:
|
|
30
33
|
- name: Checkout
|
|
31
34
|
uses: actions/checkout@v6
|
|
32
35
|
with:
|
|
33
36
|
fetch-depth: 0
|
|
34
37
|
- name: Setup Node.js
|
|
35
|
-
uses: actions/setup-node@v6.
|
|
38
|
+
uses: actions/setup-node@v6.3.0
|
|
36
39
|
with:
|
|
37
40
|
node-version: lts/*
|
|
41
|
+
registry-url: 'https://registry.npmjs.org'
|
|
38
42
|
- name: Install dependencies
|
|
39
43
|
run: |
|
|
40
44
|
npm install --no-progress --no-package-lock --no-save
|
|
@@ -55,6 +59,6 @@ jobs:
|
|
|
55
59
|
- name: Release
|
|
56
60
|
env:
|
|
57
61
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
58
|
-
|
|
62
|
+
NPM_CONFIG_PROVENANCE: true
|
|
59
63
|
run: npx semantic-release
|
|
60
64
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [3.0.22](https://github.com/rvagg/js-ipld-schema-describer/compare/v3.0.21...v3.0.22) (2026-03-30)
|
|
2
|
+
|
|
3
|
+
### Trivial Changes
|
|
4
|
+
|
|
5
|
+
* **deps-dev:** bump typescript from 5.9.3 to 6.0.2 ([a33822f](https://github.com/rvagg/js-ipld-schema-describer/commit/a33822f50c492ab366cc80bfa4b7acb18d202847))
|
|
6
|
+
* **deps:** bump actions/setup-node from 6.2.0 to 6.3.0 ([#64](https://github.com/rvagg/js-ipld-schema-describer/issues/64)) ([6febd34](https://github.com/rvagg/js-ipld-schema-describer/commit/6febd348ac72518fd0d2dfaae53358b648a41591))
|
|
7
|
+
* update deps & upgrade to typescript 6 ([62e5dfb](https://github.com/rvagg/js-ipld-schema-describer/commit/62e5dfb4690451b6172bdddc9c68fc210a4d1565))
|
|
8
|
+
|
|
9
|
+
## [3.0.21](https://github.com/rvagg/js-ipld-schema-describer/compare/v3.0.20...v3.0.21) (2026-01-21)
|
|
10
|
+
|
|
11
|
+
### Trivial Changes
|
|
12
|
+
|
|
13
|
+
* **ci:** OIDC ([#62](https://github.com/rvagg/js-ipld-schema-describer/issues/62)) ([4dd0f3b](https://github.com/rvagg/js-ipld-schema-describer/commit/4dd0f3bf40f1b531cec8d300df9ac200a6ec0216))
|
|
14
|
+
* **deps:** bump actions/setup-node from 6.1.0 to 6.2.0 ([#61](https://github.com/rvagg/js-ipld-schema-describer/issues/61)) ([44746dc](https://github.com/rvagg/js-ipld-schema-describer/commit/44746dc2acdc763afa323c1eb2ad48618794b425))
|
|
15
|
+
|
|
1
16
|
## [3.0.20](https://github.com/rvagg/js-ipld-schema-describer/compare/v3.0.19...v3.0.20) (2025-12-04)
|
|
2
17
|
|
|
3
18
|
### Trivial Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# ipld-schema-describer
|
|
2
2
|
|
|
3
|
+
[](https://github.com/rvagg/js-ipld-schema-describe/actions/workflows/test-and-release.yml)
|
|
4
|
+
|
|
5
|
+
[](https://nodei.co/npm/ipld-schema-describer/)
|
|
6
|
+
|
|
3
7
|
Describe JavaScript object forms using [IPLD Schemas](https://specs.ipld.io/schemas/).
|
|
4
8
|
|
|
5
9
|
## Example
|
package/ipld-schema-describer.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { kind } from './kind.js'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @typedef {import('ipld
|
|
5
|
-
* @typedef {import('ipld
|
|
6
|
-
* @typedef {import('ipld
|
|
7
|
-
* @typedef {import('ipld
|
|
4
|
+
* @typedef {import('@ipld/schema/schema-schema.js').Schema} Schema
|
|
5
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnLink} TypeDefnLink
|
|
6
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnList} TypeDefnList
|
|
7
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnMap} TypeDefnMap
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ipld-schema-describer",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.22",
|
|
4
4
|
"description": "IPLD Schema Describer",
|
|
5
5
|
"main": "ipld-schema-describer.js",
|
|
6
6
|
"type": "module",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/rvagg/js-ipld-schema-describer#readme",
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"c8": "^
|
|
38
|
-
"chai": "^6.
|
|
39
|
-
"mocha": "^11.
|
|
40
|
-
"polendina": "^3.2.
|
|
41
|
-
"standard": "^17.1.
|
|
42
|
-
"typescript": "^
|
|
37
|
+
"c8": "^11.0.0",
|
|
38
|
+
"chai": "^6.2.2",
|
|
39
|
+
"mocha": "^11.7.5",
|
|
40
|
+
"polendina": "^3.2.20",
|
|
41
|
+
"standard": "^17.1.2",
|
|
42
|
+
"typescript": "^6.0.2"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"ipld
|
|
45
|
+
"@ipld/schema": "^7.0.11"
|
|
46
46
|
},
|
|
47
47
|
"typesVersions": {
|
|
48
48
|
"*": {
|
package/tsconfig.json
CHANGED
|
@@ -17,24 +17,21 @@
|
|
|
17
17
|
"alwaysStrict": true,
|
|
18
18
|
"esModuleInterop": true,
|
|
19
19
|
"target": "ES2018",
|
|
20
|
-
"module": "
|
|
21
|
-
"moduleResolution": "
|
|
20
|
+
"module": "nodenext",
|
|
21
|
+
"moduleResolution": "nodenext",
|
|
22
22
|
"declaration": true,
|
|
23
23
|
"declarationMap": true,
|
|
24
24
|
"outDir": "types",
|
|
25
25
|
"skipLibCheck": true,
|
|
26
26
|
"stripInternal": true,
|
|
27
27
|
"resolveJsonModule": true,
|
|
28
|
-
"emitDeclarationOnly": true
|
|
29
|
-
"baseUrl": ".",
|
|
30
|
-
"paths": {
|
|
31
|
-
"ipld-schema-describer": [ "ipld-schema-describer.js" ]
|
|
32
|
-
}
|
|
28
|
+
"emitDeclarationOnly": true
|
|
33
29
|
},
|
|
34
30
|
"exclude": [
|
|
35
31
|
"node_modules",
|
|
36
32
|
"types",
|
|
37
|
-
"test"
|
|
33
|
+
"test",
|
|
34
|
+
"example.js"
|
|
38
35
|
],
|
|
39
36
|
"compileOnSave": false
|
|
40
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @typedef {import('ipld
|
|
3
|
-
* @typedef {import('ipld
|
|
4
|
-
* @typedef {import('ipld
|
|
5
|
-
* @typedef {import('ipld
|
|
2
|
+
* @typedef {import('@ipld/schema/schema-schema.js').Schema} Schema
|
|
3
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnLink} TypeDefnLink
|
|
4
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnList} TypeDefnList
|
|
5
|
+
* @typedef {import('@ipld/schema/schema-schema.js').TypeDefnMap} TypeDefnMap
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* @param {any} obj
|
|
@@ -12,8 +12,8 @@ export function describe(obj: any): {
|
|
|
12
12
|
schema: Schema;
|
|
13
13
|
root: string;
|
|
14
14
|
};
|
|
15
|
-
export type Schema = import("ipld
|
|
16
|
-
export type TypeDefnLink = import("ipld
|
|
17
|
-
export type TypeDefnList = import("ipld
|
|
18
|
-
export type TypeDefnMap = import("ipld
|
|
15
|
+
export type Schema = import("@ipld/schema/schema-schema.js").Schema;
|
|
16
|
+
export type TypeDefnLink = import("@ipld/schema/schema-schema.js").TypeDefnLink;
|
|
17
|
+
export type TypeDefnList = import("@ipld/schema/schema-schema.js").TypeDefnList;
|
|
18
|
+
export type TypeDefnMap = import("@ipld/schema/schema-schema.js").TypeDefnMap;
|
|
19
19
|
//# sourceMappingURL=ipld-schema-describer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipld-schema-describer.d.ts","sourceRoot":"","sources":["../ipld-schema-describer.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;GAGG;AACH,8BAHW,GAAG,GACD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CA4B5C;qBApCY,OAAO,
|
|
1
|
+
{"version":3,"file":"ipld-schema-describer.d.ts","sourceRoot":"","sources":["../ipld-schema-describer.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;GAGG;AACH,8BAHW,GAAG,GACD;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CA4B5C;qBApCY,OAAO,+BAA+B,EAAE,MAAM;2BAC9C,OAAO,+BAA+B,EAAE,YAAY;2BACpD,OAAO,+BAA+B,EAAE,YAAY;0BACpD,OAAO,+BAA+B,EAAE,WAAW"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["../example.js","../ipld-schema-describer.js","../kind.js"],"version":"5.9.3"}
|