projen 0.28.25 → 0.28.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 (95) hide show
  1. package/.jsii +2 -2
  2. package/lib/awscdk-app-ts.js +1 -1
  3. package/lib/awscdk-construct.js +2 -2
  4. package/lib/cdk8s-app-ts.js +1 -1
  5. package/lib/cdk8s-construct.js +1 -1
  6. package/lib/cdktf-construct.js +1 -1
  7. package/lib/cli/cmds/new.js +19 -12
  8. package/lib/component.js +1 -1
  9. package/lib/construct-lib.js +1 -1
  10. package/lib/deps/dependencies.js +1 -1
  11. package/lib/dev-env.js +1 -1
  12. package/lib/docker-compose.js +2 -2
  13. package/lib/eslint.js +1 -1
  14. package/lib/file.js +1 -1
  15. package/lib/git/gitattributes.js +1 -1
  16. package/lib/github/auto-approve.js +1 -1
  17. package/lib/github/auto-merge.js +1 -1
  18. package/lib/github/dependabot.js +1 -1
  19. package/lib/github/github.js +1 -1
  20. package/lib/github/mergify.js +1 -1
  21. package/lib/github/pr-template.js +1 -1
  22. package/lib/github/stale.js +1 -1
  23. package/lib/github/task-workflow.js +1 -1
  24. package/lib/github/workflows.js +1 -1
  25. package/lib/gitpod.js +1 -1
  26. package/lib/ignore-file.js +1 -1
  27. package/lib/ini.js +1 -1
  28. package/lib/java/java-project.js +1 -1
  29. package/lib/java/junit.js +1 -1
  30. package/lib/java/maven-compile.js +1 -1
  31. package/lib/java/maven-packaging.js +1 -1
  32. package/lib/java/maven-sample.js +1 -1
  33. package/lib/java/pom.js +1 -1
  34. package/lib/java/projenrc.js +1 -1
  35. package/lib/javascript/npm-config.js +1 -1
  36. package/lib/javascript/projenrc.js +1 -1
  37. package/lib/jest.js +1 -1
  38. package/lib/jsii-project.js +1 -1
  39. package/lib/json/projenrc.js +1 -1
  40. package/lib/json.js +1 -1
  41. package/lib/license.js +1 -1
  42. package/lib/logger.js +1 -1
  43. package/lib/makefile.js +1 -1
  44. package/lib/node-package.js +1 -1
  45. package/lib/node-project.js +2 -2
  46. package/lib/object-file.js +1 -1
  47. package/lib/project.js +2 -2
  48. package/lib/python/pip.js +1 -1
  49. package/lib/python/poetry.js +2 -2
  50. package/lib/python/projenrc.js +1 -1
  51. package/lib/python/pytest.js +1 -1
  52. package/lib/python/python-project.js +1 -1
  53. package/lib/python/python-sample.js +1 -1
  54. package/lib/python/requirements-file.js +1 -1
  55. package/lib/python/setuppy.js +1 -1
  56. package/lib/python/setuptools.js +1 -1
  57. package/lib/python/venv.js +1 -1
  58. package/lib/readme.js +1 -1
  59. package/lib/release/publisher.js +1 -1
  60. package/lib/release/release.js +1 -1
  61. package/lib/sample-file.js +2 -2
  62. package/lib/semver.js +1 -1
  63. package/lib/source-code.js +1 -1
  64. package/lib/tasks/runtime.js +1 -1
  65. package/lib/tasks/task.js +1 -1
  66. package/lib/tasks/tasks.js +1 -1
  67. package/lib/textfile.js +1 -1
  68. package/lib/toml.js +1 -1
  69. package/lib/typescript/projenrc.js +1 -1
  70. package/lib/typescript-config.js +1 -1
  71. package/lib/typescript.js +3 -3
  72. package/lib/upgrade-dependencies.js +2 -2
  73. package/lib/version.js +1 -1
  74. package/lib/vscode/devcontainer.js +1 -1
  75. package/lib/vscode/launch-config.js +1 -1
  76. package/lib/vscode/vscode.js +1 -1
  77. package/lib/web/next.js +3 -3
  78. package/lib/web/postcss.js +1 -1
  79. package/lib/web/react.js +4 -4
  80. package/lib/web/tailwind.js +1 -1
  81. package/lib/xmlfile.js +1 -1
  82. package/lib/yaml.js +1 -1
  83. package/node_modules/glob/README.md +3 -0
  84. package/node_modules/glob/common.js +2 -0
  85. package/node_modules/glob/glob.js +4 -5
  86. package/node_modules/glob/package.json +2 -1
  87. package/node_modules/glob/sync.js +4 -5
  88. package/node_modules/string-width/package.json +2 -2
  89. package/node_modules/strip-ansi/package.json +2 -2
  90. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
  91. package/node_modules/xmlbuilder2/node_modules/@types/node/child_process.d.ts +18 -16
  92. package/node_modules/xmlbuilder2/node_modules/@types/node/fs.d.ts +29 -14
  93. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
  94. package/package.json +2 -2
  95. package/node_modules/glob/changelog.md +0 -67
