projen 0.63.27 → 0.63.29

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.
Files changed (134) hide show
  1. package/.jsii +3 -3
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps-java.js +1 -1
  8. package/lib/awscdk/awscdk-deps-js.js +1 -1
  9. package/lib/awscdk/awscdk-deps-py.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/component.js +1 -1
  32. package/lib/dependencies.js +1 -1
  33. package/lib/dev-env.js +1 -1
  34. package/lib/docker-compose.js +2 -2
  35. package/lib/file.js +1 -1
  36. package/lib/gitattributes.js +1 -1
  37. package/lib/github/auto-approve.js +1 -1
  38. package/lib/github/auto-merge.js +1 -1
  39. package/lib/github/dependabot.js +1 -1
  40. package/lib/github/github-credentials.js +1 -1
  41. package/lib/github/github-project.js +1 -1
  42. package/lib/github/github.js +1 -1
  43. package/lib/github/mergify.js +1 -1
  44. package/lib/github/pr-template.js +1 -1
  45. package/lib/github/pull-request-lint.js +1 -1
  46. package/lib/github/stale.js +1 -1
  47. package/lib/github/task-workflow.js +1 -1
  48. package/lib/github/workflows.js +1 -1
  49. package/lib/gitlab/configuration.js +1 -1
  50. package/lib/gitlab/gitlab-configuration.js +1 -1
  51. package/lib/gitlab/nested-configuration.js +1 -1
  52. package/lib/gitpod.js +1 -1
  53. package/lib/ignore-file.js +1 -1
  54. package/lib/ini.js +1 -1
  55. package/lib/java/java-project.js +1 -1
  56. package/lib/java/junit.js +1 -1
  57. package/lib/java/maven-compile.js +1 -1
  58. package/lib/java/maven-packaging.js +1 -1
  59. package/lib/java/maven-sample.js +1 -1
  60. package/lib/java/pom.js +1 -1
  61. package/lib/java/projenrc.js +1 -1
  62. package/lib/javascript/bundler.js +1 -1
  63. package/lib/javascript/eslint.js +1 -1
  64. package/lib/javascript/jest.js +1 -1
  65. package/lib/javascript/node-package.js +1 -1
  66. package/lib/javascript/node-project.js +1 -1
  67. package/lib/javascript/npm-config.js +1 -1
  68. package/lib/javascript/prettier.js +1 -1
  69. package/lib/javascript/projenrc.js +1 -1
  70. package/lib/javascript/typescript-config.js +1 -1
  71. package/lib/javascript/upgrade-dependencies.js +2 -2
  72. package/lib/json-patch.js +1 -1
  73. package/lib/json.js +1 -1
  74. package/lib/license.js +1 -1
  75. package/lib/logger.js +1 -1
  76. package/lib/makefile.js +1 -1
  77. package/lib/object-file.js +1 -1
  78. package/lib/project-build.js +1 -1
  79. package/lib/project.js +1 -1
  80. package/lib/projects.js +1 -1
  81. package/lib/projenrc-json.js +1 -1
  82. package/lib/python/pip.js +1 -1
  83. package/lib/python/poetry.js +2 -2
  84. package/lib/python/projenrc.js +1 -1
  85. package/lib/python/pytest-sample.js +1 -1
  86. package/lib/python/pytest.js +1 -1
  87. package/lib/python/python-project.js +1 -1
  88. package/lib/python/python-sample.js +1 -1
  89. package/lib/python/requirements-file.js +1 -1
  90. package/lib/python/setuppy.js +1 -1
  91. package/lib/python/setuptools.js +1 -1
  92. package/lib/python/venv.js +1 -1
  93. package/lib/readme.js +1 -1
  94. package/lib/release/publisher.js +1 -1
  95. package/lib/release/release-trigger.js +1 -1
  96. package/lib/release/release.js +1 -1
  97. package/lib/renovatebot.js +1 -1
  98. package/lib/run-task.js +1 -1833
  99. package/lib/sample-file.js +2 -2
  100. package/lib/semver.js +1 -1
  101. package/lib/source-code.js +1 -1
  102. package/lib/task-runtime.js +1 -1
  103. package/lib/task.js +1 -1
  104. package/lib/tasks.js +1 -1
  105. package/lib/testing.js +1 -1
  106. package/lib/textfile.js +1 -1
  107. package/lib/toml.js +1 -1
  108. package/lib/typescript/projenrc.js +1 -1
  109. package/lib/typescript/typescript-typedoc.js +1 -1
  110. package/lib/typescript/typescript.js +3 -3
  111. package/lib/version.js +1 -1
  112. package/lib/vscode/devcontainer.js +1 -1
  113. package/lib/vscode/extensions.js +1 -1
  114. package/lib/vscode/launch-config.js +1 -1
  115. package/lib/vscode/settings.js +1 -1
  116. package/lib/vscode/vscode.js +1 -1
  117. package/lib/web/next.js +3 -3
  118. package/lib/web/postcss.js +1 -1
  119. package/lib/web/react.js +4 -4
  120. package/lib/web/tailwind.js +1 -1
  121. package/lib/xmlfile.js +1 -1
  122. package/lib/yaml.js +1 -1
  123. package/node_modules/is-core-module/CHANGELOG.md +8 -0
  124. package/node_modules/is-core-module/core.json +2 -0
  125. package/node_modules/is-core-module/package.json +10 -3
  126. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  127. package/node_modules/xmlbuilder2/node_modules/@types/node/dom-events.d.ts +4 -4
  128. package/node_modules/xmlbuilder2/node_modules/@types/node/globals.d.ts +15 -11
  129. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  130. package/node_modules/xmlbuilder2/node_modules/@types/node/querystring.d.ts +3 -3
  131. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/buffer.d.ts +2 -2
  132. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dom-events.d.ts +4 -4
  133. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/querystring.d.ts +3 -3
  134. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-core-module",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Is this specifier a node.js core module?",
