projen-pipelines 0.2.6 → 0.2.8

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 (58) hide show
  1. package/.jsii +61 -59
  2. package/API.md +76 -64
  3. package/lib/awscdk/base.d.ts +5 -1
  4. package/lib/awscdk/base.js +33 -28
  5. package/lib/awscdk/bash.js +5 -3
  6. package/lib/awscdk/github.js +11 -9
  7. package/lib/awscdk/gitlab.js +1 -1
  8. package/lib/engines/github.js +3 -4
  9. package/lib/steps/artifact-steps.js +2 -2
  10. package/lib/steps/aws-assume-role.step.js +1 -1
  11. package/lib/steps/registries.js +2 -2
  12. package/lib/steps/step.js +4 -4
  13. package/node_modules/semver/README.md +14 -4
  14. package/node_modules/semver/bin/semver.js +2 -1
  15. package/node_modules/semver/classes/semver.js +22 -6
  16. package/node_modules/semver/functions/diff.js +5 -12
  17. package/node_modules/semver/internal/re.js +2 -0
  18. package/node_modules/semver/package.json +8 -7
  19. package/node_modules/spdx-license-ids/README.md +0 -1
  20. package/node_modules/spdx-license-ids/index.json +14 -0
  21. package/node_modules/spdx-license-ids/package.json +3 -13
  22. package/package.json +15 -14
  23. package/node_modules/color-convert/CHANGELOG.md +0 -54
  24. package/node_modules/get-pkg-repo/CHANGELOG.md +0 -17
  25. package/node_modules/get-pkg-repo/node_modules/cliui/CHANGELOG.md +0 -121
  26. package/node_modules/get-pkg-repo/node_modules/yargs/CHANGELOG.md +0 -88
  27. package/node_modules/js-tokens/CHANGELOG.md +0 -151
  28. package/node_modules/json-parse-better-errors/CHANGELOG.md +0 -46
  29. package/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
  30. package/node_modules/kind-of/CHANGELOG.md +0 -160
  31. package/node_modules/meow/node_modules/hosted-git-info/CHANGELOG.md +0 -151
  32. package/node_modules/q/CHANGES.md +0 -800
  33. package/node_modules/read-pkg/node_modules/hosted-git-info/CHANGELOG.md +0 -151
  34. package/node_modules/source-map/CHANGELOG.md +0 -301
  35. package/node_modules/standard-version/node_modules/cliui/CHANGELOG.md +0 -121
  36. package/node_modules/standard-version/node_modules/conventional-changelog/CHANGELOG.md +0 -933
  37. package/node_modules/standard-version/node_modules/conventional-changelog-angular/CHANGELOG.md +0 -408
  38. package/node_modules/standard-version/node_modules/conventional-changelog-atom/CHANGELOG.md +0 -192
  39. package/node_modules/standard-version/node_modules/conventional-changelog-codemirror/CHANGELOG.md +0 -197
  40. package/node_modules/standard-version/node_modules/conventional-changelog-conventionalcommits/CHANGELOG.md +0 -245
  41. package/node_modules/standard-version/node_modules/conventional-changelog-core/CHANGELOG.md +0 -573
  42. package/node_modules/standard-version/node_modules/conventional-changelog-ember/CHANGELOG.md +0 -249
  43. package/node_modules/standard-version/node_modules/conventional-changelog-eslint/CHANGELOG.md +0 -234
  44. package/node_modules/standard-version/node_modules/conventional-changelog-express/CHANGELOG.md +0 -148
  45. package/node_modules/standard-version/node_modules/conventional-changelog-jquery/CHANGELOG.md +0 -237
  46. package/node_modules/standard-version/node_modules/conventional-changelog-jshint/CHANGELOG.md +0 -208
  47. package/node_modules/standard-version/node_modules/conventional-changelog-preset-loader/CHANGELOG.md +0 -183
  48. package/node_modules/standard-version/node_modules/conventional-changelog-writer/CHANGELOG.md +0 -603
  49. package/node_modules/standard-version/node_modules/conventional-commits-filter/CHANGELOG.md +0 -119
  50. package/node_modules/standard-version/node_modules/conventional-commits-parser/CHANGELOG.md +0 -463
  51. package/node_modules/standard-version/node_modules/conventional-recommended-bump/CHANGELOG.md +0 -432
  52. package/node_modules/standard-version/node_modules/git-raw-commits/CHANGELOG.md +0 -182
  53. package/node_modules/standard-version/node_modules/git-semver-tags/CHANGELOG.md +0 -206
  54. package/node_modules/standard-version/node_modules/yargs/CHANGELOG.md +0 -88
  55. package/node_modules/stringify-package/CHANGELOG.md +0 -16
  56. package/node_modules/wrap-ansi/node_modules/color-convert/CHANGELOG.md +0 -54
  57. package/node_modules/y18n/CHANGELOG.md +0 -100
  58. package/node_modules/yargs-parser/CHANGELOG.md +0 -263
