projen-pipelines 0.3.24 → 0.3.26

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 (65) hide show
  1. package/.jsii +51 -31
  2. package/API.md +72 -0
  3. package/lib/assign-approver/base.js +1 -1
  4. package/lib/assign-approver/github.js +1 -1
  5. package/lib/awscdk/base.d.ts +9 -0
  6. package/lib/awscdk/base.js +7 -4
  7. package/lib/awscdk/bash.js +1 -1
  8. package/lib/awscdk/github.js +1 -1
  9. package/lib/awscdk/gitlab.js +1 -1
  10. package/lib/drift/base.js +1 -1
  11. package/lib/drift/bash.js +1 -1
  12. package/lib/drift/github.js +1 -1
  13. package/lib/drift/gitlab.js +1 -1
  14. package/lib/drift/step.js +1 -1
  15. package/lib/steps/amplify-deploy.step.js +1 -1
  16. package/lib/steps/artifact-steps.js +2 -2
  17. package/lib/steps/aws-assume-role.step.js +1 -1
  18. package/lib/steps/github-summary.step.js +1 -1
  19. package/lib/steps/package-manager-setup.step.js +2 -2
  20. package/lib/steps/registries.js +3 -3
  21. package/lib/steps/step.js +4 -4
  22. package/lib/versioning/computation.js +3 -3
  23. package/lib/versioning/config.js +2 -2
  24. package/lib/versioning/outputs.js +5 -5
  25. package/lib/versioning/setup.js +1 -1
  26. package/lib/versioning/strategy.js +1 -1
  27. package/lib/versioning/version-info.js +2 -2
  28. package/node_modules/dotgitignore/node_modules/brace-expansion/index.js +78 -22
  29. package/node_modules/dotgitignore/node_modules/brace-expansion/package.json +1 -1
  30. package/node_modules/is-core-module/CHANGELOG.md +135 -241
  31. package/node_modules/is-core-module/README.md +18 -0
  32. package/node_modules/is-core-module/core.json +1 -0
  33. package/node_modules/is-core-module/index.d.ts +12 -0
  34. package/node_modules/is-core-module/index.js +10 -3
  35. package/node_modules/is-core-module/package.json +24 -10
  36. package/node_modules/meow/node_modules/resolve/lib/core.json +13 -12
  37. package/node_modules/meow/node_modules/resolve/package.json +5 -5
  38. package/node_modules/read-pkg/node_modules/resolve/lib/core.json +13 -12
  39. package/node_modules/read-pkg/node_modules/resolve/package.json +5 -5
  40. package/node_modules/safe-buffer/index.js +0 -3
  41. package/node_modules/safe-buffer/package.json +4 -18
  42. package/node_modules/string_decoder/package.json +2 -5
  43. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +19 -18
  44. package/node_modules/yaml/browser/dist/nodes/Alias.js +25 -23
  45. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +19 -18
  46. package/node_modules/yaml/dist/nodes/Alias.js +25 -23
  47. package/node_modules/yaml/package.json +1 -1
  48. package/package.json +3 -3
  49. package/node_modules/is-core-module/.eslintrc +0 -18
  50. package/node_modules/is-core-module/.nycrc +0 -9
  51. package/node_modules/is-core-module/test/index.js +0 -258
  52. package/node_modules/meow/node_modules/resolve/.claude/notes.md +0 -26
  53. package/node_modules/meow/node_modules/resolve/.claude/settings.local.json +0 -26
  54. package/node_modules/read-pkg/node_modules/resolve/.claude/notes.md +0 -26
  55. package/node_modules/read-pkg/node_modules/resolve/.claude/settings.local.json +0 -26
  56. package/node_modules/through2/node_modules/safe-buffer/LICENSE +0 -21
  57. package/node_modules/through2/node_modules/safe-buffer/README.md +0 -584
  58. package/node_modules/through2/node_modules/safe-buffer/index.d.ts +0 -187
  59. package/node_modules/through2/node_modules/safe-buffer/index.js +0 -62
  60. package/node_modules/through2/node_modules/safe-buffer/package.json +0 -37
  61. package/node_modules/through2/node_modules/string_decoder/LICENSE +0 -48
  62. package/node_modules/through2/node_modules/string_decoder/README.md +0 -47
  63. package/node_modules/through2/node_modules/string_decoder/lib/string_decoder.js +0 -296
  64. package/node_modules/through2/node_modules/string_decoder/package.json +0 -31
  65. /package/node_modules/{through2/node_modules/string_decoder → string_decoder}/.travis.yml +0 -0
@@ -5,345 +5,239 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [v2.16.2](https://github.com/inspect-js/is-core-module.git
9
- /compare/v2.16.1...v2.16.2) - 2026-05-05
8
+ ## [v2.17.0](https://github.com/inspect-js/is-core-module/compare/v2.16.2...v2.17.0) - 2026-09-16
10
9
 
11
10
  ### Commits
12
11
 
