Skip to content

Commit c40f7d8

Browse files
committed
Merge branch 'main' into node-active-2023
2 parents 4ca9714 + 1c7745e commit c40f7d8

File tree

3 files changed

+130
-5
lines changed

3 files changed

+130
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33

44
---
5+
### v4.2.1
6+
#### Chore
7+
- Resolves Issue 262 - CVE-2023-45133 - upgrade to latest babel traverse [#266](https://github.com/trivago/prettier-plugin-sort-imports/pull/266) by [c-h-russell-walker](https://github.com/c-h-russell-walker)
8+
59
### v4.2.0
610
#### Chore
711
- update prettier peer dependency semVer to include 3.x [#239](https://github.com/trivago/prettier-plugin-sort-imports/pull/239) by [basselworkforce](https://github.com/basselworkforce)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trivago/prettier-plugin-sort-imports",
3-
"version": "4.2.0",
3+
"version": "4.2.1",
44
"description": "A prettier plugins to sort imports in provided RegEx order",
55
"main": "lib/src/index.js",
66
"types": "types/index.d.ts",
@@ -35,7 +35,7 @@
3535
"dependencies": {
3636
"@babel/generator": "7.17.7",
3737
"@babel/parser": "^7.20.5",
38-
"@babel/traverse": "7.17.3",
38+
"@babel/traverse": "7.23.2",
3939
"@babel/types": "7.17.0",
4040
"javascript-natural-sort": "0.7.1",
4141
"lodash": "^4.17.21"

yarn.lock

Lines changed: 124 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
dependencies:
1717
"@babel/highlight" "^7.18.6"
1818

19+
"@babel/code-frame@^7.22.13":
20+
version "7.22.13"
21+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e"
22+
integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==
23+
dependencies:
24+
"@babel/highlight" "^7.22.13"
25+
chalk "^2.4.2"
26+
1927
"@babel/compat-data@^7.20.5":
2028
version "7.20.10"
2129
resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.10.tgz"
@@ -60,6 +68,16 @@
6068
"@jridgewell/gen-mapping" "^0.3.2"
6169
jsesc "^2.5.1"
6270

71+
"@babel/generator@^7.23.0":
72+
version "7.23.0"
73+
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420"
74+
integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==
75+
dependencies:
76+
"@babel/types" "^7.23.0"
77+
"@jridgewell/gen-mapping" "^0.3.2"
78+
"@jridgewell/trace-mapping" "^0.3.17"
79+
jsesc "^2.5.1"
80+
6381
"@babel/helper-compilation-targets@^7.20.7":
6482
version "7.20.7"
6583
resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz"
@@ -76,6 +94,11 @@
7694
resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz"
7795
integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==
7896

97+
"@babel/helper-environment-visitor@^7.22.20":
98+
version "7.22.20"
99+
resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167"
100+
integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==
101+
79102
"@babel/helper-function-name@^7.16.7", "@babel/helper-function-name@^7.19.0":
80103
version "7.19.0"
81104
resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz"
@@ -84,13 +107,28 @@
84107
"@babel/template" "^7.18.10"
85108
"@babel/types" "^7.19.0"
86109

110+
"@babel/helper-function-name@^7.23.0":
111+
version "7.23.0"
112+
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759"
113+
integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==
114+
dependencies:
115+
"@babel/template" "^7.22.15"
116+
"@babel/types" "^7.23.0"
117+
87118
"@babel/helper-hoist-variables@^7.16.7", "@babel/helper-hoist-variables@^7.18.6":
88119
version "7.18.6"
89120
resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz"
90121
integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==
91122
dependencies:
92123
"@babel/types" "^7.18.6"
93124

125+
"@babel/helper-hoist-variables@^7.22.5":
126+
version "7.22.5"
127+
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb"
128+
integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==
129+
dependencies:
130+
"@babel/types" "^7.22.5"
131+
94132
"@babel/helper-module-imports@^7.18.6":
95133
version "7.18.6"
96134
resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz"
@@ -131,16 +169,33 @@
131169
dependencies:
132170
"@babel/types" "^7.18.6"
133171

172+
"@babel/helper-split-export-declaration@^7.22.6":
173+
version "7.22.6"
174+
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c"
175+
integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==
176+
dependencies:
177+
"@babel/types" "^7.22.5"
178+
134179
"@babel/helper-string-parser@^7.19.4":
135180
version "7.19.4"
136181
resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz"
137182
integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==
138183

184+
"@babel/helper-string-parser@^7.22.5":
185+
version "7.22.5"
186+
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
187+
integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
188+
139189
"@babel/helper-validator-identifier@^7.16.7", "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1":
140190
version "7.19.1"
141191
resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz"
142192
integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==
143193

194+
"@babel/helper-validator-identifier@^7.22.20":
195+
version "7.22.20"
196+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
197+
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
198+
144199
"@babel/helper-validator-option@^7.18.6":
145200
version "7.18.6"
146201
resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz"
@@ -164,11 +219,25 @@
164219
chalk "^2.0.0"
165220
js-tokens "^4.0.0"
166221

222+
"@babel/highlight@^7.22.13":
223+
version "7.22.20"
224+
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54"
225+
integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==
226+
dependencies:
227+
"@babel/helper-validator-identifier" "^7.22.20"
228+
chalk "^2.4.2"
229+
js-tokens "^4.0.0"
230+
167231
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.4", "@babel/parser@^7.17.3", "@babel/parser@^7.20.5", "@babel/parser@^7.20.7":
168232
version "7.20.7"
169233
resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.20.7.tgz"
170234
integrity sha512-T3Z9oHybU+0vZlY9CiDSJQTD5ZapcW18ZctFMi0MOAl/4BjFF4ul7NVSARLdbGO5vDqy9eQiGTV0LtKfvCYvcg==
171235

236+
"@babel/parser@^7.22.15", "@babel/parser@^7.23.0":
237+
version "7.23.0"
238+
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719"
239+
integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==
240+
172241
"@babel/plugin-syntax-async-generators@^7.8.4":
173242
version "7.8.4"
174243
resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz"
@@ -262,7 +331,32 @@
262331
"@babel/parser" "^7.20.7"
263332
"@babel/types" "^7.20.7"
264333

265-
"@babel/[email protected]", "@babel/traverse@^7.1.0":
334+
"@babel/template@^7.22.15":
335+
version "7.22.15"
336+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38"
337+
integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==
338+
dependencies:
339+
"@babel/code-frame" "^7.22.13"
340+
"@babel/parser" "^7.22.15"
341+
"@babel/types" "^7.22.15"
342+
343+
344+
version "7.23.2"
345+
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8"
346+
integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==
347+
dependencies:
348+
"@babel/code-frame" "^7.22.13"
349+
"@babel/generator" "^7.23.0"
350+
"@babel/helper-environment-visitor" "^7.22.20"
351+
"@babel/helper-function-name" "^7.23.0"
352+
"@babel/helper-hoist-variables" "^7.22.5"
353+
"@babel/helper-split-export-declaration" "^7.22.6"
354+
"@babel/parser" "^7.23.0"
355+
"@babel/types" "^7.23.0"
356+
debug "^4.1.0"
357+
globals "^11.1.0"
358+
359+
"@babel/traverse@^7.1.0":
266360
version "7.17.3"
267361
resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.3.tgz"
268362
integrity sha512-5irClVky7TxRWIRtxlh2WPUUOLhcPN06AGgaQSB8AEwuyEBgJVuJ5imdHm5zxk8w0QS5T+tDfnDxAlhWjpb7cw==
@@ -311,6 +405,15 @@
311405
"@babel/helper-validator-identifier" "^7.19.1"
312406
to-fast-properties "^2.0.0"
313407

408+
"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0":
409+
version "7.23.0"
410+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb"
411+
integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==
412+
dependencies:
413+
"@babel/helper-string-parser" "^7.22.5"
414+
"@babel/helper-validator-identifier" "^7.22.20"
415+
to-fast-properties "^2.0.0"
416+
314417
"@bcoe/v8-coverage@^0.2.3":
315418
version "0.2.3"
316419
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
@@ -525,6 +628,11 @@
525628
resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz"
526629
integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==
527630

631+
"@jridgewell/resolve-uri@^3.1.0":
632+
version "3.1.1"
633+
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721"
634+
integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==
635+
528636
"@jridgewell/set-array@^1.0.1":
529637
version "1.1.2"
530638
resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz"
@@ -535,6 +643,11 @@
535643
resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz"
536644
integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==
537645

646+
"@jridgewell/sourcemap-codec@^1.4.14":
647+
version "1.4.15"
648+
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
649+
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
650+
538651
"@jridgewell/trace-mapping@^0.3.0", "@jridgewell/trace-mapping@^0.3.9":
539652
version "0.3.17"
540653
resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz"
@@ -543,6 +656,14 @@
543656
"@jridgewell/resolve-uri" "3.1.0"
544657
"@jridgewell/sourcemap-codec" "1.4.14"
545658

659+
"@jridgewell/trace-mapping@^0.3.17":
660+
version "0.3.20"
661+
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f"
662+
integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==
663+
dependencies:
664+
"@jridgewell/resolve-uri" "^3.1.0"
665+
"@jridgewell/sourcemap-codec" "^1.4.14"
666+
546667
"@sinonjs/commons@^1.7.0":
547668
version "1.8.3"
548669
resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz"
@@ -1041,9 +1162,9 @@ capture-exit@^2.0.0:
10411162
dependencies:
10421163
rsvp "^4.8.4"
10431164

1044-
chalk@^2.0.0:
1165+
chalk@^2.0.0, chalk@^2.4.2:
10451166
version "2.4.2"
1046-
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
1167+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
10471168
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
10481169
dependencies:
10491170
ansi-styles "^3.2.1"

0 commit comments

Comments
 (0)