@@ -904,42 +904,42 @@ declare module 'fs' {
904
904
  ): Promise<BigIntStats>;
905
905
  function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
906
906
  }
907
- export interface StatSyncFn<TDescriptor = PathLike> extends Function {
908
- (path: TDescriptor, options?: undefined): Stats;
907
+ export interface StatSyncFn extends Function {
908
+ (path: PathLike, options?: undefined): Stats;
909
909
  (
910
- path: TDescriptor,
911
- options?: StatOptions & {
910
+ path: PathLike,
911
+ options?: StatSyncOptions & {
912
912
  bigint?: false | undefined;
913
913
  throwIfNoEntry: false;
914
914
  }
915
915
  ): Stats | undefined;
916
916
  (
917
- path: TDescriptor,
918
- options: StatOptions & {
917
+ path: PathLike,
918
+ options: StatSyncOptions & {
919
919
  bigint: true;
920
920
  throwIfNoEntry: false;
921
921
  }
922
922
  ): BigIntStats | undefined;
923
923
  (
924
- path: TDescriptor,
925
- options?: StatOptions & {
924
+ path: PathLike,
925
+ options?: StatSyncOptions & {
926
926
  bigint?: false | undefined;
927
927
  }
928
928
  ): Stats;
929
929
  (
930
- path: TDescriptor,
931
- options: StatOptions & {
930
+ path: PathLike,
931
+ options: StatSyncOptions & {
932
932
  bigint: true;
933
933
  }
934
934
  ): BigIntStats;
935
935
  (
936
- path: TDescriptor,
937
- options: StatOptions & {
936
+ path: PathLike,
937
+ options: StatSyncOptions & {
938
938
  bigint: boolean;
939
939
  throwIfNoEntry?: false | undefined;
940
940
  }
941
941
  ): Stats | BigIntStats;
942
- (path: TDescriptor, options?: StatOptions): Stats | BigIntStats | undefined;
942
+ (path: PathLike, options?: StatSyncOptions): Stats | BigIntStats | undefined;
943
943
  }
944
944
  /**
945
945
  * Synchronous stat(2) - Get file status.
@@ -993,7 +993,20 @@ declare module 'fs' {
993
993
  * Synchronous fstat(2) - Get file status.
994
994
  * @param fd A file descriptor.
995
995
  */
996
- export const fstatSync: StatSyncFn<number>;
996
+ export function fstatSync(
997
+ fd: number,
998
+ options?: StatOptions & {
999
+ bigint?: false | undefined;
1000
+ }
1001
+ ): Stats;
1002
+ export function fstatSync(
1003
+ fd: number,
1004
+ options: StatOptions & {
1005
+ bigint: true;
1006
+ }
1007
+ ): BigIntStats;
1008
+ export function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
1009
+
997
1010
  /**
998
1011
  * Retrieves the `fs.Stats` for the symbolic link referred to by the path.
999
1012
  * The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
@@ -3662,6 +3675,8 @@ declare module 'fs' {
3662
3675
  }
3663
3676
  export interface StatOptions {
3664
3677
  bigint?: boolean | undefined;
3678
+ }
3679
+ export interface StatSyncOptions extends StatOptions {
3665
3680
  throwIfNoEntry?: boolean | undefined;
3666
3681
  }
3667
3682
  export interface CopyOptions {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.9.4",
3
+ "version": "16.9.6",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -230,6 +230,6 @@
230
230
  },
231
231
  "scripts": {},
232
232
  "dependencies": {},
233
- "typesPublisherContentHash": "3a9ba9eedbc5a775925dde51f42ad45be2e4e6d760b8d1d2e767e82f91cc4d92",
233
+ "typesPublisherContentHash": "c4662ea2cb063daa42b8d823f2e21b1763849312ccfc39f1c758b1540b16ebd8",
234
234
  "typeScriptVersion": "3.7"
235
235
  }
package/package.json CHANGED
@@ -62,7 +62,7 @@
62
62
  "jsii-docgen": "^1.8.110",
63
63
  "jsii-pacmak": "^1.34.0",
64
64
  "json-schema": "^0.3.0",
65
- "markmac": "^0.1.37",
65
+ "markmac": "^0.1.40",
66
66
  "npm-check-updates": "^11",
67
67
  "standard-version": "^9",
68
68
  "typescript": "^3.9.10"
@@ -98,7 +98,7 @@
98
98
  },
99
99
  "main": "lib/index.js",
100
100
  "license": "Apache-2.0",
101
- "version": "0.28.25",
101
+ "version": "0.28.29",
102
102
  "jest": {
103
103
  "testMatch": [
104
104
  "**/lib/__tests__/**/?(*.)+(spec|test).js?(x)"
@@ -1,67 +0,0 @@
1
- ## 7.0
2
-
3
- - Raise error if `options.cwd` is specified, and not a directory
4
-
5
- ## 6.0
6
-
7
- - Remove comment and negation pattern support
8
- - Ignore patterns are always in `dot:true` mode
9
-
10
- ## 5.0
11
-
12
- - Deprecate comment and negation patterns
13
- - Fix regression in `mark` and `nodir` options from making all cache
14
- keys absolute path.
15
- - Abort if `fs.readdir` returns an error that's unexpected
16
- - Don't emit `match` events for ignored items
17
- - Treat ENOTSUP like ENOTDIR in readdir
18
-
19
- ## 4.5
20
-
21
- - Add `options.follow` to always follow directory symlinks in globstar
22
- - Add `options.realpath` to call `fs.realpath` on all results
23
- - Always cache based on absolute path
24
-
25
- ## 4.4
26
-
27
- - Add `options.ignore`
28
- - Fix handling of broken symlinks
29
-
30
- ## 4.3
31
-
32
- - Bump minimatch to 2.x
33
- - Pass all tests on Windows
34
-
35
- ## 4.2
36
-
37
- - Add `glob.hasMagic` function
38
- - Add `options.nodir` flag
39
-
40
- ## 4.1
41
-
42
- - Refactor sync and async implementations for performance
43
- - Throw if callback provided to sync glob function
44
- - Treat symbolic links in globstar results the same as Bash 4.3
45
-
46
- ## 4.0
47
-
48
- - Use `^` for dependency versions (bumped major because this breaks
49
- older npm versions)
50
- - Ensure callbacks are only ever called once
51
- - switch to ISC license
52
-
53
- ## 3.x
54
-
55
- - Rewrite in JavaScript
56
- - Add support for setting root, cwd, and windows support
57
- - Cache many fs calls
58
- - Add globstar support
59
- - emit match events
60
-
61
- ## 2.x
62
-
63
- - Use `glob.h` and `fnmatch.h` from NetBSD
64
-
65
- ## 1.x
66
-
67
- - `glob.h` static binding.