5
5
  "main": "index.js",
6
6
  "sideEffects": false,
@@ -9,6 +9,7 @@
9
9
  "./package.json": "./package.json"
10
10
  },
11
11
  "scripts": {
12
+ "prepack": "npmignore --auto --commentLines=autogenerated",
12
13
  "prepublish": "not-in-publish || npm run prepublishOnly",
13
14
  "prepublishOnly": "safe-publish-latest",
14
15
  "lint": "eslint .",
@@ -45,14 +46,15 @@
45
46
  },
46
47
  "devDependencies": {
47
48
  "@ljharb/eslint-config": "^21.0.0",
48
- "aud": "^2.0.0",
49
+ "aud": "^2.0.1",
49
50
  "auto-changelog": "^2.4.0",
50
51
  "eslint": "=8.8.0",
51
52
  "mock-property": "^1.0.0",
53
+ "npmignore": "^0.3.0",
52
54
  "nyc": "^10.3.2",
53
55
  "safe-publish-latest": "^2.0.0",
54
56
  "semver": "^6.3.0",
55
- "tape": "^5.5.3"
57
+ "tape": "^5.6.1"
56
58
  },
57
59
  "auto-changelog": {
58
60
  "output": "CHANGELOG.md",
@@ -61,5 +63,10 @@
61
63
  "commitLimit": false,
62
64
  "backfillLimit": false,
63
65
  "hideCredit": true
66
+ },
67
+ "publishConfig": {
68
+ "ignore": [
69
+ ".github"
70
+ ]
64
71
  }
65
72
  }
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 14 Oct 2022 20:32:59 GMT
11
+ * Last updated: Tue, 18 Oct 2022 22:03:06 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
14
 
@@ -8,8 +8,8 @@ export {}; // Don't export anything!
8
8
 
9
9
  // This conditional type will be the existing global Event in a browser, or
10
10
  // the copy below in a Node environment.
11
- type __Event = typeof globalThis extends { onmessage: any, Event: infer T }
12
- ? T
11
+ type __Event = typeof globalThis extends { onmessage: any, Event: any }
12
+ ? {}
13
13
  : {
14
14
  /** This is not used in Node.js and is provided purely for completeness. */
15
15
  readonly bubbles: boolean;
@@ -48,8 +48,8 @@ type __Event = typeof globalThis extends { onmessage: any, Event: infer T }
48
48
  };
49
49
 
50
50
  // See comment above explaining conditional type
