Remove json-to-pretty-yaml (#81085)
This commit is contained in:
7
bun.lock
7
bun.lock
@@ -299,7 +299,6 @@
|
||||
"jest-junit": "^16.0.0",
|
||||
"jest-watch-typeahead": "^3.0.0",
|
||||
"jose": "^5.6.3",
|
||||
"json-to-pretty-yaml": "^1.2.2",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"knex": "^2.4.2",
|
||||
"lint-staged": "^16.4.0",
|
||||
@@ -3728,8 +3727,6 @@
|
||||
|
||||
"json-stringify-safe": ["json-stringify-safe@5.0.1", "", {}, "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="],
|
||||
|
||||
"json-to-pretty-yaml": ["json-to-pretty-yaml@1.2.2", "", { "dependencies": { "remedial": "^1.0.7", "remove-trailing-spaces": "^1.0.6" } }, "sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A=="],
|
||||
|
||||
"json5": ["json5@2.2.3", "", { "bin": { "json5": "lib/cli.js" } }, "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="],
|
||||
|
||||
"jsonc-parser": ["jsonc-parser@3.3.1", "", {}, "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ=="],
|
||||
@@ -4738,12 +4735,8 @@
|
||||
|
||||
"remark-stringify": ["remark-stringify@11.0.0", "", { "dependencies": { "@types/mdast": "^4.0.0", "mdast-util-to-markdown": "^2.0.0", "unified": "^11.0.0" } }, "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw=="],
|
||||
|
||||
"remedial": ["remedial@1.0.8", "", {}, "sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg=="],
|
||||
|
||||
"remend": ["remend@1.3.0", "", {}, "sha512-iIhggPkhW3hFImKtB10w0dz4EZbs28mV/dmbcYVonWEJ6UGHHpP+bFZnTh6GNWJONg5m+U56JrL+8IxZRdgWjw=="],
|
||||
|
||||
"remove-trailing-spaces": ["remove-trailing-spaces@1.0.8", "", {}, "sha512-O3vsMYfWighyFbTd8hk8VaSj9UAGENxAtX+//ugIst2RMk5e03h6RoIS+0ylsFxY1gvmPuAY/PO4It+gPEeySA=="],
|
||||
|
||||
"renderkid": ["renderkid@3.0.0", "", { "dependencies": { "css-select": "^4.1.3", "dom-converter": "^0.2.0", "htmlparser2": "^6.1.0", "lodash": "^4.17.21", "strip-ansi": "^6.0.1" } }, "sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg=="],
|
||||
|
||||
"repeating": ["repeating@2.0.1", "", { "dependencies": { "is-finite": "^1.0.0" } }, "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A=="],
|
||||
|
||||
@@ -308,7 +308,6 @@
|
||||
"jest-junit": "^16.0.0",
|
||||
"jest-watch-typeahead": "^3.0.0",
|
||||
"jose": "^5.6.3",
|
||||
"json-to-pretty-yaml": "^1.2.2",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"knex": "^2.4.2",
|
||||
"lint-staged": "^16.4.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const rspack = require("@rspack/core");
|
||||
const YAML = require("json-to-pretty-yaml");
|
||||
const yaml = require("js-yaml");
|
||||
const { StatsWriterPlugin } = require("webpack-stats-plugin");
|
||||
|
||||
const { WEBPACK_BUNDLE } = require("./frontend/build/shared/constants");
|
||||
@@ -173,7 +173,7 @@ module.exports = (env) => {
|
||||
},
|
||||
filename: "../../../../.github/static-viz-sources.yaml",
|
||||
transform: (stats) =>
|
||||
YAML.stringify({
|
||||
yaml.dump({
|
||||
static_viz: stats.modules
|
||||
.filter(
|
||||
(module) =>
|
||||
|
||||
Reference in New Issue
Block a user