chore(deps): update all non-major dependencies #133
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
This PR contains the following updates:
^1.1.0
->^1.1.4
^16.2.14
->^16.2.15
^16.11.45
->^16.11.47
^10.3.0
->^10.4.0
^0.14.49
->^0.14.53
^8.5.0
->^8.21.0
^9.0.0
->^9.3.0
^2.0.16
->^2.0.17
v2.0.1
->v2.2.2
^2.5.1
->^2.7.1
^3.0.1
->^3.0.4
^0.18.1
->^0.20.3
^4.1.2
->^4.1.3
^0.38.8
->^0.39.4
Release Notes
cypress-io/cypress
v10.4.0
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​10-4-0
v10.3.1
Compare Source
Changelog: https://docs.cypress.io/guides/references/changelog#​10-3-1
evanw/esbuild
v0.14.53
Compare Source
This release fixes a minor issue with the previous release: I had to rename the package
esbuild-linux-loong64
to@esbuild/linux-loong64
in the contributed PR because someone registered the package name before I could claim it, and I missed a spot. Hopefully everything is working after this release. I plan to change all platform-specific package names to use the@esbuild/
scope at some point to avoid this problem in the future.v0.14.52
Compare Source
Allow binary data as input to the JS
transform
andbuild
APIs (#2424)Previously esbuild's
transform
andbuild
APIs could only take a string. However, some people want to use esbuild to convert binary data to base64 text. This is problematic because JavaScript strings represent UTF-16 text and esbuild internally operates on arrays of bytes, so all strings coming from JavaScript undergo UTF-16 to UTF-8 conversion before use. This meant that using esbuild in this way was doing base64 encoding of the UTF-8 encoding of the text, which was undesired.With this release, esbuild now accepts
Uint8Array
in addition to string as an input format for thetransform
andbuild
APIs. Now you can use esbuild to convert binary data to base64 text:Update the getter for
text
in build results (#2423)Output files in build results returned from esbuild's JavaScript API have both a
contents
and atext
property to return the contents of the output file. Thecontents
property is a binary UTF-8 Uint8Array and thetext
property is a JavaScript UTF-16 string. Thetext
property is a getter that does the UTF-8 to UTF-16 conversion only if it's needed for better performance.Previously if you mutate the build results object, you had to overwrite both
contents
andtext
since the value returned from thetext
getter is the original text returned by esbuild. Some people find this confusing so with this release, the getter fortext
has been updated to do the UTF-8 to UTF-16 conversion on the current value of thecontents
property instead of the original value.Publish builds for Linux LoongArch 64-bit (#1804, #2373)
This release upgrades to Go 1.19, which now includes support for LoongArch 64-bit processors. LoongArch 64-bit builds of esbuild will now be published to npm, which means that in theory they can now be installed with
npm install esbuild
. This was contributed by @beyond-1234.v0.14.51
Compare Source
Add support for React 17's
automatic
JSX transform (#334, #718, #1172, #2318, #2349)This adds support for the new "automatic" JSX runtime from React 17+ to esbuild for both the build and transform APIs.
New CLI flags and API options:
--jsx
,jsx
— Set this to"automatic"
to opt in to this new transform--jsx-dev
,jsxDev
— Toggles development mode for the automatic runtime--jsx-import-source
,jsxImportSource
— Overrides the root import for runtime functions (default"react"
)New JSX pragma comments:
@jsxRuntime
— Sets the runtime (automatic
orclassic
)@jsxImportSource
— Sets the import source (only valid with automatic runtime)The existing
@jsxFragment
and@jsxFactory
pragma comments are only valid with "classic" runtime.TSConfig resolving:
Along with accepting the new options directly via CLI or API, option inference from
tsconfig.json
compiler options was also implemented:"jsx": "preserve"
or"jsx": "react-native"
→ Same as--jsx=preserve
in esbuild"jsx": "react"
→ Same as--jsx=transform
in esbuild (which is the default behavior)"jsx": "react-jsx"
→ Same as--jsx=automatic
in esbuild"jsx": "react-jsxdev"
→ Same as--jsx=automatic --jsx-dev
in esbuildIt also reads the value of
"jsxImportSource"
fromtsconfig.json
if specified.For
react-jsx
it's important to note that it doesn't implicitly disable--jsx-dev
. This is to support the case where a user sets"react-jsx"
in theirtsconfig.json
but then toggles development mode directly in esbuild.esbuild vs Babel vs TS vs...
There are a few differences between the various technologies that implement automatic JSX runtimes. The JSX transform in esbuild follows a mix of Babel's and TypeScript's behavior:
When an element has
__source
or__self
props:Element has an "implicit true" key prop, e.g.
<a key />
:Element has spread children, e.g.
<a>{...children}</a>
Also note that TypeScript has some bugs regarding JSX development mode and the generation of
lineNumber
andcolumnNumber
values. Babel's values are accurate though, so esbuild's line and column numbers match Babel. Both numbers are 1-based and columns are counted in terms of UTF-16 code units.This feature was contributed by @jgoz.
v0.14.50
Compare Source
Emit
names
in source maps (#1296)The source map specification includes an optional
names
field that can associate an identifier with a mapping entry. This can be used to record the original name for an identifier, which is useful if the identifier was renamed to something else in the generated code. When esbuild was originally written, this field wasn't widely used, but now there are some debuggers that make use of it to provide better debugging of minified code. With this release, esbuild now includes anames
field in the source maps that it generates. To save space, the original name is only recorded when it's different from the final name.Update parser for arrow functions with initial default type parameters in
.tsx
files (#2410)TypeScript 4.6 introduced a change to the parsing of JSX syntax in
.tsx
files. Now a<
token followed by an identifier and then a=
token is parsed as an arrow function with a default type parameter instead of as a JSX element. This release updates esbuild's parser to match TypeScript's parser.Fix an accidental infinite loop with
--define
substitution (#2407)This is a fix for a regression that was introduced in esbuild version 0.14.44 where certain
--define
substitutions could result in esbuild crashing with a stack overflow. The problem was an incorrect fix for #2292. The fix merged the code paths for--define
and--jsx-factory
rewriting since the value substitution is now the same for both. However, doing this accidentally made--define
substitution recursive since the JSX factory needs to be able to match against--define
substitutions to integrate with the--inject
feature. The fix is to only do one additional level of matching against define substitutions, and to only do this for JSX factories. Now these cases are able to build successfully without a stack overflow.Include the "public path" value in hashes (#2403)
The
--public-path=
configuration value affects the paths that esbuild uses to reference files from other files and is used in various situations such as cross-chunk imports in JS and references to asset files from CSS files. However, it wasn't included in the hash calculations used for file names due to an oversight. This meant that changing the public path setting incorrectly didn't result in the hashes in file names changing even though the contents of the files changed. This release fixes the issue by including a hash of the public path in all non-asset output files.Fix a cross-platform consistency bug (#2383)
Previously esbuild would minify
0xFFFF_FFFF_FFFF_FFFF
as0xffffffffffffffff
(18 bytes) on arm64 chips and as18446744073709552e3
(19 bytes) on x86_64 chips. The reason was that the number was converted to a 64-bit unsigned integer internally for printing as hexadecimal, the 64-bit floating-point number0xFFFF_FFFF_FFFF_FFFF
is actually0x1_0000_0000_0000_0180
(i.e. it's rounded up, not down), and convertingfloat64
touint64
is implementation-dependent in Go when the input is out of bounds. This was fixed by changing the upper limit for which esbuild uses hexadecimal numbers during minification to0xFFFF_FFFF_FFFF_F800
, which is the next representable 64-bit floating-point number below0x1_0000_0000_0000_0180
, and which fits in auint64
. As a result, esbuild will now consistently never minify0xFFFF_FFFF_FFFF_FFFF
as0xffffffffffffffff
anymore, which means the output should now be consistent across platforms.Fix a hang with the synchronous API when the package is corrupted (#2396)
An error message is already thrown when the esbuild package is corrupted and esbuild can't be run. However, if you are using a synchronous call in the JavaScript API in worker mode, esbuild will use a child worker to initialize esbuild once so that the overhead of initializing esbuild can be amortized across multiple synchronous API calls. However, errors thrown during initialization weren't being propagated correctly which resulted in a hang while the main thread waited forever for the child worker to finish initializing. With this release, initialization errors are now propagated correctly so calling a synchronous API call when the package is corrupted should now result in an error instead of a hang.
Fix
tsconfig.json
files that collide with directory names (#2411)TypeScript lets you write
tsconfig.json
files withextends
clauses that refer to another config file using an implicit.json
file extension. However, if the config file without the.json
extension existed as a directory name, esbuild and TypeScript had different behavior. TypeScript ignores the directory and continues looking for the config file by adding the.json
extension while esbuild previously terminated the search and then failed to load the config file (because it's a directory). With this release, esbuild will now ignore exact matches when resolvingextends
fields intsconfig.json
files if the exact match results in a directory.Add
platform
to the transform API (#2362)The
platform
option is mainly relevant for bundling because it mostly affects path resolution (e.g. activating the"browser"
field inpackage.json
files), so it was previously only available for the build API. With this release, it has additionally be made available for the transform API for a single reason: you can now set--platform=node
when transforming a string so that esbuild will add export annotations for node, which is only relevant when--format=cjs
is also present.This has to do with an implementation detail of node that parses the AST of CommonJS files to discover named exports when importing CommonJS from ESM. However, this new addition to esbuild's API is of questionable usefulness. Node's loader API (the main use case for using esbuild's transform API like this) actually bypasses the content returned from the loader and parses the AST that's present on the file system, so you won't actually be able to use esbuild's API for this. See the linked issue for more information.
eslint/eslint
v8.21.0
Compare Source
Features
7b43ea1
feat: Implement FlatESLint (#16149) (Nicholas C. Zakas)92bf49a
feat: improve the key width calculation inkey-spacing
rule (#16154) (Nitin Kumar)c461542
feat: add newallowLineSeparatedGroups
option to thesort-keys
rule (#16138) (Nitin Kumar)1cdcbca
feat: add deprecation warnings for legacy API inRuleTester
(#16063) (Nitin Kumar)Bug Fixes
0396775
fix: lines-around-comment applyallowBlockStart
for switch statements (#16153) (Nitin Kumar)Documentation
2aadc93
docs: add anchors to headings inside docs content (#16134) (Strek)Chores
8892511
chore: Upgrade to Espree 9.3.3 (#16173) (Brandon Mills)1233bee
chore: switch to eslint-plugin-node's maintained fork (#16150) (唯然)97b95c0
chore: upgrade puppeteer v13 (#16151) (唯然)v8.20.0
Compare Source
Features
ca83178
feat: catch preprocess errors (#16105) (JounQin)Bug Fixes
30be0ed
fix: no-warning-comments rule escapes special RegEx characters in terms (#16090) (Lachlan Hunt)bfe5e88
fix: ignore spacing before]
and}
in comma-spacing (#16113) (Milos Djermanovic)Documentation
845c4f4
docs: Add website team details (#16115) (Nicholas C. Zakas)5a0dfdb
docs: Link to blog post in no-constant-binary-expression (#16112) (Jordan Eldredge)bc692a9
docs: remove install command (#16084) (Strek)49ca3f0
docs: don't show toc when content not found (#16095) (Amaresh S M)ba19e3f
docs: enhance 404 page UI (#16097) (Amaresh S M)a75d3b4
docs: remove unused meta.docs.category field in working-with-rules page (#16109) (Brandon Scott)cdc0206
docs: add formatters page edit link (#16094) (Amaresh S M)4d1ed22
docs: preselect default theme (#16098) (Strek)4b79612
docs: add missing correct/incorrect containers (#16087) (Milos Djermanovic)09f6acb
docs: fix UI bug on rules index and details pages (#16082) (Deepshika S)f5db264
docs: remove remaining duplicate rule descriptions (#16093) (Milos Djermanovic)32a6b2a
docs: Add scroll behaviour smooth (#16056) (Amaresh S M)Chores
bbf8df4
chore: Mark autogenerated release blog post as draft (#16130) (Nicholas C. Zakas)eee4306
chore: update internal lint dependencies (#16088) (Bryan Mishkin)9615a42
chore: update formatter examples template to avoid markdown lint error (#16085) (Milos Djermanovic)62541ed
chore: fix markdown linting error (#16083) (唯然)v8.19.0
Compare Source
Features
7023628
feat: add importNames support for patterns in no-restricted-imports (#16059) (Brandon Scott)472c368
feat: fix handling of blocklesswith
statements in indent rule (#16068) (Milos Djermanovic)Bug Fixes
fc81848
fix: throw helpful exception when rule has wrong return type (#16075) (Bryan Mishkin)Documentation
3ae0574
docs: Remove duplicate rule descriptions (#16052) (Amaresh S M)f50cf43
docs: Add base href to each page to fix relative URLs (#16046) (Nicholas C. Zakas)ae4b449
docs: make logo link clickable on small width screens (#16058) (Milos Djermanovic)280f898
docs: use only fenced code blocks (#16044) (Milos Djermanovic)f5d63b9
docs: add listener only if element exists (#16045) (Amaresh S M)8b639cc
docs: add missing migrating-to-8.0.0 in the user guide (#16048) (唯然)b8e68c1
docs: Update release process (#16036) (Nicholas C. Zakas)6d0cb11
docs: remove table of contents from markdown text (#15999) (Nitin Kumar)Chores
e884933
chore: usegithub-slugger
for markdown anchors (#16067) (Strek)02e9cb0
chore: revamp carbon ad style (#16078) (Amaresh S M)b6aee95
chore: remove unwanted comments from rules markdown (#16054) (Strek)6840940
chore: correctly use .markdownlintignore in Makefile (#16060) (Bryan Mishkin)48904fb
chore: add missing images (#16017) (Amaresh S M)910f741
chore: add architecture to nav (#16039) (Strek)9bb24c1
chore: add correct incorrect in all rules doc (#16021) (Deepshika S)5a96af8
chore: prepare versions data file (#16035) (Nicholas C. Zakas)50afe6f
chore: Included githubactions in the dependabot config (#15985) (Naveen)473411e
chore: add deploy workflow for playground (#16034) (Milos Djermanovic)a30b66c
chore: fix print style (#16025) (Amaresh S M)f4dad59
chore: add noindex meta tag (#16016) (Milos Djermanovic)db387a8
chore: fix sitemap (#16026) (Milos Djermanovic)285fbc5
chore: remove TOC from printable (#16020) (Strek)8e84c21
chore: remove ligatures from fonts (#16019) (Strek)v8.18.0
Compare Source
Features
a6273b8
feat: account for rule creation time in performance reports (#15982) (Nitin Kumar)Bug Fixes
f364d47
fix: Make no-unused-vars treat for..of loops same as for..in loops (#15868) (Alex Bass)Documentation
4871047
docs: Update analytics, canonical URL, ads (#15996) (Nicholas C. Zakas)cddad14
docs: Add correct/incorrect containers (#15998) (Nicholas C. Zakas)b04bc6f
docs: Add rules meta info to rule pages (#15902) (Nicholas C. Zakas)1324f10
docs: unify the wording referring to optional exception (#15893) (Abdelrahman Elkady)ad54d02
docs: add missing trailing slash to some internal links (#15991) (Milos Djermanovic)df7768e
docs: Switch to version-relative URLs (#15978) (Nicholas C. Zakas)21d6479
docs: change some absolute links to relative (#15970) (Milos Djermanovic)f31216a
docs: Update README team and sponsors (ESLint Jenkins)Build Related
ed49f15
build: remove unwanted parallel and image-min for dev server (#15986) (Strek)Chores
f6e2e63
chore: fix 'replaced by' rule list (#16007) (Milos Djermanovic)d94dc84
chore: remove unused deprecation warnings (#15994) (Francesco Trotta)cdcf11e
chore: fix versions link (#15995) (Milos Djermanovic)d2a8715
chore: add trailing slash topathPrefix
(#15993) (Milos Djermanovic)58a1bf0
chore: tweak URL rewriting for local previews (#15992) (Milos Djermanovic)80404d2
chore: remove docs deploy workflow (#15984) (Nicholas C. Zakas)71bc750
chore: Set permissions for GitHub actions (#15971) (Naveen)90ff647
chore: avoid generating subdirectories for each page on new docs site (#15967) (Milos Djermanovic)v8.17.0
Compare Source
Features
55319e1
feat: fix indent bug with semicolon-first style (#15951) (Milos Djermanovic)f6d7920
feat: addallowNamedExports
option to no-use-before-define (#15953) (Milos Djermanovic)Bug Fixes
54c0953
fix: cleanup typos (#15939) (Nick Schonning)845a7af
fix: typo ocatal -> octal (#15940) (Nick Schonning)Documentation
b915018
docs: Update website UI to latest (#15944) (Nicholas C. Zakas)f0bb609
docs: Update Exponentiation operator MDN link (#15960) (Pranjal Jain)baa0153
docs: Use correct past tense "left" instead of "leaved" (#15950) (Frederik Braun)1351a9b
docs: Add Resources section to rule pages (#15901) (Nicholas C. Zakas)68cf0fb
docs: cleanup typos (#15936) (Nick Schonning)13b62ae
docs: use-dart-sass instead of node-sass (#15912) (Deepshika S)c81c5d6
docs: add social media links (#15920) (Deepshika S)0d6a50b
docs: fix openjs link (#15917) (Amaresh S M)54910f5
docs: display version in mobile view (#15909) (Amaresh S M)Chores
da694b9
chore: avoid theme flashes (#15927) (Strek)f836743
chore: Use build hook for docs deploy (#15945) (Nicholas C. Zakas)ce035e5
test: cleanup typos (#15937) (Nick Schonning)10249ad
chore: use addEventListener instead of addListener (#15923) (Amaresh S M)5f5c1fb
chore: lint eleventy config file (#15904) (Milos Djermanovic)8513d37
chore: update Rule typedefs (#15915) (Milos Djermanovic)55534f1
test: ensure no-restricted-imports works with NodeJS imports (#15907) (Nick Mazuk)v8.16.0
Compare Source
Features
cab0c22
feat: add Unicode flag suggestion in no-misleading-character-class (#15867) (Milos Djermanovic)38ae956
feat: check Unicode code point escapes in no-control-regex (#15862) (Milos Djermanovic)ee69cd3
feat: Update global variables (#15871) (Sébastien Règne)Bug Fixes
3f09aab
fix: function-paren-newline crash on "new new Foo();" (#15850) (coderaiser)Documentation
050d5f4
docs: Static further reading links (#15890) (Nicholas C. Zakas)36287c0
docs: fix absolute paths in related rules shortcode to work from /docs (#15892) (Milos Djermanovic)90b6990
docs: fix absolute links in rule macro to work from /docs (#15891) (Milos Djermanovic)f437249
docs: Adjust docs site path prefix (#15889) (Nicholas C. Zakas)6e16025
docs: update 'Related Rules' and 'Further Reading' in remaining rules (#15884) (Milos Djermanovic)1d39f69
docs: remove confusing examples for no-mixed-operators (#15875) (Milos Djermanovic)3071d76
docs: Fix some grammar issues (#15837) (byodian)Chores
1768d0d
chore: upgrade @eslint/eslintrc@1.3.0 (#15903) (Milos Djermanovic)c686e4c
chore: Add deploy workflow for docs site (#15894) (Nicholas C. Zakas)c7894cd
chore: enable some rules from eslint-plugin-unicorn internally (#15878) (Bryan Mishkin)ea65cb5
chore: upgrade eslint-plugin-eslint-plugin@^4.2.0 (#15882) (唯然)cc29c69
chore: Upgrade official GitHub actions to latest versions (#15880) (Darius Dzien)5891c75
chore: Refactor rule docs format (#15869) (Nicholas C. Zakas)v8.15.0
Compare Source
Features
ab37d3b
feat: addenforceInClassFields
option to no-underscore-dangle (#15818) (Roberto Cestari)Bug Fixes
8bf9440
fix: "use strict" should not trigger strict mode in ES3 (#15846) (Milos Djermanovic)Documentation
28116cc
docs: update AST node names link in no-restricted-syntax (#15843) (Milos Djermanovic)272965f
docs: fix h1 heading on formatters page (#15834) (Milos Djermanovic)a798166
docs: update example for running individual rule tests (#15833) (Milos Djermanovic)57e732b
docs: markSourceCode#getJSDocComment
deprecated in working-with-rules (#15829) (Milos Djermanovic)9a90abf
docs: update docs directory in working-with-rules (#15830) (Milos Djermanovic)810adda
docs: add more examples for prefer-object-spread (#15831) (coderaiser)06b1edb
docs: clarify no-control-regex rule (#15808) (Milos Djermanovic)9ecd42f
docs: Fixed typo in code comment (#15812) (Addison G)de992b7
docs: remove links to 2fa document (#15804) (Milos Djermanovic)5222659
docs: fix 'Related Rules' heading in no-constant-binary-expression (#15799) (Milos Djermanovic)e70ae81
docs: Update README team and sponsors (ESLint Jenkins)Chores
1ba6a92
chore: upgrade @eslint/eslintrc@1.2.3 (#15847) (Milos Djermanovic)8167aa7
chore: bump version of minimatch due to security issue PRISMA-2022-0039 (#15774) (Jan Opravil)b8995a4
chore: Implement docs site (#15815) (Nicholas C. Zakas)6494e3e
chore: update link incodeql-analysis.yml
(#15817) (Milos Djermanovic)36503ec
chore: enable no-constant-binary-expression in eslint-config-eslint (#15807) (唯然)v8.14.0
Compare Source
Features
ab6363d
feat: Add rule no-constant-binary-expression (#15296) (Jordan Eldredge)Bug Fixes
35fa1dd
fix: allow project paths to have URL-encoded characters (#15795) (Milos Djermanovic)413f1d5
fix: updateastUtils.isDirectiveComment
withglobals
andexported
(#15775) (Milos Djermanovic)Build Related
c2407e8
build: add node v18 (#15791) (唯然)Chores
735458c
chore: add static frontmatter to no-constant-binary-expression docs (#15798) (Milos Djermanovic)db28f2c
chore: Add static frontmatter to docs (#15782) (Nicholas C. Zakas)3bca59e
chore: markdownlint autofix on commit (#15783) (Nicholas C. Zakas)v8.13.0
Compare Source
Features
274acbd
feat: fix no-eConfiguration
This PR has been generated by Mend Renovate. View repository job log here.