package/package.json CHANGED
@@ -38,33 +38,34 @@
38
38
  "organization": true
39
39
  },
40
40
  "devDependencies": {
41
+ "@stylistic/eslint-plugin": "^2",
41
42
  "@types/fs-extra": "^11.0.4",
42
43
  "@types/jest": "^27.5.2",
43
44
  "@types/node": "^18",
44
45
  "@types/standard-version": "^7.1.3",
45
- "@typescript-eslint/eslint-plugin": "^7",
46
- "@typescript-eslint/parser": "^7",
46
+ "@typescript-eslint/eslint-plugin": "^8",
47
+ "@typescript-eslint/parser": "^8",
47
48
  "commit-and-tag-version": "^12",
48
49
  "constructs": "10.4.2",
49
- "eslint": "^8",
50
- "eslint-import-resolver-typescript": "^3.7.0",
50
+ "eslint": "^9",
51
+ "eslint-import-resolver-typescript": "^3.10.0",
51
52
  "eslint-plugin-import": "^2.31.0",
52
- "fs-extra": "^11.2.0",
53
+ "fs-extra": "^11.3.0",
53
54
  "jest": "^29.7.0",
54
- "jest-junit": "^15",
55
- "jsii": "~5.4",
56
- "jsii-diff": "^1.106.0",
55
+ "jest-junit": "^16",
56
+ "jsii": "~5.8",
57
+ "jsii-diff": "^1.111.0",
57
58
  "jsii-docgen": "^10.5.0",
58
59
  "jsii-pacmak": "^1.106.0",
59
- "jsii-rosetta": "~5.4",
60
- "projen": "0.86.7",
61
- "ts-jest": "^29.2.5",
60
+ "jsii-rosetta": "~5.8",
61
+ "projen": "0.91.20",
62
+ "ts-jest": "^29.3.1",
62
63
  "ts-node": "^10.9.2",
63
- "typescript": "^5.7.3"
64
+ "typescript": "^5.8.3"
64
65
  },
65
66
  "peerDependencies": {
66
67
  "constructs": "^10.4.2",
67
- "projen": ">=0.86.7 <1.0.0"
68
+ "projen": ">=0.91.20 <1.0.0"
68
69
  },
