Skip to content

Commit 02b1cb4

Browse files
committed
#146 - Update dependencies
- Updated basically all dependencies in the package.json file - Set minimum required node version to 16 since that is what some of the updated dependencies require
1 parent 75991d0 commit 02b1cb4

File tree

4 files changed

+6396
-7794
lines changed

4 files changed

+6396
-7794
lines changed

lerna.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"version": "0.3.0",
33
"npmClient": "yarn",
4-
"useWorkspaces": true,
54
"packages": [
65
"packages/*"
76
],

package.json

+34-34
Original file line numberDiff line numberDiff line change
@@ -40,47 +40,47 @@
4040
"@babel/plugin-transform-runtime": "^7.13.10",
4141
"@babel/preset-env": "^7.13.12",
4242
"@babel/preset-typescript": "^7.13.0",
43-
"@types/mocha": "^9.0.0",
44-
"@types/node-fetch": "^2.5.7",
45-
"@types/resolve": "^1.17.0",
46-
"@typescript-eslint/eslint-plugin": "^4.20.0",
47-
"@typescript-eslint/parser": "^4.20.0",
48-
"ajv": "^6.11.0",
49-
"babel-loader": "^8.0.5",
50-
"babel-plugin-istanbul": "^6.0.0",
51-
"babel-plugin-module-resolver": "^4.0.0",
43+
"@types/mocha": "^10.0.2",
44+
"@types/node-fetch": "^2.6.6",
45+
"@types/resolve": "^1.20.3",
46+
"@typescript-eslint/eslint-plugin": "^6.7.3",
47+
"@typescript-eslint/parser": "^6.7.3",
48+
"ajv": "^8.12.0",
49+
"babel-loader": "^9.1.3",
50+
"babel-plugin-istanbul": "^6.1.1",
51+
"babel-plugin-module-resolver": "^5.0.0",
5252
"babel-plugin-preserve-comment-header": "^1.0.1",
53-
"babel-register-esm": "^1.2.4",
54-
"c8": "^7.10.0",
55-
"concurrently": "^5.3.0",
56-
"cross-env": "^6.0.3",
57-
"eslint": "^7.5.0",
58-
"eslint-config-prettier": "^6.11.0",
59-
"eslint-import-resolver-babel-module": "^5.1.2",
60-
"eslint-plugin-import": "^2.22.0",
53+
"babel-register-esm": "^1.2.5",
54+
"c8": "^8.0.1",
55+
"concurrently": "^8.2.1",
56+
"cross-env": "^7.0.3",
57+
"eslint": "^8.50.0",
58+
"eslint-config-prettier": "^9.0.0",
59+
"eslint-import-resolver-babel-module": "^5.3.2",
60+
"eslint-plugin-import": "^2.28.1",
6161
"eslint-plugin-node": "^11.1.0",
62-
"eslint-plugin-prettier": "^3.1.4",
63-
"file-loader": "^6.0.0",
64-
"global-jsdom": "^8.0.0",
65-
"husky": "^7.0.0",
62+
"eslint-plugin-prettier": "^5.0.0",
63+
"file-loader": "^6.2.0",
64+
"global-jsdom": "^9.1.0",
65+
"husky": "^8.0.3",
6666
"is-ci": "^3.0.1",
67-
"jsdom": "^16.2.2",
68-
"lerna": "^3.20.2",
69-
"lint-staged": "^10.0.2",
70-
"mocha": "^9.1.3",
71-
"node-fetch": "^2.5.0",
72-
"prettier": "^2.0.5",
73-
"resolve": "^1.15.0",
67+
"jsdom": "^22.1.0",
68+
"lerna": "^7.3.0",
69+
"lint-staged": "^14.0.1",
70+
"mocha": "^10.2.0",
71+
"node-fetch": "^3.3.2",
72+
"prettier": "^3.0.3",
73+
"resolve": "^1.22.6",
7474
"shx": "^0.3.4",
75-
"typedoc": "^0.20.5",
76-
"typescript": "^4.2.3",
75+
"typedoc": "^0.25.1",
76+
"typescript": "^5.2.2",
7777
"web-annotation-tests": "https://github.com/w3c/web-annotation-tests",
78-
"webpack": "^4.41.5",
79-
"webpack-cli": "^3.3.10",
80-
"webpack-dev-server": "^3.10.1"
78+
"webpack": "^5.88.2",
79+
"webpack-cli": "^5.1.4",
80+
"webpack-dev-server": "^4.15.1"
8181
},
8282
"engines": {
83-
"node": "^14.15 || ^15.4 || >=16",
83+
"node": ">=16",
8484
"yarn": "^1.5.0"
8585
}
8686
}

test/data-model.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const MUSTS = requireJSON(
6868

6969
const META_SCHEMA = requireJSON('ajv/lib/refs/json-schema-draft-04.json');
7070

71-
const ajv = new Ajv({ schemaId: 'auto', meta: false });
71+
const ajv = new Ajv({ meta: false });
7272
ajv.addMetaSchema(META_SCHEMA);
7373
DEFINITIONS.forEach((schema) => ajv.addSchema(schema));
7474

0 commit comments

Comments
 (0)