51
- type __EventTarget = typeof globalThis extends { onmessage: any, EventTarget: infer T }
52
- ? T
51
+ type __EventTarget = typeof globalThis extends { onmessage: any, EventTarget: any }
52
+ ? {}
53
53
  : {
54
54
  /**
55
55
  * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value.
@@ -64,17 +64,21 @@ interface AbortSignal extends EventTarget {
64
64
  readonly aborted: boolean;
65
65
  }
66
66
 
67
- declare var AbortController: {
68
- prototype: AbortController;
69
- new(): AbortController;
70
- };
71
-
72
- declare var AbortSignal: {
73
- prototype: AbortSignal;
74
- new(): AbortSignal;
75
- // TODO: Add abort() static
76
- timeout(milliseconds: number): AbortSignal;
77
- };
67
+ declare var AbortController: typeof globalThis extends {onmessage: any; AbortController: infer T}
68
+ ? T
69
+ : {
70
+ prototype: AbortController;
71
+ new(): AbortController;
72
+ };
73
+
74
+ declare var AbortSignal: typeof globalThis extends {onmessage: any; AbortSignal: infer T}
75
+ ? T
76
+ : {
77
+ prototype: AbortSignal;
78
+ new(): AbortSignal;
79
+ // TODO: Add abort() static
80
+ timeout(milliseconds: number): AbortSignal;
81
+ };
78
82
  //#endregion borrowed
79
83
 
80
84
  //#region ArrayLike.at()
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.11.0",
3
+ "version": "18.11.2",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "bec614c152bf72c7a29b996ba58cf8e86e92e1371bf820fac0654a49a16fce5f",
230
+ "typesPublisherContentHash": "d7bbee366053005eb9ad76ecf711181a2633097e3afe20ba0ac3309f73d09afc",
231
231
  "typeScriptVersion": "4.1"
232
232
  }
@@ -6,9 +6,9 @@
6
6
  * const querystring = require('querystring');
7
7
  * ```
8
8
  *
9
- * The `querystring` API is considered Legacy. While it is still maintained,
10
- * new code should use the `URLSearchParams` API instead.
11
- * @deprecated Legacy
9
+ * `querystring` is more performant than `URLSearchParams` but is not a
10
+ * standardized API. Use `URLSearchParams` when performance is not critical
11
+ * or when compatibility with browser code is desirable.
12
12
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
13
13
  */
14
14
  declare module 'querystring' {
@@ -169,8 +169,8 @@ declare module 'buffer' {
169
169
  import { Blob as NodeBlob } from 'buffer';
170
170
  // This conditional type will be the existing global Blob in a browser, or
171
171
  // the copy below in a Node environment.
172
- type __Blob = typeof globalThis extends { onmessage: any, Blob: infer T }
173
- ? T : NodeBlob;
172
+ type __Blob = typeof globalThis extends { onmessage: any, Blob: any }
173
+ ? {} : NodeBlob;
174
174
 
175
175
  global {
176
176
  // Buffer class
@@ -8,8 +8,8 @@ export {}; // Don't export anything!
8
8
 
9
9
  // This conditional type will be the existing global Event in a browser, or
10
10
  // the copy below in a Node environment.
11
- type __Event = typeof globalThis extends { onmessage: any, Event: infer T }
12
- ? T
11
+ type __Event = typeof globalThis extends { onmessage: any, Event: any }
12
+ ? {}
13
13
  : {
14
14
  /** This is not used in Node.js and is provided purely for completeness. */
15
15
  readonly bubbles: boolean;
@@ -48,8 +48,8 @@ type __Event = typeof globalThis extends { onmessage: any, Event: infer T }
48
48
  };
49
49
 
50
50
  // See comment above explaining conditional type
51
- type __EventTarget = typeof globalThis extends { onmessage: any, EventTarget: infer T }
52
- ? T
51
+ type __EventTarget = typeof globalThis extends { onmessage: any, EventTarget: any }
52
+ ? {}
53
53
  : {
54
54
  /**
55
55
  * Adds a new handler for the `type` event. Any given `listener` is added only once per `type` and per `capture` option value.
@@ -6,9 +6,9 @@
6
6
  * const querystring = require('querystring');
7
7
  * ```
8
8
  *
9
- * The `querystring` API is considered Legacy. While it is still maintained,
10
- * new code should use the `URLSearchParams` API instead.
11
- * @deprecated Legacy
9
+ * `querystring` is more performant than `URLSearchParams` but is not a
10
+ * standardized API. Use `URLSearchParams` when performance is not critical
11
+ * or when compatibility with browser code is desirable.
12
12
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
13
13
  */
14
14
  declare module 'querystring' {
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "@typescript-eslint/eslint-plugin": "^5",
59
59
  "@typescript-eslint/parser": "^5",
60
60
  "all-contributors-cli": "^6.24.0",
61
- "esbuild": "^0.15.11",
61
+ "esbuild": "^0.15.12",
62
62
  "eslint": "^8",
63
63
  "eslint-config-prettier": "^8.5.0",
64
64
  "eslint-import-resolver-node": "^0.3.6",
@@ -67,10 +67,10 @@
67
67
  "eslint-plugin-prettier": "^4.2.1",
68
68
  "jest": "^27",
69
69
  "jest-junit": "^13",
70
- "jsii": "^1.69.0",
71
- "jsii-diff": "^1.69.0",
70
+ "jsii": "^1.70.0",
71
+ "jsii-diff": "^1.70.0",
72
72
  "jsii-docgen": "^1.8.110",
73
- "jsii-pacmak": "^1.69.0",
73
+ "jsii-pacmak": "^1.70.0",
74
74
  "json-schema": "^0.4.0",
75
75
  "json5": "^2.2.1",
76
76
  "markmac": "^0.1.146",
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "main": "lib/index.js",
127
127
  "license": "Apache-2.0",
128
- "version": "0.63.27",
128
+ "version": "0.63.29",
129
129
  "jest": {
130
130
  "maxWorkers": "50%",
131
131
  "testMatch": [