ipld-schema-describer 1.0.7 → 1.0.10
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.
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
7
7
|
|
|
8
8
|
var chai__default = /*#__PURE__*/_interopDefaultLegacy(chai);
|
|
9
9
|
|
|
10
|
-
const {assert} = chai__default[
|
|
10
|
+
const {assert} = chai__default["default"];
|
|
11
11
|
const fauxCID = {};
|
|
12
12
|
fauxCID.asCID = fauxCID;
|
|
13
13
|
function verify(obj, expected) {
|
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
7
7
|
|
|
8
8
|
var chai__default = /*#__PURE__*/_interopDefaultLegacy(chai);
|
|
9
9
|
|
|
10
|
-
const {assert} = chai__default[
|
|
10
|
+
const {assert} = chai__default["default"];
|
|
11
11
|
describe('Errors', () => {
|
|
12
12
|
it('bad kind', () => {
|
|
13
13
|
assert.throws(() => ipldSchemaDescriber.describe(undefined), /Unknown IPLD kind for value: undefined/);
|
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
7
7
|
|
|
8
8
|
var chai__default = /*#__PURE__*/_interopDefaultLegacy(chai);
|
|
9
9
|
|
|
10
|
-
const {assert} = chai__default[
|
|
10
|
+
const {assert} = chai__default["default"];
|
|
11
11
|
const fauxCID = {};
|
|
12
12
|
fauxCID.asCID = fauxCID;
|
|
13
13
|
function verify(obj, expected) {
|
|
@@ -7,7 +7,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
7
7
|
|
|
8
8
|
var chai__default = /*#__PURE__*/_interopDefaultLegacy(chai);
|
|
9
9
|
|
|
10
|
-
const {assert} = chai__default[
|
|
10
|
+
const {assert} = chai__default["default"];
|
|
11
11
|
describe('Errors', () => {
|
|
12
12
|
it('bad kind', () => {
|
|
13
13
|
assert.throws(() => ipldSchemaDescriber.describe(undefined), /Unknown IPLD kind for value: undefined/);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ipld-schema-describer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "IPLD Schema Describer",
|
|
5
5
|
"main": "./cjs/ipld-schema-describer.js",
|
|
6
6
|
"types": "./types/ipld-schema-describer.d.ts",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"c8": "^7.7.3",
|
|
42
42
|
"chai": "^4.3.4",
|
|
43
43
|
"ipjs": "^5.0.4",
|
|
44
|
-
"mocha": "^
|
|
45
|
-
"polendina": "^
|
|
46
|
-
"standard": "^
|
|
44
|
+
"mocha": "^10.0.0",
|
|
45
|
+
"polendina": "^3.0.0",
|
|
46
|
+
"standard": "^17.0.0",
|
|
47
47
|
"typescript": "^4.3.5"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"ipld-schema": "^
|
|
50
|
+
"ipld-schema": "^2.0.1"
|
|
51
51
|
},
|
|
52
52
|
"typesVersions": {
|
|
53
53
|
"*": {
|