69
70
  "dependencies": {
70
71
  "standard-version": "^9.5.0"
@@ -82,7 +83,7 @@
82
83
  "publishConfig": {
83
84
  "access": "public"
84
85
  },
85
- "version": "0.2.6",
86
+ "version": "0.2.8",
86
87
  "jest": {
87
88
  "coverageProvider": "v8",
88
89
  "testMatch": [
@@ -1,54 +0,0 @@
1
- # 1.0.0 - 2016-01-07
2
-
3
- - Removed: unused speed test
4
- - Added: Automatic routing between previously unsupported conversions
5
- ([#27](https://github.com/Qix-/color-convert/pull/27))
6
- - Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
7
- ([#27](https://github.com/Qix-/color-convert/pull/27))
8
- - Removed: `convert()` class
9
- ([#27](https://github.com/Qix-/color-convert/pull/27))
10
- - Changed: all functions to lookup dictionary
11
- ([#27](https://github.com/Qix-/color-convert/pull/27))
12
- - Changed: `ansi` to `ansi256`
13
- ([#27](https://github.com/Qix-/color-convert/pull/27))
14
- - Fixed: argument grouping for functions requiring only one argument
15
- ([#27](https://github.com/Qix-/color-convert/pull/27))
16
-
17
- # 0.6.0 - 2015-07-23
18
-
19
- - Added: methods to handle
20
- [ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
21
- - rgb2ansi16
22
- - rgb2ansi
23
- - hsl2ansi16
24
- - hsl2ansi
25
- - hsv2ansi16
26
- - hsv2ansi
27
- - hwb2ansi16
28
- - hwb2ansi
29
- - cmyk2ansi16
30
- - cmyk2ansi
31
- - keyword2ansi16
32
- - keyword2ansi
33
- - ansi162rgb
34
- - ansi162hsl
35
- - ansi162hsv
36
- - ansi162hwb
37
- - ansi162cmyk
38
- - ansi162keyword
39
- - ansi2rgb
40
- - ansi2hsl
41
- - ansi2hsv
42
- - ansi2hwb
43
- - ansi2cmyk
44
- - ansi2keyword
45
- ([#18](https://github.com/harthur/color-convert/pull/18))
46
-
47
- # 0.5.3 - 2015-06-02
48
-
49
- - Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
50
- ([#15](https://github.com/harthur/color-convert/issues/15))
51
-
52
- ---
53
-
54
- Check out commit logs for older releases
@@ -1,17 +0,0 @@
1
- # Changelog
2
-
3
- ### [4.2.1](https://www.github.com/conventional-changelog/get-pkg-repo/compare/get-pkg-repo-v4.2.0...get-pkg-repo-v4.2.1) (2021-09-09)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * **build:** release with yargs@16.x ([514cbed](https://www.github.com/conventional-changelog/get-pkg-repo/commit/514cbedc450a714fd8f8715e9920e91f7d7c93a2))
9
- * **build:** run release-please on 4.x branch ([9296989](https://www.github.com/conventional-changelog/get-pkg-repo/commit/92969898c9a8820188c8aa6e43caa941560aeb6e))
10
-
11
- ## [4.2.0](https://www.github.com/conventional-changelog/get-pkg-repo/compare/v4.1.2...v4.2.0) (2021-09-03)
12
-
13
-
14
- ### Features
15
-
16
- * **cli:** use Yargs in stead of meow ([#62](https://www.github.com/conventional-changelog/get-pkg-repo/issues/62)) ([8017a91](https://www.github.com/conventional-changelog/get-pkg-repo/commit/8017a91f7de2a3dbfcb627ce51c3ca5ce8e2c172))
17
- * **readme:** trigger automated release ([5cc22f2](https://www.github.com/conventional-changelog/get-pkg-repo/commit/5cc22f2f65bfad89c454fe8cca6fd5daf90919ba))
@@ -1,121 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [7.0.4](https://www.github.com/yargs/cliui/compare/v7.0.3...v7.0.4) (2020-11-08)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * **deno:** import UIOptions from definitions ([#97](https://www.github.com/yargs/cliui/issues/97)) ([f04f343](https://www.github.com/yargs/cliui/commit/f04f3439bc78114c7e90f82ff56f5acf16268ea8))
11
-
12
- ### [7.0.3](https://www.github.com/yargs/cliui/compare/v7.0.2...v7.0.3) (2020-10-16)
13
-
14
-
15
- ### Bug Fixes
16
-
17
- * **exports:** node 13.0 and 13.1 require the dotted object form _with_ a string fallback ([#93](https://www.github.com/yargs/cliui/issues/93)) ([eca16fc](https://www.github.com/yargs/cliui/commit/eca16fc05d26255df3280906c36d7f0e5b05c6e9))
18
-
19
- ### [7.0.2](https://www.github.com/yargs/cliui/compare/v7.0.1...v7.0.2) (2020-10-14)
20
-
21
-
22
- ### Bug Fixes
23
-
24
- * **exports:** node 13.0-13.6 require a string fallback ([#91](https://www.github.com/yargs/cliui/issues/91)) ([b529d7e](https://www.github.com/yargs/cliui/commit/b529d7e432901af1af7848b23ed6cf634497d961))
25
-
26
- ### [7.0.1](https://www.github.com/yargs/cliui/compare/v7.0.0...v7.0.1) (2020-08-16)
27
-
28
-
29
- ### Bug Fixes
30
-
31
- * **build:** main should be build/index.cjs ([dc29a3c](https://www.github.com/yargs/cliui/commit/dc29a3cc617a410aa850e06337b5954b04f2cb4d))
32
-
33
- ## [7.0.0](https://www.github.com/yargs/cliui/compare/v6.0.0...v7.0.0) (2020-08-16)
34
-
35
-
36
- ### ⚠ BREAKING CHANGES
37
-
38
- * tsc/ESM/Deno support (#82)
39
- * modernize deps and build (#80)
40
-
41
- ### Build System
42
-
43
- * modernize deps and build ([#80](https://www.github.com/yargs/cliui/issues/80)) ([339d08d](https://www.github.com/yargs/cliui/commit/339d08dc71b15a3928aeab09042af94db2f43743))
44
-
45
-
46
- ### Code Refactoring
47
-
48
- * tsc/ESM/Deno support ([#82](https://www.github.com/yargs/cliui/issues/82)) ([4b777a5](https://www.github.com/yargs/cliui/commit/4b777a5fe01c5d8958c6708695d6aab7dbe5706c))
49
-
50
- ## [6.0.0](https://www.github.com/yargs/cliui/compare/v5.0.0...v6.0.0) (2019-11-10)
51
-
52
-
53
- ### ⚠ BREAKING CHANGES
54
-
55
- * update deps, drop Node 6
56
-
57
- ### Code Refactoring
58
-
59
- * update deps, drop Node 6 ([62056df](https://www.github.com/yargs/cliui/commit/62056df))
60
-
61
- ## [5.0.0](https://github.com/yargs/cliui/compare/v4.1.0...v5.0.0) (2019-04-10)
62
-
63
-
64
- ### Bug Fixes
65
-
66
- * Update wrap-ansi to fix compatibility with latest versions of chalk. ([#60](https://github.com/yargs/cliui/issues/60)) ([7bf79ae](https://github.com/yargs/cliui/commit/7bf79ae))
67
-
68
-
69
- ### BREAKING CHANGES
70
-
71
- * Drop support for node < 6.
72
-
73
-
74
-
75
- <a name="4.1.0"></a>
76
- ## [4.1.0](https://github.com/yargs/cliui/compare/v4.0.0...v4.1.0) (2018-04-23)
77
-
78
-
79
- ### Features
80
-
81
- * add resetOutput method ([#57](https://github.com/yargs/cliui/issues/57)) ([7246902](https://github.com/yargs/cliui/commit/7246902))
82
-
83
-
84
-
85
- <a name="4.0.0"></a>
86
- ## [4.0.0](https://github.com/yargs/cliui/compare/v3.2.0...v4.0.0) (2017-12-18)
87
-
88
-
89
- ### Bug Fixes
90
-
91
- * downgrades strip-ansi to version 3.0.1 ([#54](https://github.com/yargs/cliui/issues/54)) ([5764c46](https://github.com/yargs/cliui/commit/5764c46))
92
- * set env variable FORCE_COLOR. ([#56](https://github.com/yargs/cliui/issues/56)) ([7350e36](https://github.com/yargs/cliui/commit/7350e36))
93
-
94
-
95
- ### Chores
96
-
97
- * drop support for node < 4 ([#53](https://github.com/yargs/cliui/issues/53)) ([b105376](https://github.com/yargs/cliui/commit/b105376))
98
-
99
-
100
- ### Features
101
-
102
- * add fallback for window width ([#45](https://github.com/yargs/cliui/issues/45)) ([d064922](https://github.com/yargs/cliui/commit/d064922))
103
-
104
-
105
- ### BREAKING CHANGES
106
-
107
- * officially drop support for Node < 4
108
-
109
-
110
-
111
- <a name="3.2.0"></a>
112
- ## [3.2.0](https://github.com/yargs/cliui/compare/v3.1.2...v3.2.0) (2016-04-11)
113
-
114
-
115
- ### Bug Fixes
116
-
117
- * reduces tarball size ([acc6c33](https://github.com/yargs/cliui/commit/acc6c33))
118
-
119
- ### Features
120
-
121
- * adds standard-version for release management ([ff84e32](https://github.com/yargs/cliui/commit/ff84e32))
@@ -1,88 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## [16.2.0](https://www.github.com/yargs/yargs/compare/v16.1.1...v16.2.0) (2020-12-05)
6
-
7
-
8
- ### Features
9
-
10
- * command() now accepts an array of modules ([f415388](https://www.github.com/yargs/yargs/commit/f415388cc454d02786c65c50dd6c7a0cf9d8b842))
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * add package.json to module exports ([#1818](https://www.github.com/yargs/yargs/issues/1818)) ([d783a49](https://www.github.com/yargs/yargs/commit/d783a49a7f21c9bbd4eec2990268f3244c4d5662)), closes [#1817](https://www.github.com/yargs/yargs/issues/1817)
16
-
17
- ### [16.1.1](https://www.github.com/yargs/yargs/compare/v16.1.0...v16.1.1) (2020-11-15)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * expose helpers for legacy versions of Node.js ([#1801](https://www.github.com/yargs/yargs/issues/1801)) ([107deaa](https://www.github.com/yargs/yargs/commit/107deaa4f68b7bc3f2386041e1f4fe0272b29c0a))
23
- * **deno:** get yargs working on deno@1.5.x ([#1799](https://www.github.com/yargs/yargs/issues/1799)) ([cb01c98](https://www.github.com/yargs/yargs/commit/cb01c98c44e30f55c2dc9434caef524ae433d9a4))
24
-
25
- ## [16.1.0](https://www.github.com/yargs/yargs/compare/v16.0.3...v16.1.0) (2020-10-15)
26
-
27
-
28
- ### Features
29
-
30
- * expose hideBin helper for CJS ([#1768](https://www.github.com/yargs/yargs/issues/1768)) ([63e1173](https://www.github.com/yargs/yargs/commit/63e1173bb47dc651c151973a16ef659082a9ae66))
31
-
32
-
33
- ### Bug Fixes
34
-
35
- * **deno:** update types for deno ^1.4.0 ([#1772](https://www.github.com/yargs/yargs/issues/1772)) ([0801752](https://www.github.com/yargs/yargs/commit/080175207d281be63edf90adfe4f0568700b0bf5))
36
- * **exports:** node 13.0-13.6 require a string fallback ([#1776](https://www.github.com/yargs/yargs/issues/1776)) ([b45c43a](https://www.github.com/yargs/yargs/commit/b45c43a5f64b565c3794f9792150eaeec4e00b69))
37
- * **modules:** module path was incorrect ([#1759](https://www.github.com/yargs/yargs/issues/1759)) ([95a4a0a](https://www.github.com/yargs/yargs/commit/95a4a0ac573cfe158e6e4bc8c8682ebd1644a198))
38
- * **positional:** positional strings no longer drop decimals ([#1761](https://www.github.com/yargs/yargs/issues/1761)) ([e1a300f](https://www.github.com/yargs/yargs/commit/e1a300f1293ad821c900284616337f080b207980))
39
- * make positionals in -- count towards validation ([#1752](https://www.github.com/yargs/yargs/issues/1752)) ([eb2b29d](https://www.github.com/yargs/yargs/commit/eb2b29d34f1a41e0fd6c4e841960e5bfc329dc3c))
40
-
41
- ### [16.0.3](https://www.github.com/yargs/yargs/compare/v16.0.2...v16.0.3) (2020-09-10)
42
-
43
-
44
- ### Bug Fixes
45
-
46
- * move yargs.cjs to yargs to fix Node 10 imports ([#1747](https://www.github.com/yargs/yargs/issues/1747)) ([5bfb85b](https://www.github.com/yargs/yargs/commit/5bfb85b33b85db8a44b5f7a700a8e4dbaf022df0))
47
-
48
- ### [16.0.2](https://www.github.com/yargs/yargs/compare/v16.0.1...v16.0.2) (2020-09-09)
49
-
50
-
51
- ### Bug Fixes
52
-
53
- * **typescript:** yargs-parser was breaking @types/yargs ([#1745](https://www.github.com/yargs/yargs/issues/1745)) ([2253284](https://www.github.com/yargs/yargs/commit/2253284b233cceabd8db677b81c5bf1755eef230))
54
-
55
- ### [16.0.1](https://www.github.com/yargs/yargs/compare/v16.0.0...v16.0.1) (2020-09-09)
56
-
57
-
58
- ### Bug Fixes
59
-
60
- * code was not passed to process.exit ([#1742](https://www.github.com/yargs/yargs/issues/1742)) ([d1a9930](https://www.github.com/yargs/yargs/commit/d1a993035a2f76c138460052cf19425f9684b637))
61
-
62
- ## [16.0.0](https://www.github.com/yargs/yargs/compare/v15.4.2...v16.0.0) (2020-09-09)
63
-
64
-
65
- ### ⚠ BREAKING CHANGES
66
-
67
- * tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
68
- * find-up replaced with escalade; export map added (limits importable files in Node >= 12); yarser-parser@19.x.x (new decamelize/camelcase implementation).
69
- * **usage:** single character aliases are now shown first in help output
70
- * rebase helper is no longer provided on yargs instance.
71
- * drop support for EOL Node 8 (#1686)
72
-
73
- ### Features
74
-
75
- * adds strictOptions() ([#1738](https://www.github.com/yargs/yargs/issues/1738)) ([b215fba](https://www.github.com/yargs/yargs/commit/b215fba0ed6e124e5aad6cf22c8d5875661c63a3))
76
- * **helpers:** rebase, Parser, applyExtends now blessed helpers ([#1733](https://www.github.com/yargs/yargs/issues/1733)) ([c7debe8](https://www.github.com/yargs/yargs/commit/c7debe8eb1e5bc6ea20b5ed68026c56e5ebec9e1))
77
- * adds support for ESM and Deno ([#1708](https://www.github.com/yargs/yargs/issues/1708)) ([ac6d5d1](https://www.github.com/yargs/yargs/commit/ac6d5d105a75711fe703f6a39dad5181b383d6c6))
78
- * drop support for EOL Node 8 ([#1686](https://www.github.com/yargs/yargs/issues/1686)) ([863937f](https://www.github.com/yargs/yargs/commit/863937f23c3102f804cdea78ee3097e28c7c289f))
79
- * i18n for ESM and Deno ([#1735](https://www.github.com/yargs/yargs/issues/1735)) ([c71783a](https://www.github.com/yargs/yargs/commit/c71783a5a898a0c0e92ac501c939a3ec411ac0c1))
80
- * tweaks to API surface based on user feedback ([#1726](https://www.github.com/yargs/yargs/issues/1726)) ([4151fee](https://www.github.com/yargs/yargs/commit/4151fee4c33a97d26bc40de7e623e5b0eb87e9bb))
81
- * **usage:** single char aliases first in help ([#1574](https://www.github.com/yargs/yargs/issues/1574)) ([a552990](https://www.github.com/yargs/yargs/commit/a552990c120646c2d85a5c9b628e1ce92a68e797))
82
-
83
-
84
- ### Bug Fixes
85
-
86
- * **yargs:** add missing command(module) signature ([#1707](https://www.github.com/yargs/yargs/issues/1707)) ([0f81024](https://www.github.com/yargs/yargs/commit/0f810245494ccf13a35b7786d021b30fc95ecad5)), closes [#1704](https://www.github.com/yargs/yargs/issues/1704)
87
-
88
- [Older CHANGELOG Entries](https://github.com/yargs/yargs/blob/master/docs/CHANGELOG-historical.md)
@@ -1,151 +0,0 @@
1
- ### Version 4.0.0 (2018-01-28) ###
2
-
3
- - Added: Support for ES2018. The only change needed was recognizing the `s`
4
- regex flag.
5
- - Changed: _All_ tokens returned by the `matchToToken` function now have a
6
- `closed` property. It is set to `undefined` for the tokens where “closed”
7
- doesn’t make sense. This means that all tokens objects have the same shape,
8
- which might improve performance.
9
-
10
- These are the breaking changes:
11
-
12
- - `'/a/s'.match(jsTokens)` no longer returns `['/', 'a', '/', 's']`, but
13
- `['/a/s']`. (There are of course other variations of this.)
14
- - Code that rely on some token objects not having the `closed` property could
15
- now behave differently.
16
-
17
-
18
- ### Version 3.0.2 (2017-06-28) ###
19
-
20
- - No code changes. Just updates to the readme.
21
-
22
-
23
- ### Version 3.0.1 (2017-01-30) ###
24
-
25
- - Fixed: ES2015 unicode escapes with more than 6 hex digits are now matched
26
- correctly.
27
-
28
-
29
- ### Version 3.0.0 (2017-01-11) ###
30
-
31
- This release contains one breaking change, that should [improve performance in
32
- V8][v8-perf]:
33
-
34
- > So how can you, as a JavaScript developer, ensure that your RegExps are fast?
35
- > If you are not interested in hooking into RegExp internals, make sure that
36
- > neither the RegExp instance, nor its prototype is modified in order to get the
37
- > best performance:
38
- >
39
- > ```js
40
- > var re = /./g;
41
- > re.exec(''); // Fast path.
42
- > re.new_property = 'slow';
43
- > ```
44
-
45
- This module used to export a single regex, with `.matchToToken` bolted
46
- on, just like in the above example. This release changes the exports of
47
- the module to avoid this issue.
48
-
49
- Before:
50
-
51
- ```js
52
- import jsTokens from "js-tokens"
53
- // or:
54
- var jsTokens = require("js-tokens")
55
- var matchToToken = jsTokens.matchToToken
56
- ```
57
-
58
- After:
59
-
60
- ```js
61
- import jsTokens, {matchToToken} from "js-tokens"
62
- // or:
63
- var jsTokens = require("js-tokens").default
64
- var matchToToken = require("js-tokens").matchToToken
65
- ```
66
-
67
- [v8-perf]: http://v8project.blogspot.se/2017/01/speeding-up-v8-regular-expressions.html
68
-
69
-
70
- ### Version 2.0.0 (2016-06-19) ###
71
-
72
- - Added: Support for ES2016. In other words, support for the `**` exponentiation
73
- operator.
74
-
75
- These are the breaking changes:
76
-
77
- - `'**'.match(jsTokens)` no longer returns `['*', '*']`, but `['**']`.
78
- - `'**='.match(jsTokens)` no longer returns `['*', '*=']`, but `['**=']`.
79
-
80
-
81
- ### Version 1.0.3 (2016-03-27) ###
82
-
83
- - Improved: Made the regex ever so slightly smaller.
84
- - Updated: The readme.
85
-
86
-
87
- ### Version 1.0.2 (2015-10-18) ###
88
-
89
- - Improved: Limited npm package contents for a smaller download. Thanks to
90
- @zertosh!
91
-
92
-
93
- ### Version 1.0.1 (2015-06-20) ###
94
-
95
- - Fixed: Declared an undeclared variable.
96
-
97
-
98
- ### Version 1.0.0 (2015-02-26) ###
99
-
100
- - Changed: Merged the 'operator' and 'punctuation' types into 'punctuator'. That
101
- type is now equivalent to the Punctuator token in the ECMAScript
102
- specification. (Backwards-incompatible change.)
103
- - Fixed: A `-` followed by a number is now correctly matched as a punctuator
104
- followed by a number. It used to be matched as just a number, but there is no
105
- such thing as negative number literals. (Possibly backwards-incompatible
106
- change.)
107
-
108
-
109
- ### Version 0.4.1 (2015-02-21) ###
110
-
111
- - Added: Support for the regex `u` flag.
112
-
113
-
114
- ### Version 0.4.0 (2015-02-21) ###
115
-
116
- - Improved: `jsTokens.matchToToken` performance.
117
- - Added: Support for octal and binary number literals.
118
- - Added: Support for template strings.
119
-
120
-
121
- ### Version 0.3.1 (2015-01-06) ###
122
-
123
- - Fixed: Support for unicode spaces. They used to be allowed in names (which is
124
- very confusing), and some unicode newlines were wrongly allowed in strings and
125
- regexes.
126
-
127
-
128
- ### Version 0.3.0 (2014-12-19) ###
129
-
130
- - Changed: The `jsTokens.names` array has been replaced with the
131
- `jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
132
- longer part of the public API; instead use said function. See this [gist] for
133
- an example. (Backwards-incompatible change.)
134
- - Changed: The empty string is now considered an “invalid” token, instead an
135
- “empty” token (its own group). (Backwards-incompatible change.)
136
- - Removed: component support. (Backwards-incompatible change.)
137
-
138
- [gist]: https://gist.github.com/lydell/be49dbf80c382c473004
139
-
140
-
141
- ### Version 0.2.0 (2014-06-19) ###
142
-
143
- - Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
144
- category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
145
- - Added: ES6 splats (`...`) are now matched as an operator (instead of three
146
- punctuations). (Backwards-incompatible change.)
147
-
148
-
149
- ### Version 0.1.0 (2014-03-08) ###
150
-
151
- - Initial release.
@@ -1,46 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- <a name="1.0.2"></a>
6
- ## [1.0.2](https://github.com/zkat/json-parse-better-errors/compare/v1.0.1...v1.0.2) (2018-03-30)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * **messages:** More friendly messages for non-string ([#1](https://github.com/zkat/json-parse-better-errors/issues/1)) ([a476d42](https://github.com/zkat/json-parse-better-errors/commit/a476d42))
12
-
13
-
14
-
15
- <a name="1.0.1"></a>
16
- ## [1.0.1](https://github.com/zkat/json-parse-better-errors/compare/v1.0.0...v1.0.1) (2017-08-16)
17
-
18
-
19
- ### Bug Fixes
20
-
21
- * **license:** oops. Forgot to update license.md ([efe2958](https://github.com/zkat/json-parse-better-errors/commit/efe2958))
22
-
23
-
24
-
25
- <a name="1.0.0"></a>
26
- # 1.0.0 (2017-08-15)
27
-
28
-
29
- ### Features
30
-
31
- * **init:** Initial Commit ([562c977](https://github.com/zkat/json-parse-better-errors/commit/562c977))
32
-
33
-
34
- ### BREAKING CHANGES
35
-
36
- * **init:** This is the first commit!
37
-
38
-
39
-
40
- <a name="0.1.0"></a>
41
- # 0.1.0 (2017-08-15)
42
-
43
-
44
- ### Features
45
-
46
- * **init:** Initial Commit ([9dd1a19](https://github.com/zkat/json-parse-better-errors/commit/9dd1a19))
@@ -1,50 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## 2.0.0
6
-
7
- * Add custom error classes
8
-
9
- <a name="1.0.2"></a>
10
- ## [1.0.2](https://github.com/npm/json-parse-even-better-errors/compare/v1.0.1...v1.0.2) (2018-03-30)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * **messages:** More friendly messages for non-string ([#1](https://github.com/npm/json-parse-even-better-errors/issues/1)) ([a476d42](https://github.com/npm/json-parse-even-better-errors/commit/a476d42))
16
-
17
-
18
-
19
- <a name="1.0.1"></a>
20
- ## [1.0.1](https://github.com/npm/json-parse-even-better-errors/compare/v1.0.0...v1.0.1) (2017-08-16)
21
-
22
-
23
- ### Bug Fixes
24
-
25
- * **license:** oops. Forgot to update license.md ([efe2958](https://github.com/npm/json-parse-even-better-errors/commit/efe2958))
26
-
27
-
28
-
29
- <a name="1.0.0"></a>
30
- # 1.0.0 (2017-08-15)
31
-
32
-
33
- ### Features
34
-
35
- * **init:** Initial Commit ([562c977](https://github.com/npm/json-parse-even-better-errors/commit/562c977))
36
-
37
-
38
- ### BREAKING CHANGES
39
-
40
- * **init:** This is the first commit!
41
-
42
-
43
-
44
- <a name="0.1.0"></a>
45
- # 0.1.0 (2017-08-15)
46
-
47
-
48
- ### Features
49
-
50
- * **init:** Initial Commit ([9dd1a19](https://github.com/npm/json-parse-even-better-errors/commit/9dd1a19))