13
- - [Tests] increase coverage [`1fc59fe`](https://github.com/inspect-js/is-core-module.git
14
- /commit/1fc59fe685f0b9590b571384db1383ab8e1096a3)
15
- - [actions] update workflows [`0f6217b`](https://github.com/inspect-js/is-core-module.git
16
- /commit/0f6217b97a166fcaa4a02b0a34e0a186c40df660)
17
- - [Fix] node 26 drops _stream_* modules [`3acff68`](https://github.com/inspect-js/is-core-module.git
18
- /commit/3acff68b25b44c9ae6fee1a1dc236ebb7c5338af)
19
- - [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `npmignore` [`f06678c`](https://github.com/inspect-js/is-core-module.git
20
- /commit/f06678ce7f4df97e691a8d285d4aacb5da4a9790)
21
- - [Deps] update `hasown` [`d9eae68`](https://github.com/inspect-js/is-core-module.git
22
- /commit/d9eae68fd912c2268260e52714719d1799e9a08b)
23
- - [Dev Deps] update `@ljharb/eslint-config` [`8273701`](https://github.com/inspect-js/is-core-module.git
24
- /commit/82737010e7f3ed26c6f6183ee082e66a045125b6)
25
- - [readme] replace runkit CI badge with shields.io check-runs badge [`6b86754`](https://github.com/inspect-js/is-core-module.git
26
- /commit/6b867544789c82a40db44031a30612d89978b2d9)
27
-
28
- ## [v2.16.1](https://github.com/inspect-js/is-core-module.git
29
- /compare/v2.16.0...v2.16.1) - 2024-12-21
12
+ - [Dev Deps] update `auto-changelog` [`f5d1e38`](https://github.com/inspect-js/is-core-module/commit/f5d1e38b1ce95708aa8d2b2b39ea8b375cc11720)
13
+ - [New] add types [`0a4846c`](https://github.com/inspect-js/is-core-module/commit/0a4846cf554d2ff8395f22e7ad229474444cf900)
14
+ - [Dev Deps] update `eslint` [`83aa342`](https://github.com/inspect-js/is-core-module/commit/83aa342bbff1c257fb79da505141e1d473fc0ac0)
15
+ - [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `mock-property`, `tape` [`a45ee2a`](https://github.com/inspect-js/is-core-module/commit/a45ee2a629d2161b0ef1d249deb6a3cd3faef2d6)
16
+ - [Deps] update `hasown` [`7f13111`](https://github.com/inspect-js/is-core-module/commit/7f131112305fb39551be5c7460de7dd5ed0c876a)
17
+ - [actions] set least-privilege `cache-mode` [`9b49659`](https://github.com/inspect-js/is-core-module/commit/9b49659d9326babab24568ab1e84a0d14451f531)
18
+ - [Dev Deps] add missing `object-keys` dev dep [`1b3212a`](https://github.com/inspect-js/is-core-module/commit/1b3212a442a3f1eb492a42b9fb4d722a56b8e30b)
19
+ - [New] add `node:ffi` [`5974139`](https://github.com/inspect-js/is-core-module/commit/59741395def3deb5773849d18d79d14baef1cb6e)
20
+
21
+ ## [v2.16.2](https://github.com/inspect-js/is-core-module/compare/v2.16.1...v2.16.2) - 2026-05-05
22
+
23
+ ### Commits
24
+
25
+ - [Tests] increase coverage [`1fc59fe`](https://github.com/inspect-js/is-core-module/commit/1fc59fe685f0b9590b571384db1383ab8e1096a3)
26
+ - [actions] update workflows [`0f6217b`](https://github.com/inspect-js/is-core-module/commit/0f6217b97a166fcaa4a02b0a34e0a186c40df660)
27
+ - [Fix] node 26 drops _stream_* modules [`3acff68`](https://github.com/inspect-js/is-core-module/commit/3acff68b25b44c9ae6fee1a1dc236ebb7c5338af)
28
+ - [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `npmignore` [`f06678c`](https://github.com/inspect-js/is-core-module/commit/f06678ce7f4df97e691a8d285d4aacb5da4a9790)
29
+ - [Deps] update `hasown` [`d9eae68`](https://github.com/inspect-js/is-core-module/commit/d9eae68fd912c2268260e52714719d1799e9a08b)
30
+ - [Dev Deps] update `@ljharb/eslint-config` [`8273701`](https://github.com/inspect-js/is-core-module/commit/82737010e7f3ed26c6f6183ee082e66a045125b6)
31
+ - [readme] replace runkit CI badge with shields.io check-runs badge [`6b86754`](https://github.com/inspect-js/is-core-module/commit/6b867544789c82a40db44031a30612d89978b2d9)
32
+
33
+ ## [v2.16.1](https://github.com/inspect-js/is-core-module/compare/v2.16.0...v2.16.1) - 2024-12-21
30
34
 
31
35
  ### Fixed
32
36
 
33
- - [Fix] `node:sqlite` is available in node ^22.13 [`#17`](https://github.com/inspect-js/is-core-module.git
34
- /issues/17)
37
+ - [Fix] `node:sqlite` is available in node ^22.13 [`#17`](https://github.com/inspect-js/is-core-module/issues/17)
35
38
 
36
- ## [v2.16.0](https://github.com/inspect-js/is-core-module.git
37
- /compare/v2.15.1...v2.16.0) - 2024-12-13
39
+ ## [v2.16.0](https://github.com/inspect-js/is-core-module/compare/v2.15.1...v2.16.0) - 2024-12-13
38
40
 
39
41
  ### Commits
40
42
 
41
- - [New] add `node:sqlite` [`1ee94d2`](https://github.com/inspect-js/is-core-module.git
42
- /commit/1ee94d20857e22cdb24e9b4bb1a2097f2e03e26f)
43
- - [Dev Deps] update `auto-changelog`, `tape` [`aa84aa3`](https://github.com/inspect-js/is-core-module.git
44
- /commit/aa84aa34face677f14e08ec1c737f0c4bba27260)
43
+ - [New] add `node:sqlite` [`1ee94d2`](https://github.com/inspect-js/is-core-module/commit/1ee94d20857e22cdb24e9b4bb1a2097f2e03e26f)
44
+ - [Dev Deps] update `auto-changelog`, `tape` [`aa84aa3`](https://github.com/inspect-js/is-core-module/commit/aa84aa34face677f14e08ec1c737f0c4bba27260)
45
45
 
46
- ## [v2.15.1](https://github.com/inspect-js/is-core-module.git
47
- /compare/v2.15.0...v2.15.1) - 2024-08-21
46
+ ## [v2.15.1](https://github.com/inspect-js/is-core-module/compare/v2.15.0...v2.15.1) - 2024-08-21
48
47
 
49
48
  ### Commits
50
49
 
51
- - [Tests] add `process.getBuiltinModule` tests [`28c7791`](https://github.com/inspect-js/is-core-module.git
52
- /commit/28c7791c196d58c64cfdf638b7e68ed1b62a4da0)
53
- - [Fix] `test/mock_loader` is no longer exposed as of v22.7 [`68b08b0`](https://github.com/inspect-js/is-core-module.git
54
- /commit/68b08b0d7963447dbffa5142e8810dca550383af)
55
- - [Tests] replace `aud` with `npm audit` [`32f8060`](https://github.com/inspect-js/is-core-module.git
56
- /commit/32f806026dac14f9016be4401a643851240c76b9)
57
- - [Dev Deps] update `mock-property` [`f7d3c8f`](https://github.com/inspect-js/is-core-module.git
58
- /commit/f7d3c8f01e922be49621683eb41477c4f50522e1)
59
- - [Dev Deps] add missing peer dep [`eaee885`](https://github.com/inspect-js/is-core-module.git
60
- /commit/eaee885b67238819e9c8ed5bd2098766e1d05331)
50
+ - [Tests] add `process.getBuiltinModule` tests [`28c7791`](https://github.com/inspect-js/is-core-module/commit/28c7791c196d58c64cfdf638b7e68ed1b62a4da0)
51
+ - [Fix] `test/mock_loader` is no longer exposed as of v22.7 [`68b08b0`](https://github.com/inspect-js/is-core-module/commit/68b08b0d7963447dbffa5142e8810dca550383af)
52
+ - [Tests] replace `aud` with `npm audit` [`32f8060`](https://github.com/inspect-js/is-core-module/commit/32f806026dac14f9016be4401a643851240c76b9)
53
+ - [Dev Deps] update `mock-property` [`f7d3c8f`](https://github.com/inspect-js/is-core-module/commit/f7d3c8f01e922be49621683eb41477c4f50522e1)
54
+ - [Dev Deps] add missing peer dep [`eaee885`](https://github.com/inspect-js/is-core-module/commit/eaee885b67238819e9c8ed5bd2098766e1d05331)
61
55
 
62
- ## [v2.15.0](https://github.com/inspect-js/is-core-module.git
63
- /compare/v2.14.0...v2.15.0) - 2024-07-17
56
+ ## [v2.15.0](https://github.com/inspect-js/is-core-module/compare/v2.14.0...v2.15.0) - 2024-07-17
64
57
 
65
58
  ### Commits
66
59
 
67
- - [New] add `node:sea` [`2819fb3`](https://github.com/inspect-js/is-core-module.git
68
- /commit/2819fb3eae312fa64643bc5430ebd06ec0f3fb88)
60
+ - [New] add `node:sea` [`2819fb3`](https://github.com/inspect-js/is-core-module/commit/2819fb3eae312fa64643bc5430ebd06ec0f3fb88)
69
61
 
70
- ## [v2.14.0](https://github.com/inspect-js/is-core-module.git
71
- /compare/v2.13.1...v2.14.0) - 2024-06-20
62
+ ## [v2.14.0](https://github.com/inspect-js/is-core-module/compare/v2.13.1...v2.14.0) - 2024-06-20
72
63
 
73
64
  ### Commits
74
65
 
75
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `mock-property`, `npmignore`, `tape` [`0e43200`](https://github.com/inspect-js/is-core-module.git
76
- /commit/0e432006d97237cc082d41e6a593e87c81068364)
77
- - [meta] add missing `engines.node` [`4ea3af8`](https://github.com/inspect-js/is-core-module.git
78
- /commit/4ea3af88891a1d4f96026f0ec0ef08c67cd1bd24)
79
- - [New] add `test/mock_loader` [`e9fbd29`](https://github.com/inspect-js/is-core-module.git
80
- /commit/e9fbd2951383be070aeffb9ebbf3715237282610)
81
- - [Deps] update `hasown` [`57f1940`](https://github.com/inspect-js/is-core-module.git
82
- /commit/57f1940947b3e368abdf529232d2f17d88909358)
66
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `mock-property`, `npmignore`, `tape` [`0e43200`](https://github.com/inspect-js/is-core-module/commit/0e432006d97237cc082d41e6a593e87c81068364)
67
+ - [meta] add missing `engines.node` [`4ea3af8`](https://github.com/inspect-js/is-core-module/commit/4ea3af88891a1d4f96026f0ec0ef08c67cd1bd24)
68
+ - [New] add `test/mock_loader` [`e9fbd29`](https://github.com/inspect-js/is-core-module/commit/e9fbd2951383be070aeffb9ebbf3715237282610)
69
+ - [Deps] update `hasown` [`57f1940`](https://github.com/inspect-js/is-core-module/commit/57f1940947b3e368abdf529232d2f17d88909358)
83
70
 
84
- ## [v2.13.1](https://github.com/inspect-js/is-core-module.git
85
- /compare/v2.13.0...v2.13.1) - 2023-10-20
71
+ ## [v2.13.1](https://github.com/inspect-js/is-core-module/compare/v2.13.0...v2.13.1) - 2023-10-20
86
72
 
87
73
  ### Commits
88
74
 
89
- - [Refactor] use `hasown` instead of `has` [`0e52096`](https://github.com/inspect-js/is-core-module.git
90
- /commit/0e520968b0a725276b67420ab4b877486b243ae0)
91
- - [Dev Deps] update `mock-property`, `tape` [`8736b35`](https://github.com/inspect-js/is-core-module.git
92
- /commit/8736b35464d0f297b55da2c6b30deee04b8303c5)
75
+ - [Refactor] use `hasown` instead of `has` [`0e52096`](https://github.com/inspect-js/is-core-module/commit/0e520968b0a725276b67420ab4b877486b243ae0)
76
+ - [Dev Deps] update `mock-property`, `tape` [`8736b35`](https://github.com/inspect-js/is-core-module/commit/8736b35464d0f297b55da2c6b30deee04b8303c5)
93
77
 
94
- ## [v2.13.0](https://github.com/inspect-js/is-core-module.git
95
- /compare/v2.12.1...v2.13.0) - 2023-08-05
78
+ ## [v2.13.0](https://github.com/inspect-js/is-core-module/compare/v2.12.1...v2.13.0) - 2023-08-05
96
79
 
97
80
  ### Commits
98
81
 
99
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `semver`, `tape` [`c75b263`](https://github.com/inspect-js/is-core-module.git
100
- /commit/c75b263d047cb53430c3970107e5eb64d6cd6c0c)
101
- - [New] `node:test/reporters` and `wasi`/`node:wasi` are in v18.17 [`d76cbf8`](https://github.com/inspect-js/is-core-module.git
102
- /commit/d76cbf8e9b208acfd98913fed5a5f45cb15fe5dc)
82
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `semver`, `tape` [`c75b263`](https://github.com/inspect-js/is-core-module/commit/c75b263d047cb53430c3970107e5eb64d6cd6c0c)
83
+ - [New] `node:test/reporters` and `wasi`/`node:wasi` are in v18.17 [`d76cbf8`](https://github.com/inspect-js/is-core-module/commit/d76cbf8e9b208acfd98913fed5a5f45cb15fe5dc)
103
84
 
104
- ## [v2.12.1](https://github.com/inspect-js/is-core-module.git
105
- /compare/v2.12.0...v2.12.1) - 2023-05-16
85
+ ## [v2.12.1](https://github.com/inspect-js/is-core-module/compare/v2.12.0...v2.12.1) - 2023-05-16
106
86
 
107
87
  ### Commits
108
88
 
109
- - [Fix] `test/reporters` now requires the `node:` prefix as of v20.2 [`12183d0`](https://github.com/inspect-js/is-core-module.git
110
- /commit/12183d0d8e4edf56b6ce18a1b3be54bfce10175b)
89
+ - [Fix] `test/reporters` now requires the `node:` prefix as of v20.2 [`12183d0`](https://github.com/inspect-js/is-core-module/commit/12183d0d8e4edf56b6ce18a1b3be54bfce10175b)
111
90
 
112
- ## [v2.12.0](https://github.com/inspect-js/is-core-module.git
113
- /compare/v2.11.0...v2.12.0) - 2023-04-10
91
+ ## [v2.12.0](https://github.com/inspect-js/is-core-module/compare/v2.11.0...v2.12.0) - 2023-04-10
114
92
 
115
93
  ### Commits
116
94
 
117
- - [actions] update rebase action to use reusable workflow [`c0a7251`](https://github.com/inspect-js/is-core-module.git
118
- /commit/c0a7251f734f3c621932c5fcdfd1bf966b42ca32)
119
- - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9ae8b7f`](https://github.com/inspect-js/is-core-module.git
120
- /commit/9ae8b7fac03c369861d0991b4a2ce8d4848e6a7d)
121
- - [New] `test/reporters` added in v19.9, `wasi` added in v20 [`9d5341a`](https://github.com/inspect-js/is-core-module.git
122
- /commit/9d5341ab32053f25b7fa7db3c0e18461db24a79c)
123
- - [Dev Deps] add missing `in-publish` dep [`5980245`](https://github.com/inspect-js/is-core-module.git
124
- /commit/59802456e9ac919fa748f53be9d8fbf304a197df)
95
+ - [actions] update rebase action to use reusable workflow [`c0a7251`](https://github.com/inspect-js/is-core-module/commit/c0a7251f734f3c621932c5fcdfd1bf966b42ca32)
96
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`9ae8b7f`](https://github.com/inspect-js/is-core-module/commit/9ae8b7fac03c369861d0991b4a2ce8d4848e6a7d)
97
+ - [New] `test/reporters` added in v19.9, `wasi` added in v20 [`9d5341a`](https://github.com/inspect-js/is-core-module/commit/9d5341ab32053f25b7fa7db3c0e18461db24a79c)
98
+ - [Dev Deps] add missing `in-publish` dep [`5980245`](https://github.com/inspect-js/is-core-module/commit/59802456e9ac919fa748f53be9d8fbf304a197df)
125
99
 
126
- ## [v2.11.0](https://github.com/inspect-js/is-core-module.git
127
- /compare/v2.10.0...v2.11.0) - 2022-10-18
100
+ ## [v2.11.0](https://github.com/inspect-js/is-core-module/compare/v2.10.0...v2.11.0) - 2022-10-18
128
101
 
129
102
  ### Commits
130
103
 
131
- - [meta] use `npmignore` to autogenerate an npmignore file [`3360011`](https://github.com/inspect-js/is-core-module.git
132
- /commit/33600118857b46177178072fba2affcdeb009d12)
133
- - [Dev Deps] update `aud`, `tape` [`651c6b0`](https://github.com/inspect-js/is-core-module.git
134
- /commit/651c6b0cc2799d4130866cf43ad333dcade3d26c)
135
- - [New] `inspector/promises` and `node:inspector/promises` is now available in node 19 [`22d332f`](https://github.com/inspect-js/is-core-module.git
136
- /commit/22d332fe22ac050305444e0781ff85af819abcb0)
104
+ - [meta] use `npmignore` to autogenerate an npmignore file [`3360011`](https://github.com/inspect-js/is-core-module/commit/33600118857b46177178072fba2affcdeb009d12)
105
+ - [Dev Deps] update `aud`, `tape` [`651c6b0`](https://github.com/inspect-js/is-core-module/commit/651c6b0cc2799d4130866cf43ad333dcade3d26c)
106
+ - [New] `inspector/promises` and `node:inspector/promises` is now available in node 19 [`22d332f`](https://github.com/inspect-js/is-core-module/commit/22d332fe22ac050305444e0781ff85af819abcb0)
137
107
 
138
- ## [v2.10.0](https://github.com/inspect-js/is-core-module.git
139
- /compare/v2.9.0...v2.10.0) - 2022-08-03
108
+ ## [v2.10.0](https://github.com/inspect-js/is-core-module/compare/v2.9.0...v2.10.0) - 2022-08-03
140
109
 
141
110
  ### Commits
142
111
 
143
- - [New] `node:test` is now available in node ^16.17 [`e8fd36e`](https://github.com/inspect-js/is-core-module.git
144
- /commit/e8fd36e9b86c917775a07cc473b62a3294f459f2)
145
- - [Tests] improve skip message [`c014a4c`](https://github.com/inspect-js/is-core-module.git
146
- /commit/c014a4c0cd6eb15fff573ae4709191775e70cab4)
112
+ - [New] `node:test` is now available in node ^16.17 [`e8fd36e`](https://github.com/inspect-js/is-core-module/commit/e8fd36e9b86c917775a07cc473b62a3294f459f2)
113
+ - [Tests] improve skip message [`c014a4c`](https://github.com/inspect-js/is-core-module/commit/c014a4c0cd6eb15fff573ae4709191775e70cab4)
147
114
 
148
- ## [v2.9.0](https://github.com/inspect-js/is-core-module.git
149
- /compare/v2.8.1...v2.9.0) - 2022-04-19
115
+ ## [v2.9.0](https://github.com/inspect-js/is-core-module/compare/v2.8.1...v2.9.0) - 2022-04-19
150
116
 
151
117
  ### Commits
152
118
 
153
- - [New] add `node:test`, in node 18+ [`f853eca`](https://github.com/inspect-js/is-core-module.git
154
- /commit/f853eca801d0a7d4e1dbb670f1b6d9837d9533c5)
155
- - [Tests] use `mock-property` [`03b3644`](https://github.com/inspect-js/is-core-module.git
156
- /commit/03b3644dff4417f4ba5a7d0aa0138f5f6b3e5c46)
157
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`7c0e2d0`](https://github.com/inspect-js/is-core-module.git
158
- /commit/7c0e2d06ed2a89acf53abe2ab34d703ed5b03455)
159
- - [meta] simplify "exports" [`d6ed201`](https://github.com/inspect-js/is-core-module.git
160
- /commit/d6ed201eba7fbba0e59814a9050fc49a6e9878c8)
119
+ - [New] add `node:test`, in node 18+ [`f853eca`](https://github.com/inspect-js/is-core-module/commit/f853eca801d0a7d4e1dbb670f1b6d9837d9533c5)
120
+ - [Tests] use `mock-property` [`03b3644`](https://github.com/inspect-js/is-core-module/commit/03b3644dff4417f4ba5a7d0aa0138f5f6b3e5c46)
121
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`7c0e2d0`](https://github.com/inspect-js/is-core-module/commit/7c0e2d06ed2a89acf53abe2ab34d703ed5b03455)
122
+ - [meta] simplify "exports" [`d6ed201`](https://github.com/inspect-js/is-core-module/commit/d6ed201eba7fbba0e59814a9050fc49a6e9878c8)
161
123
 
162
- ## [v2.8.1](https://github.com/inspect-js/is-core-module.git
163
- /compare/v2.8.0...v2.8.1) - 2022-01-05
124
+ ## [v2.8.1](https://github.com/inspect-js/is-core-module/compare/v2.8.0...v2.8.1) - 2022-01-05
164
125
 
165
126
  ### Commits
166
127
 
167
- - [actions] reuse common workflows [`cd2cf9b`](https://github.com/inspect-js/is-core-module.git
168
- /commit/cd2cf9b3b66c8d328f65610efe41e9325db7716d)
169
- - [Fix] update node 0.4 results [`062195d`](https://github.com/inspect-js/is-core-module.git
170
- /commit/062195d89f0876a88b95d378b43f7fcc1205bc5b)
171
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0790b62`](https://github.com/inspect-js/is-core-module.git
172
- /commit/0790b6222848c6167132f9f73acc3520fa8d1298)
173
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`7d139a6`](https://github.com/inspect-js/is-core-module.git
174
- /commit/7d139a6d767709eabf0a0251e074ec1fb230c06e)
175
- - [Tests] run `nyc` in `tests-only`, not `test` [`780e8a0`](https://github.com/inspect-js/is-core-module.git
176
- /commit/780e8a049951c71cf78b1707f0871c48a28bde14)
128
+ - [actions] reuse common workflows [`cd2cf9b`](https://github.com/inspect-js/is-core-module/commit/cd2cf9b3b66c8d328f65610efe41e9325db7716d)
129
+ - [Fix] update node 0.4 results [`062195d`](https://github.com/inspect-js/is-core-module/commit/062195d89f0876a88b95d378b43f7fcc1205bc5b)
130
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0790b62`](https://github.com/inspect-js/is-core-module/commit/0790b6222848c6167132f9f73acc3520fa8d1298)
131
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`7d139a6`](https://github.com/inspect-js/is-core-module/commit/7d139a6d767709eabf0a0251e074ec1fb230c06e)
132
+ - [Tests] run `nyc` in `tests-only`, not `test` [`780e8a0`](https://github.com/inspect-js/is-core-module/commit/780e8a049951c71cf78b1707f0871c48a28bde14)
177
133
 
178
- ## [v2.8.0](https://github.com/inspect-js/is-core-module.git
179
- /compare/v2.7.0...v2.8.0) - 2021-10-14
134
+ ## [v2.8.0](https://github.com/inspect-js/is-core-module/compare/v2.7.0...v2.8.0) - 2021-10-14
180
135
 
181
136
  ### Commits
182
137
 
183
- - [actions] update codecov uploader [`0cfe94e`](https://github.com/inspect-js/is-core-module.git
184
- /commit/0cfe94e106a7d005ea03e008c0a21dec13a77904)
185
- - [New] add `readline/promises` to node v17+ [`4f78c30`](https://github.com/inspect-js/is-core-module.git
186
- /commit/4f78c3008b1b58b4db6dc91d99610b1bc859da7e)
187
- - [Tests] node ^14.18 supports `node:` prefixes for CJS [`43e2f17`](https://github.com/inspect-js/is-core-module.git
188
- /commit/43e2f177452cea2f0eaf34f61b5407217bbdb6f4)
138
+ - [actions] update codecov uploader [`0cfe94e`](https://github.com/inspect-js/is-core-module/commit/0cfe94e106a7d005ea03e008c0a21dec13a77904)
139
+ - [New] add `readline/promises` to node v17+ [`4f78c30`](https://github.com/inspect-js/is-core-module/commit/4f78c3008b1b58b4db6dc91d99610b1bc859da7e)
140
+ - [Tests] node ^14.18 supports `node:` prefixes for CJS [`43e2f17`](https://github.com/inspect-js/is-core-module/commit/43e2f177452cea2f0eaf34f61b5407217bbdb6f4)
189
141
 
190
- ## [v2.7.0](https://github.com/inspect-js/is-core-module.git
191
- /compare/v2.6.0...v2.7.0) - 2021-09-27
142
+ ## [v2.7.0](https://github.com/inspect-js/is-core-module/compare/v2.6.0...v2.7.0) - 2021-09-27
192
143
 
193
144
  ### Commits
194
145
 
195
- - [New] node `v14.18` added `node:`-prefixed core modules to `require` [`6d943ab`](https://github.com/inspect-js/is-core-module.git
196
- /commit/6d943abe81382b9bbe344384d80fbfebe1cc0526)
197
- - [Tests] add coverage for Object.prototype pollution [`c6baf5f`](https://github.com/inspect-js/is-core-module.git
198
- /commit/c6baf5f942311a1945c1af41167bb80b84df2af7)
199
- - [Dev Deps] update `@ljharb/eslint-config` [`6717f00`](https://github.com/inspect-js/is-core-module.git
200
- /commit/6717f000d063ea57beb772bded36c2f056ac404c)
201
- - [eslint] fix linter warning [`594c10b`](https://github.com/inspect-js/is-core-module.git
202
- /commit/594c10bb7d39d7eb00925c90924199ff596184b2)
203
- - [meta] add `sideEffects` flag [`c32cfa5`](https://github.com/inspect-js/is-core-module.git
204
- /commit/c32cfa5195632944c4dd4284a142b8476e75be13)
146
+ - [New] node `v14.18` added `node:`-prefixed core modules to `require` [`6d943ab`](https://github.com/inspect-js/is-core-module/commit/6d943abe81382b9bbe344384d80fbfebe1cc0526)
147
+ - [Tests] add coverage for Object.prototype pollution [`c6baf5f`](https://github.com/inspect-js/is-core-module/commit/c6baf5f942311a1945c1af41167bb80b84df2af7)
148
+ - [Dev Deps] update `@ljharb/eslint-config` [`6717f00`](https://github.com/inspect-js/is-core-module/commit/6717f000d063ea57beb772bded36c2f056ac404c)
149
+ - [eslint] fix linter warning [`594c10b`](https://github.com/inspect-js/is-core-module/commit/594c10bb7d39d7eb00925c90924199ff596184b2)
150
+ - [meta] add `sideEffects` flag [`c32cfa5`](https://github.com/inspect-js/is-core-module/commit/c32cfa5195632944c4dd4284a142b8476e75be13)
205
151
 
206
- ## [v2.6.0](https://github.com/inspect-js/is-core-module.git
207
- /compare/v2.5.0...v2.6.0) - 2021-08-17
152
+ ## [v2.6.0](https://github.com/inspect-js/is-core-module/compare/v2.5.0...v2.6.0) - 2021-08-17
208
153
 
209
154
  ### Commits
210
155
 
211
- - [Dev Deps] update `eslint`, `tape` [`6cc928f`](https://github.com/inspect-js/is-core-module.git
212
- /commit/6cc928f8a4bba66aeeccc4f6beeac736d4bd3081)
213
- - [New] add `stream/consumers` to node `>= 16.7` [`a1a423e`](https://github.com/inspect-js/is-core-module.git
214
- /commit/a1a423e467e4cc27df180234fad5bab45943e67d)
215
- - [Refactor] Remove duplicated `&&` operand [`86faea7`](https://github.com/inspect-js/is-core-module.git
216
- /commit/86faea738213a2433c62d1098488dc9314dca832)
217
- - [Tests] include prereleases [`a4da7a6`](https://github.com/inspect-js/is-core-module.git
218
- /commit/a4da7a6abf7568e2aa4fd98e69452179f1850963)
156
+ - [Dev Deps] update `eslint`, `tape` [`6cc928f`](https://github.com/inspect-js/is-core-module/commit/6cc928f8a4bba66aeeccc4f6beeac736d4bd3081)
157
+ - [New] add `stream/consumers` to node `>= 16.7` [`a1a423e`](https://github.com/inspect-js/is-core-module/commit/a1a423e467e4cc27df180234fad5bab45943e67d)
158
+ - [Refactor] Remove duplicated `&&` operand [`86faea7`](https://github.com/inspect-js/is-core-module/commit/86faea738213a2433c62d1098488dc9314dca832)
159
+ - [Tests] include prereleases [`a4da7a6`](https://github.com/inspect-js/is-core-module/commit/a4da7a6abf7568e2aa4fd98e69452179f1850963)
219
160
 
220
- ## [v2.5.0](https://github.com/inspect-js/is-core-module.git
221
- /compare/v2.4.0...v2.5.0) - 2021-07-12
161
+ ## [v2.5.0](https://github.com/inspect-js/is-core-module/compare/v2.4.0...v2.5.0) - 2021-07-12
222
162
 
223
163
  ### Commits
224
164
 
225
- - [Dev Deps] update `auto-changelog`, `eslint` [`6334cc9`](https://github.com/inspect-js/is-core-module.git
226
- /commit/6334cc94f3af7469685bd8f236740991baaf2705)
227
- - [New] add `stream/web` to node v16.5+ [`17ac59b`](https://github.com/inspect-js/is-core-module.git
228
- /commit/17ac59b662d63e220a2e5728625f005c24f177b2)
165
+ - [Dev Deps] update `auto-changelog`, `eslint` [`6334cc9`](https://github.com/inspect-js/is-core-module/commit/6334cc94f3af7469685bd8f236740991baaf2705)
166
+ - [New] add `stream/web` to node v16.5+ [`17ac59b`](https://github.com/inspect-js/is-core-module/commit/17ac59b662d63e220a2e5728625f005c24f177b2)
229
167
 
230
- ## [v2.4.0](https://github.com/inspect-js/is-core-module.git
231
- /compare/v2.3.0...v2.4.0) - 2021-05-09
168
+ ## [v2.4.0](https://github.com/inspect-js/is-core-module/compare/v2.3.0...v2.4.0) - 2021-05-09
232
169
 
233
170
  ### Commits
234
171
 
235
- - [readme] add actions and codecov badges [`82b7faa`](https://github.com/inspect-js/is-core-module.git
236
- /commit/82b7faa12b56dbe47fbea67e1a5b9e447027ba40)
237
- - [Dev Deps] update `@ljharb/eslint-config`, `aud` [`8096868`](https://github.com/inspect-js/is-core-module.git
238
- /commit/8096868c024a161ccd4d44110b136763e92eace8)
239
- - [Dev Deps] update `eslint` [`6726824`](https://github.com/inspect-js/is-core-module.git
240
- /commit/67268249b88230018c510f6532a8046d7326346f)
241
- - [New] add `diagnostics_channel` to node `^14.17` [`86c6563`](https://github.com/inspect-js/is-core-module.git
242
- /commit/86c65634201b8ff9b3e48a9a782594579c7f5c3c)
243
- - [meta] fix prepublish script [`697a01e`](https://github.com/inspect-js/is-core-module.git
244
- /commit/697a01e3c9c0be074066520954f30fb28532ec57)
172
+ - [readme] add actions and codecov badges [`82b7faa`](https://github.com/inspect-js/is-core-module/commit/82b7faa12b56dbe47fbea67e1a5b9e447027ba40)
173
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud` [`8096868`](https://github.com/inspect-js/is-core-module/commit/8096868c024a161ccd4d44110b136763e92eace8)
174
+ - [Dev Deps] update `eslint` [`6726824`](https://github.com/inspect-js/is-core-module/commit/67268249b88230018c510f6532a8046d7326346f)
175
+ - [New] add `diagnostics_channel` to node `^14.17` [`86c6563`](https://github.com/inspect-js/is-core-module/commit/86c65634201b8ff9b3e48a9a782594579c7f5c3c)
176
+ - [meta] fix prepublish script [`697a01e`](https://github.com/inspect-js/is-core-module/commit/697a01e3c9c0be074066520954f30fb28532ec57)
245
177
 
246
- ## [v2.3.0](https://github.com/inspect-js/is-core-module.git
247
- /compare/v2.2.0...v2.3.0) - 2021-04-24
178
+ ## [v2.3.0](https://github.com/inspect-js/is-core-module/compare/v2.2.0...v2.3.0) - 2021-04-24
248
179
 
249
180
  ### Commits
250
181
 
251
- - [meta] do not publish github action workflow files [`060d4bb`](https://github.com/inspect-js/is-core-module.git
252
- /commit/060d4bb971a29451c19ff336eb56bee27f9fa95a)
253
- - [New] add support for `node:` prefix, in node 16+ [`7341223`](https://github.com/inspect-js/is-core-module.git
254
- /commit/73412230a769f6e81c05eea50b6520cebf54ed2f)
255
- - [actions] use `node/install` instead of `node/run`; use `codecov` action [`016269a`](https://github.com/inspect-js/is-core-module.git
256
- /commit/016269abae9f6657a5254adfbb813f09a05067f9)
257
- - [patch] remove unneeded `.0` in version ranges [`cb466a6`](https://github.com/inspect-js/is-core-module.git
258
- /commit/cb466a6d89e52b8389e5c12715efcd550c41cea3)
259
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`c9f9c39`](https://github.com/inspect-js/is-core-module.git
260
- /commit/c9f9c396ace60ef81906f98059c064e6452473ed)
261
- - [actions] update workflows [`3ee4a89`](https://github.com/inspect-js/is-core-module.git
262
- /commit/3ee4a89fd5a02fccd43882d905448ea6a98e9a3c)
263
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`dee4fed`](https://github.com/inspect-js/is-core-module.git
264
- /commit/dee4fed79690c1d43a22f7fa9426abebdc6d727f)
265
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`7d046ba`](https://github.com/inspect-js/is-core-module.git
266
- /commit/7d046ba07ae8c9292e43652694ca808d7b309de8)
267
- - [meta] use `prepublishOnly` script for npm 7+ [`149e677`](https://github.com/inspect-js/is-core-module.git
268
- /commit/149e6771a5ede6d097e71785b467a9c4b4977cc7)
269
- - [readme] remove travis badge [`903b51d`](https://github.com/inspect-js/is-core-module.git
270
- /commit/903b51d6b69b98abeabfbc3695c345b02646f19c)
271
-
272
- ## [v2.2.0](https://github.com/inspect-js/is-core-module.git
273
- /compare/v2.1.0...v2.2.0) - 2020-11-26
182
+ - [meta] do not publish github action workflow files [`060d4bb`](https://github.com/inspect-js/is-core-module/commit/060d4bb971a29451c19ff336eb56bee27f9fa95a)
183
+ - [New] add support for `node:` prefix, in node 16+ [`7341223`](https://github.com/inspect-js/is-core-module/commit/73412230a769f6e81c05eea50b6520cebf54ed2f)
184
+ - [actions] use `node/install` instead of `node/run`; use `codecov` action [`016269a`](https://github.com/inspect-js/is-core-module/commit/016269abae9f6657a5254adfbb813f09a05067f9)
185
+ - [patch] remove unneeded `.0` in version ranges [`cb466a6`](https://github.com/inspect-js/is-core-module/commit/cb466a6d89e52b8389e5c12715efcd550c41cea3)
186
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`c9f9c39`](https://github.com/inspect-js/is-core-module/commit/c9f9c396ace60ef81906f98059c064e6452473ed)
187
+ - [actions] update workflows [`3ee4a89`](https://github.com/inspect-js/is-core-module/commit/3ee4a89fd5a02fccd43882d905448ea6a98e9a3c)
188
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`dee4fed`](https://github.com/inspect-js/is-core-module/commit/dee4fed79690c1d43a22f7fa9426abebdc6d727f)
189
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`7d046ba`](https://github.com/inspect-js/is-core-module/commit/7d046ba07ae8c9292e43652694ca808d7b309de8)
190
+ - [meta] use `prepublishOnly` script for npm 7+ [`149e677`](https://github.com/inspect-js/is-core-module/commit/149e6771a5ede6d097e71785b467a9c4b4977cc7)
191
+ - [readme] remove travis badge [`903b51d`](https://github.com/inspect-js/is-core-module/commit/903b51d6b69b98abeabfbc3695c345b02646f19c)
192
+
193
+ ## [v2.2.0](https://github.com/inspect-js/is-core-module/compare/v2.1.0...v2.2.0) - 2020-11-26
274
194
 
275
195
  ### Commits
276
196
 
277
- - [Tests] migrate tests to Github Actions [`c919f57`](https://github.com/inspect-js/is-core-module.git
278
- /commit/c919f573c0a92d10a0acad0b650b5aecb033d426)
279
- - [patch] `core.json`: %s/ /\t/g [`db3f685`](https://github.com/inspect-js/is-core-module.git
280
- /commit/db3f68581f53e73cc09cd675955eb1bdd6a5a39b)
281
- - [Tests] run `nyc` on all tests [`b2f925f`](https://github.com/inspect-js/is-core-module.git
282
- /commit/b2f925f8866f210ef441f39fcc8cc42692ab89b1)
283
- - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`; add `safe-publish-latest` [`89f02a2`](https://github.com/inspect-js/is-core-module.git
284
- /commit/89f02a2b4162246dea303a6ee31bb9a550b05c72)
285
- - [New] add `path/posix`, `path/win32`, `util/types` [`77f94f1`](https://github.com/inspect-js/is-core-module.git
286
- /commit/77f94f1e90ffd7c0be2a3f1aa8574ebf7fd981b3)
197
+ - [Tests] migrate tests to Github Actions [`c919f57`](https://github.com/inspect-js/is-core-module/commit/c919f573c0a92d10a0acad0b650b5aecb033d426)
198
+ - [patch] `core.json`: %s/ /\t/g [`db3f685`](https://github.com/inspect-js/is-core-module/commit/db3f68581f53e73cc09cd675955eb1bdd6a5a39b)
199
+ - [Tests] run `nyc` on all tests [`b2f925f`](https://github.com/inspect-js/is-core-module/commit/b2f925f8866f210ef441f39fcc8cc42692ab89b1)
200
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`; add `safe-publish-latest` [`89f02a2`](https://github.com/inspect-js/is-core-module/commit/89f02a2b4162246dea303a6ee31bb9a550b05c72)
201
+ - [New] add `path/posix`, `path/win32`, `util/types` [`77f94f1`](https://github.com/inspect-js/is-core-module/commit/77f94f1e90ffd7c0be2a3f1aa8574ebf7fd981b3)
287
202
 
288
- ## [v2.1.0](https://github.com/inspect-js/is-core-module.git
289
- /compare/v2.0.0...v2.1.0) - 2020-11-04
203
+ ## [v2.1.0](https://github.com/inspect-js/is-core-module/compare/v2.0.0...v2.1.0) - 2020-11-04
290
204
 
291
205
  ### Commits
292
206
 
293
- - [Dev Deps] update `eslint` [`5e0034e`](https://github.com/inspect-js/is-core-module.git
294
- /commit/5e0034eae57c09c8f1bd769f502486a00f56c6e4)
295
- - [New] Add `diagnostics_channel` [`c2d83d0`](https://github.com/inspect-js/is-core-module.git
296
- /commit/c2d83d0a0225a1a658945d9bab7036ea347d29ec)
207
+ - [Dev Deps] update `eslint` [`5e0034e`](https://github.com/inspect-js/is-core-module/commit/5e0034eae57c09c8f1bd769f502486a00f56c6e4)
208
+ - [New] Add `diagnostics_channel` [`c2d83d0`](https://github.com/inspect-js/is-core-module/commit/c2d83d0a0225a1a658945d9bab7036ea347d29ec)
297
209
 
298
- ## [v2.0.0](https://github.com/inspect-js/is-core-module.git
299
- /compare/v1.0.2...v2.0.0) - 2020-09-29
210
+ ## [v2.0.0](https://github.com/inspect-js/is-core-module/compare/v1.0.2...v2.0.0) - 2020-09-29
300
211
 
301
212
  ### Commits
302
213
 
303
- - v2 implementation [`865aeb5`](https://github.com/inspect-js/is-core-module.git
304
- /commit/865aeb5ca0e90248a3dfff5d7622e4751fdeb9cd)
305
- - Only apps should have lockfiles [`5a5e660`](https://github.com/inspect-js/is-core-module.git
306
- /commit/5a5e660d568e37eb44e17fb1ebb12a105205fc2b)
307
- - Initial commit for v2 [`5a51524`](https://github.com/inspect-js/is-core-module.git
308
- /commit/5a51524e06f92adece5fbb138c69b7b9748a2348)
309
- - Tests [`116eae4`](https://github.com/inspect-js/is-core-module.git
310
- /commit/116eae4fccd01bc72c1fd3cc4b7561c387afc496)
311
- - [meta] add `auto-changelog` [`c24388b`](https://github.com/inspect-js/is-core-module.git
312
- /commit/c24388bee828d223040519d1f5b226ca35beee63)
313
- - [actions] add "Automatic Rebase" and "require allow edits" actions [`34292db`](https://github.com/inspect-js/is-core-module.git
314
- /commit/34292dbcbadae0868aff03c22dbd8b7b8a11558a)
315
- - [Tests] add `npm run lint` [`4f9eeee`](https://github.com/inspect-js/is-core-module.git
316
- /commit/4f9eeee7ddff10698bbf528620f4dc8d4fa3e697)
317
- - [readme] fix travis badges, https all URLs [`e516a73`](https://github.com/inspect-js/is-core-module.git
318
- /commit/e516a73b0dccce20938c432b1ba512eae8eff9e9)
319
- - [meta] create FUNDING.yml [`1aabebc`](https://github.com/inspect-js/is-core-module.git
320
- /commit/1aabebca98d01f8a04e46bc2e2520fa93cf21ac6)
321
- - [Fix] `domain`: domain landed sometime > v0.7.7 and <= v0.7.12 [`2df7d37`](https://github.com/inspect-js/is-core-module.git
322
- /commit/2df7d37595d41b15eeada732b706b926c2771655)
323
- - [Fix] `sys`: worked in 0.6, not 0.7, and 0.8+ [`a75c134`](https://github.com/inspect-js/is-core-module.git
324
- /commit/a75c134229e1e9441801f6b73f6a52489346eb65)
325
-
326
- ## [v1.0.2](https://github.com/inspect-js/is-core-module.git
327
- /compare/v1.0.1...v1.0.2) - 2014-09-28
214
+ - v2 implementation [`865aeb5`](https://github.com/inspect-js/is-core-module/commit/865aeb5ca0e90248a3dfff5d7622e4751fdeb9cd)
215
+ - Only apps should have lockfiles [`5a5e660`](https://github.com/inspect-js/is-core-module/commit/5a5e660d568e37eb44e17fb1ebb12a105205fc2b)
216
+ - Initial commit for v2 [`5a51524`](https://github.com/inspect-js/is-core-module/commit/5a51524e06f92adece5fbb138c69b7b9748a2348)
217
+ - Tests [`116eae4`](https://github.com/inspect-js/is-core-module/commit/116eae4fccd01bc72c1fd3cc4b7561c387afc496)
218
+ - [meta] add `auto-changelog` [`c24388b`](https://github.com/inspect-js/is-core-module/commit/c24388bee828d223040519d1f5b226ca35beee63)
219
+ - [actions] add "Automatic Rebase" and "require allow edits" actions [`34292db`](https://github.com/inspect-js/is-core-module/commit/34292dbcbadae0868aff03c22dbd8b7b8a11558a)
220
+ - [Tests] add `npm run lint` [`4f9eeee`](https://github.com/inspect-js/is-core-module/commit/4f9eeee7ddff10698bbf528620f4dc8d4fa3e697)
221
+ - [readme] fix travis badges, https all URLs [`e516a73`](https://github.com/inspect-js/is-core-module/commit/e516a73b0dccce20938c432b1ba512eae8eff9e9)
222
+ - [meta] create FUNDING.yml [`1aabebc`](https://github.com/inspect-js/is-core-module/commit/1aabebca98d01f8a04e46bc2e2520fa93cf21ac6)
223
+ - [Fix] `domain`: domain landed sometime > v0.7.7 and <= v0.7.12 [`2df7d37`](https://github.com/inspect-js/is-core-module/commit/2df7d37595d41b15eeada732b706b926c2771655)
224
+ - [Fix] `sys`: worked in 0.6, not 0.7, and 0.8+ [`a75c134`](https://github.com/inspect-js/is-core-module/commit/a75c134229e1e9441801f6b73f6a52489346eb65)
225
+
226
+ ## [v1.0.2](https://github.com/inspect-js/is-core-module/compare/v1.0.1...v1.0.2) - 2014-09-28
328
227
 
329
228
  ### Commits
330
229
 
331
- - simpler [`66fe90f`](https://github.com/inspect-js/is-core-module.git
332
- /commit/66fe90f9771581b9adc0c3900baa52c21b5baea2)
230
+ - simpler [`66fe90f`](https://github.com/inspect-js/is-core-module/commit/66fe90f9771581b9adc0c3900baa52c21b5baea2)
333
231
 
334
- ## [v1.0.1](https://github.com/inspect-js/is-core-module.git
335
- /compare/v1.0.0...v1.0.1) - 2014-09-28
232
+ ## [v1.0.1](https://github.com/inspect-js/is-core-module/compare/v1.0.0...v1.0.1) - 2014-09-28
336
233
 
337
234
  ### Commits
338
235
 
339
- - remove stupid [`f21f906`](https://github.com/inspect-js/is-core-module.git
340
- /commit/f21f906f882c2bd656a5fc5ed6fbe48ddaffb2ac)
341
- - update readme [`1eff0ec`](https://github.com/inspect-js/is-core-module.git
342
- /commit/1eff0ec69798d1ec65771552d1562911e90a8027)
236
+ - remove stupid [`f21f906`](https://github.com/inspect-js/is-core-module/commit/f21f906f882c2bd656a5fc5ed6fbe48ddaffb2ac)
237
+ - update readme [`1eff0ec`](https://github.com/inspect-js/is-core-module/commit/1eff0ec69798d1ec65771552d1562911e90a8027)
343
238
 
344
239
  ## v1.0.0 - 2014-09-28
345
240
 
346
241
  ### Commits
347
242
 
348
- - init [`48e5e76`](https://github.com/inspect-js/is-core-module.git
349
- /commit/48e5e76cac378fddb8c1f7d4055b8dfc943d6b96)
243
+ - init [`48e5e76`](https://github.com/inspect-js/is-core-module/commit/48e5e76cac378fddb8c1f7d4055b8dfc943d6b96)
@@ -20,6 +20,24 @@ assert(isCore('fs'));
20
20
  assert(!isCore('butts'));
21
21
  ```
22
22
 
23
+ ## TypeScript
24
+
25
+ `isCore` accepts any string. `isCore.Module` is the union of every specifier in `core.json`, regardless of node version, so editors can suggest them.
26
+
27
+ The types import `core.json`, so [`resolveJsonModule`](https://www.typescriptlang.org/tsconfig/#resolveJsonModule), [`esModuleInterop`](https://www.typescriptlang.org/tsconfig/#esModuleInterop), and [`allowSyntheticDefaultImports`](https://www.typescriptlang.org/tsconfig/#allowSyntheticDefaultImports) must be enabled; some `module` and `moduleResolution` settings enable them by default, but `node16` does not enable `resolveJsonModule`.
28
+ Without them, TypeScript reports an error in this package's `index.d.ts`, or, with `skipLibCheck`, `isCore.Module` silently widens to `string | number | symbol`.
29
+
30
+ ```ts
31
+ import isCore = require('is-core-module');
32
+
33
+ function isBuiltin(specifier: string): boolean {
34
+ return isCore(specifier); // any string is accepted
35
+ }
36
+
37
+ const name: isCore.Module = 'node:fs'; // only specifiers listed in `core.json`
38
+ isCore(name, '16.0.0'); // true
39
+ ```
40
+
23
41
  ## Tests
24
42
  Clone the repo, `npm install`, and run `npm test`
25
43
 
@@ -32,6 +32,7 @@
32
32
  "node:domain": [">= 14.18 && < 15", ">= 16"],
33
33
  "events": true,
34
34
  "node:events": [">= 14.18 && < 15", ">= 16"],
35
+ "node:ffi": ">= 26.9",
35
36
  "freelist": "< 6",
36
37
  "fs": true,
37
38
  "node:fs": [">= 14.18 && < 15", ">= 16"],
@@ -0,0 +1,12 @@
1
+ import RawData from './core.json';
2
+
3
+ // `string & {}` still accepts any string, but lets editors suggest `isCore.Module` names
4
+ declare function isCore(specifier: isCore.Module | (string & {}), nodeVersion?: string): boolean;
5
+
6
+ declare namespace isCore {
7
+ export type Module = keyof typeof RawData;
8
+
9
+ export type Data = Record<Module, typeof RawData[Module]>;
10
+ }
11
+
12
+ export = isCore;
@@ -2,6 +2,7 @@
2
2
 
3
3
  var hasOwn = require('hasown');
4
4
 
5
+ /** @type {(current: string, specifier: string) => boolean} */
5
6
  function specifierIncluded(current, specifier) {
6
7
  var nodeParts = current.split('.');
7
8
  var parts = specifier.split(' ');
@@ -9,8 +10,8 @@ function specifierIncluded(current, specifier) {
9
10
  var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split('.');
10
11
 
11
12
  for (var i = 0; i < 3; ++i) {
12
- var cur = parseInt(nodeParts[i] || 0, 10);
13
- var ver = parseInt(versionParts[i] || 0, 10);
13
+ var cur = parseInt(nodeParts[i] || '0', 10);
14
+ var ver = parseInt(versionParts[i] || '0', 10);
14
15
  if (cur === ver) {
15
16
  continue; // eslint-disable-line no-restricted-syntax, no-continue
16
17
  }
@@ -25,6 +26,7 @@ function specifierIncluded(current, specifier) {
25
26
  return op === '>=';
26
27
  }
27
28
 
29
+ /** @type {(current: string, range: string) => boolean} */
28
30
  function matchesRange(current, range) {
29
31
  var specifiers = range.split(/ ?&& ?/);
30
32
  if (specifiers.length === 0) {
@@ -38,6 +40,7 @@ function matchesRange(current, range) {
38
40
  return true;
39
41
  }
40
42
 
43
+ /** @type {(nodeVersion: string | undefined, specifierValue: Data[Module]) => boolean} */
41
44
  function versionIncluded(nodeVersion, specifierValue) {
42
45
  if (typeof specifierValue === 'boolean') {
43
46
  return specifierValue;
@@ -62,8 +65,12 @@ function versionIncluded(nodeVersion, specifierValue) {
62
65
  return matchesRange(current, specifierValue);
63
66
  }
64
67
 
68
+ /** @import { Data, Module } from '.' */
69
+
70
+ /** @type {Data} */
65
71
  var data = require('./core.json');
66
72
 
73
+ /** @type {typeof import('.')} */
67
74
  module.exports = function isCore(x, nodeVersion) {
68
- return hasOwn(data, x) && versionIncluded(nodeVersion, data[x]);
75
+ return hasOwn(data, x) && versionIncluded(nodeVersion, data[/** @type {Module} */ (x)]);
69
76
  };