projen 0.101.11 → 0.101.13
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.
- package/.jsii +29 -29
- package/lib/ai-instructions.js +2 -2
- package/lib/awscdk/auto-discover.js +6 -6
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +1 -1
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps-py.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +3 -3
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-build.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +2 -2
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose/docker-compose-service.js +1 -1
- package/lib/docker-compose/docker-compose.js +1 -1
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/actions-provider.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/auto-queue.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/dependency-review.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/merge-queue.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-backport.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow-job.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflow-actions.js +1 -1
- package/lib/github/workflow-jobs.js +1 -1
- package/lib/github/workflow-steps.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +2 -2
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/biome/biome.d.ts +2 -2
- package/lib/javascript/biome/biome.js +6 -6
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +4 -4
- package/lib/javascript/license-checker.js +1 -1
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/pnpm-workspace-config.js +2 -2
- package/lib/javascript/pnpm-workspace.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +2 -2
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/javascript/yarnrc.js +1 -1
- package/lib/json-patch.js +1 -1
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project-tree.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/projenrc.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pyproject-toml-file.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/uv-config.js +1 -1
- package/lib/python/uv.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +6 -3
- package/lib/renovatebot.js +1 -1
- package/lib/run-task.cjs +2 -2
- package/lib/sample-file.js +2 -2
- package/lib/script-runner.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-shell.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc-ts.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-runner.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +5 -5
- package/lib/version.js +2 -2
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/extensions.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/settings.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +3 -3
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/node_modules/js-yaml/README.md +5 -3
- package/node_modules/js-yaml/dist/js-yaml.js +3009 -2402
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +2 -33
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +3073 -2381
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/lib/loader.js +7 -11
- package/node_modules/js-yaml/lib/type/float.js +1 -1
- package/node_modules/js-yaml/lib/type/int.js +4 -4
- package/node_modules/js-yaml/package.json +10 -4
- package/package.json +2 -2
|
@@ -152,7 +152,7 @@ function State (input, options) {
|
|
|
152
152
|
this.json = options['json'] || false
|
|
153
153
|
this.listener = options['listener'] || null
|
|
154
154
|
this.maxDepth = typeof options['maxDepth'] === 'number' ? options['maxDepth'] : 100
|
|
155
|
-
this.
|
|
155
|
+
this.maxTotalMergeKeys = typeof options['maxTotalMergeKeys'] === 'number' ? options['maxTotalMergeKeys'] : 10000
|
|
156
156
|
|
|
157
157
|
this.implicitTypes = this.schema.compiledImplicit
|
|
158
158
|
this.typeMap = this.schema.compiledTypeMap
|
|
@@ -163,6 +163,7 @@ function State (input, options) {
|
|
|
163
163
|
this.lineStart = 0
|
|
164
164
|
this.lineIndent = 0
|
|
165
165
|
this.depth = 0
|
|
166
|
+
this.totalMergeKeys = 0
|
|
166
167
|
|
|
167
168
|
// position of first leading tab in the current line,
|
|
168
169
|
// used to make sure there are no tabs in the indentation
|
|
@@ -380,6 +381,10 @@ function mergeMappings (state, destination, source, overridableKeys) {
|
|
|
380
381
|
for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
381
382
|
const key = sourceKeys[index]
|
|
382
383
|
|
|
384
|
+
if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
|
|
385
|
+
throwError(state, 'merge keys exceeded maxTotalMergeKeys (' + state.maxTotalMergeKeys + ')')
|
|
386
|
+
}
|
|
387
|
+
|
|
383
388
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
384
389
|
setProperty(destination, key, source[key])
|
|
385
390
|
overridableKeys[key] = true
|
|
@@ -421,17 +426,8 @@ function storeMappingPair (state, _result, overridableKeys, keyTag, keyNode, val
|
|
|
421
426
|
|
|
422
427
|
if (keyTag === 'tag:yaml.org,2002:merge') {
|
|
423
428
|
if (Array.isArray(valueNode)) {
|
|
424
|
-
if (valueNode.length > state.maxMergeSeqLength) {
|
|
425
|
-
throwError(state, 'merge sequence length exceeded maxMergeSeqLength (' + state.maxMergeSeqLength + ')')
|
|
426
|
-
}
|
|
427
|
-
const seen = new Set()
|
|
428
429
|
for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
429
|
-
|
|
430
|
-
// Existing keys are not overridden on merge, so dedupe sources to
|
|
431
|
-
// avoid redundant work on repeated aliases.
|
|
432
|
-
if (seen.has(src)) continue
|
|
433
|
-
seen.add(src)
|
|
434
|
-
mergeMappings(state, _result, src, overridableKeys)
|
|
430
|
+
mergeMappings(state, _result, valueNode[index], overridableKeys)
|
|
435
431
|
}
|
|
436
432
|
} else {
|
|
437
433
|
mergeMappings(state, _result, valueNode, overridableKeys)
|
|
@@ -49,7 +49,7 @@ function resolveYamlInteger (data) {
|
|
|
49
49
|
if (ch !== '0' && ch !== '1') return false
|
|
50
50
|
hasDigits = true
|
|
51
51
|
}
|
|
52
|
-
return hasDigits &&
|
|
52
|
+
return hasDigits && isFinite(parseYamlInteger(data))
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
if (ch === 'x') {
|
|
@@ -60,7 +60,7 @@ function resolveYamlInteger (data) {
|
|
|
60
60
|
if (!isHexCode(data.charCodeAt(index))) return false
|
|
61
61
|
hasDigits = true
|
|
62
62
|
}
|
|
63
|
-
return hasDigits &&
|
|
63
|
+
return hasDigits && isFinite(parseYamlInteger(data))
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
if (ch === 'o') {
|
|
@@ -71,7 +71,7 @@ function resolveYamlInteger (data) {
|
|
|
71
71
|
if (!isOctCode(data.charCodeAt(index))) return false
|
|
72
72
|
hasDigits = true
|
|
73
73
|
}
|
|
74
|
-
return hasDigits &&
|
|
74
|
+
return hasDigits && isFinite(parseYamlInteger(data))
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -86,7 +86,7 @@ function resolveYamlInteger (data) {
|
|
|
86
86
|
|
|
87
87
|
if (!hasDigits) return false
|
|
88
88
|
|
|
89
|
-
return
|
|
89
|
+
return isFinite(parseYamlInteger(data))
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
function parseYamlInteger (data) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "js-yaml",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "YAML 1.2 parser and serializer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yaml",
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"bin/",
|
|
33
33
|
"dist/"
|
|
34
34
|
],
|
|
35
|
+
"publishConfig": {
|
|
36
|
+
"tag": "v4-legacy"
|
|
37
|
+
},
|
|
35
38
|
"bin": {
|
|
36
39
|
"js-yaml": "bin/js-yaml.js"
|
|
37
40
|
},
|
|
@@ -53,8 +56,7 @@
|
|
|
53
56
|
"build": "node support/build-dist.mjs",
|
|
54
57
|
"build:demo": "npm run lint && node support/build_demo.mjs",
|
|
55
58
|
"gh-demo": "npm run build:demo && gh-pages -d demo -f",
|
|
56
|
-
"prepack": "npm test && npm run build
|
|
57
|
-
"postpublish": "npm run gh-demo"
|
|
59
|
+
"prepack": "npm test && npm run build"
|
|
58
60
|
},
|
|
59
61
|
"unpkg": "dist/js-yaml.min.js",
|
|
60
62
|
"jsdelivr": "dist/js-yaml.min.js",
|
|
@@ -62,6 +64,10 @@
|
|
|
62
64
|
"argparse": "^2.0.1"
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
67
|
+
"@babel/core": "8.0.1",
|
|
68
|
+
"@babel/preset-env": "8.0.1",
|
|
69
|
+
"@rollup/plugin-commonjs": "29.0.3",
|
|
70
|
+
"@rollup/plugin-terser": "0.4.4",
|
|
65
71
|
"c8": "^11.0.0",
|
|
66
72
|
"codemirror": "^5.65.21",
|
|
67
73
|
"eslint": "^9.39.4",
|
|
@@ -69,7 +75,7 @@
|
|
|
69
75
|
"gh-pages": "^6.3.0",
|
|
70
76
|
"neostandard": "^0.13.0",
|
|
71
77
|
"tinybench": "^6.0.2",
|
|
72
|
-
"vite": "
|
|
78
|
+
"vite": "7.3.6",
|
|
73
79
|
"vite-plugin-node-polyfills": "^0.28.0",
|
|
74
80
|
"vite-plugin-singlefile": "^2.3.3",
|
|
75
81
|
"workerpool": "^10.0.2"
|
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"organization": true
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@biomejs/biome": "^2",
|
|
58
|
+
"@biomejs/biome": "^2.5",
|
|
59
59
|
"@jsii/check-node": "^1.138.0",
|
|
60
60
|
"@types/conventional-changelog-config-spec": "^2.1.5",
|
|
61
61
|
"@types/ini": "^1.3.34",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"fsevents": true,
|
|
154
154
|
"unrs-resolver": true
|
|
155
155
|
},
|
|
156
|
-
"version": "0.101.
|
|
156
|
+
"version": "0.101.13",
|
|
157
157
|
"jest": {
|
|
158
158
|
"coverageProvider": "v8",
|
|
159
159
|
"coverageReporters": [
|