mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
chore(deps): update dependency js-yaml to v4 [skip netlify] (#2723)
* chore(deps): update dependency js-yaml to v4 [skip netlify] * Update ss_data.js Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: ylemkimon <y@ylem.kim>
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
"jest-matcher-utils": "^26.1.0",
|
"jest-matcher-utils": "^26.1.0",
|
||||||
"jest-message-util": "^26.1.0",
|
"jest-message-util": "^26.1.0",
|
||||||
"jest-serializer-html": "^7.0.0",
|
"jest-serializer-html": "^7.0.0",
|
||||||
"js-yaml": "^3.12.1",
|
"js-yaml": "^4.0.0",
|
||||||
"json-stable-stringify": "^1.0.1",
|
"json-stable-stringify": "^1.0.1",
|
||||||
"jspngopt": "^0.2.0",
|
"jspngopt": "^0.2.0",
|
||||||
"less": "^3.9.0",
|
"less": "^3.9.0",
|
||||||
|
@@ -16,7 +16,7 @@ const queryKeys = [
|
|||||||
"tex", "pre", "post", "display", "noThrow", "errorColor", "styles",
|
"tex", "pre", "post", "display", "noThrow", "errorColor", "styles",
|
||||||
];
|
];
|
||||||
let dict = fs.readFileSync(require.resolve("./ss_data.yaml"));
|
let dict = fs.readFileSync(require.resolve("./ss_data.yaml"));
|
||||||
dict = jsyaml.safeLoad(dict);
|
dict = jsyaml.load(dict);
|
||||||
for (const key in dict) {
|
for (const key in dict) {
|
||||||
if (dict.hasOwnProperty(key)) {
|
if (dict.hasOwnProperty(key)) {
|
||||||
let itm = dict[key];
|
let itm = dict[key];
|
||||||
|
22
yarn.lock
22
yarn.lock
@@ -2323,6 +2323,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"argparse@npm:^2.0.1":
|
||||||
|
version: 2.0.1
|
||||||
|
resolution: "argparse@npm:2.0.1"
|
||||||
|
checksum: 160b7a25d2a7097fd5fdf25eb8a99e037340078f70e6c7cfdef305837ed14d54570b2b13261bcae26c8cd44ad6e9a7136a0110d815ac65a7891c69c7bf2f4afd
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"arr-diff@npm:^4.0.0":
|
"arr-diff@npm:^4.0.0":
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
resolution: "arr-diff@npm:4.0.0"
|
resolution: "arr-diff@npm:4.0.0"
|
||||||
@@ -6904,7 +6911,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"js-yaml@npm:^3.12.1, js-yaml@npm:^3.13.1":
|
"js-yaml@npm:^3.13.1":
|
||||||
version: 3.14.1
|
version: 3.14.1
|
||||||
resolution: "js-yaml@npm:3.14.1"
|
resolution: "js-yaml@npm:3.14.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -6916,6 +6923,17 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"js-yaml@npm:^4.0.0":
|
||||||
|
version: 4.0.0
|
||||||
|
resolution: "js-yaml@npm:4.0.0"
|
||||||
|
dependencies:
|
||||||
|
argparse: ^2.0.1
|
||||||
|
bin:
|
||||||
|
js-yaml: bin/js-yaml.js
|
||||||
|
checksum: ee9b16cdbba690ec70f46d61737b28b35e26e6d51606c466de7fa876d3517de0cfdffd2e1ef21263d5ca3b32659d2e4c65255f50d6e236f022305bce72242d46
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"jsbn@npm:~0.1.0":
|
"jsbn@npm:~0.1.0":
|
||||||
version: 0.1.1
|
version: 0.1.1
|
||||||
resolution: "jsbn@npm:0.1.1"
|
resolution: "jsbn@npm:0.1.1"
|
||||||
@@ -7175,7 +7193,7 @@ __metadata:
|
|||||||
jest-matcher-utils: ^26.1.0
|
jest-matcher-utils: ^26.1.0
|
||||||
jest-message-util: ^26.1.0
|
jest-message-util: ^26.1.0
|
||||||
jest-serializer-html: ^7.0.0
|
jest-serializer-html: ^7.0.0
|
||||||
js-yaml: ^3.12.1
|
js-yaml: ^4.0.0
|
||||||
json-stable-stringify: ^1.0.1
|
json-stable-stringify: ^1.0.1
|
||||||
jspngopt: ^0.2.0
|
jspngopt: ^0.2.0
|
||||||
less: ^3.9.0
|
less: ^3.9.0
|
||||||
|
Reference in New Issue
Block a user