diff --git a/packages/config/package.json b/packages/config/package.json index 0c27150fb2a1..7f0b4efeda80 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -87,7 +87,7 @@ "js-levenshtein": "^1.1.6", "pegjs": "^0.10.0", "sinon": "^17.0.1", - "ts-pegjs": "^0.3.1", + "ts-pegjs": "^4.2.1", "typescript": "5.6.2", "xml2js": "^0.6.2", "yargs": "^17.7.2" diff --git a/yarn.lock b/yarn.lock index 02e2e75f1eaa..f964c65e51ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1436,6 +1436,18 @@ __metadata: languageName: node linkType: hard +"@ts-morph/common@npm:~0.19.0": + version: 0.19.0 + resolution: "@ts-morph/common@npm:0.19.0" + dependencies: + fast-glob: "npm:^3.2.12" + minimatch: "npm:^7.4.3" + mkdirp: "npm:^2.1.6" + path-browserify: "npm:^1.0.1" + checksum: 10/6a7111c14b2793e2d07785a0d5431472cd5761e52edf0c297cd0e5400e8d75eb79f9b2e597ba1d7e687f1d2312e44d48fdd59d9e796cee9c9cd4528f2083dfab + languageName: node + linkType: hard + "@ts-morph/common@npm:~0.25.0": version: 0.25.0 resolution: "@ts-morph/common@npm:0.25.0" @@ -1914,7 +1926,7 @@ __metadata: pegjs: "npm:^0.10.0" semver: "npm:^7.6.2" sinon: "npm:^17.0.1" - ts-pegjs: "npm:^0.3.1" + ts-pegjs: "npm:^4.2.1" typescript: "npm:5.6.2" winston: "npm:^3.13.0" xml2js: "npm:^0.6.2" @@ -3220,6 +3232,13 @@ __metadata: languageName: node linkType: hard +"code-block-writer@npm:^12.0.0": + version: 12.0.0 + resolution: "code-block-writer@npm:12.0.0" + checksum: 10/7dc531e652b4654f6e0487923df74cda7294da01c6ac225f523256c6ae5f7f4eb5c4dc7902a9e64b81dba4b22e7d843454ed71a59954d31aa8656184c6c0c8ff + languageName: node + linkType: hard + "code-block-writer@npm:^13.0.3": version: 13.0.3 resolution: "code-block-writer@npm:13.0.3" @@ -4537,29 +4556,29 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.3.0": - version: 3.3.1 - resolution: "fast-glob@npm:3.3.1" +"fast-glob@npm:^3.2.12, fast-glob@npm:^3.3.2": + version: 3.3.2 + resolution: "fast-glob@npm:3.3.2" dependencies: "@nodelib/fs.stat": "npm:^2.0.2" "@nodelib/fs.walk": "npm:^1.2.3" glob-parent: "npm:^5.1.2" merge2: "npm:^1.3.0" micromatch: "npm:^4.0.4" - checksum: 10/51bcd15472879dfe51d4b01c5b70bbc7652724d39cdd082ba11276dbd7d84db0f6b33757e1938af8b2768a4bf485d9be0c89153beae24ee8331d6dcc7550379f + checksum: 10/222512e9315a0efca1276af9adb2127f02105d7288fa746145bf45e2716383fb79eb983c89601a72a399a56b7c18d38ce70457c5466218c5f13fad957cee16df languageName: node linkType: hard -"fast-glob@npm:^3.3.2": - version: 3.3.2 - resolution: "fast-glob@npm:3.3.2" +"fast-glob@npm:^3.3.0": + version: 3.3.1 + resolution: "fast-glob@npm:3.3.1" dependencies: "@nodelib/fs.stat": "npm:^2.0.2" "@nodelib/fs.walk": "npm:^1.2.3" glob-parent: "npm:^5.1.2" merge2: "npm:^1.3.0" micromatch: "npm:^4.0.4" - checksum: 10/222512e9315a0efca1276af9adb2127f02105d7288fa746145bf45e2716383fb79eb983c89601a72a399a56b7c18d38ce70457c5466218c5f13fad957cee16df + checksum: 10/51bcd15472879dfe51d4b01c5b70bbc7652724d39cdd082ba11276dbd7d84db0f6b33757e1938af8b2768a4bf485d9be0c89153beae24ee8331d6dcc7550379f languageName: node linkType: hard @@ -6596,6 +6615,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^7.4.3": + version: 7.4.6 + resolution: "minimatch@npm:7.4.6" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10/0046ba1161ac6414bde1b07c440792ebcdb2ed93e6714c85c73974332b709b7e692801550bc9da22028a8613407b3f13861e17dd0dd44f4babdeacd44950430b + languageName: node + linkType: hard + "minimatch@npm:^9.0.4": version: 9.0.4 resolution: "minimatch@npm:9.0.4" @@ -6718,6 +6746,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^2.1.6": + version: 2.1.6 + resolution: "mkdirp@npm:2.1.6" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10/4672fadb94dca8d2eafeb6fff53f2c5ea74e885565ef23251791709064f216105167c2387088c61ef068901bd0776648999785e341d74728164fa551b1c65996 + languageName: node + linkType: hard + "mockdate@npm:^3.0.5": version: 3.0.5 resolution: "mockdate@npm:3.0.5" @@ -7481,6 +7518,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:^2.8.8": + version: 2.8.8 + resolution: "prettier@npm:2.8.8" + bin: + prettier: bin-prettier.js + checksum: 10/00cdb6ab0281f98306cd1847425c24cbaaa48a5ff03633945ab4c701901b8e96ad558eb0777364ffc312f437af9b5a07d0f45346266e8245beaf6247b9c62b24 + languageName: node + linkType: hard + "pretty-ms@npm:^9.0.0": version: 9.0.0 resolution: "pretty-ms@npm:9.0.0" @@ -8814,6 +8860,16 @@ __metadata: languageName: node linkType: hard +"ts-morph@npm:^18.0.0": + version: 18.0.0 + resolution: "ts-morph@npm:18.0.0" + dependencies: + "@ts-morph/common": "npm:~0.19.0" + code-block-writer: "npm:^12.0.0" + checksum: 10/349215342b321ef15277394d75ec4d7035664cc10df2d3a175f3196fe5d4c5f46d071b894d4d1dff2d6278311ee97e9a314217e020b44b7ccfa831e64879c6a6 + languageName: node + linkType: hard + "ts-morph@npm:^24.0.0": version: 24.0.0 resolution: "ts-morph@npm:24.0.0" @@ -8841,16 +8897,17 @@ __metadata: languageName: node linkType: hard -"ts-pegjs@npm:^0.3.1": - version: 0.3.1 - resolution: "ts-pegjs@npm:0.3.1" +"ts-pegjs@npm:^4.2.1": + version: 4.2.1 + resolution: "ts-pegjs@npm:4.2.1" dependencies: - pegjs: "npm:^0.10.0" + prettier: "npm:^2.8.8" + ts-morph: "npm:^18.0.0" peerDependencies: - pegjs: ~0.10.0 + peggy: ^3.0.2 bin: - tspegjs: src/cli.js - checksum: 10/bfddfc646fe66096981e7b85b5e9dbca39a2e5d8b5f7ffec15c223d828392d1019ba9b5d0e2915b608fd73a29dc4538b242cb2a303fbc26ec05573f6285fd89c + tspegjs: dist/cli.mjs + checksum: 10/895ec00483f397ced7f5247b72a34c9fd305e675573518c63ab4279d78457e8b93ed25ce4576e525c77cf7c1811078d2ef0b7605e671d4a408aa465e6014186f languageName: node linkType: hard