[Snyk] Upgrade: , , ava, babel-loader, c8, eslint, eslint-plugin-jsdoc, eslint-plugin-n, eslint-plugin-regexp, eslint-plugin-unicorn, globby, markdown-it, markdown-it-for-inline, markdown-it-sub, markdown-it-sup, markdownlint-micromark, markdownlint-rule-helpers, strip-json-comments, terser-webpack-plugin, typescript, webpack, webpack-cli, yaml #31
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.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯♂ The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
@babel/core
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 3 months ago
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 6 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 9 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 9 months ago
⚠️ This is a major version upgrade, and may be a breaking change | 9 months ago
from 7.22.1 to 7.25.2 | 29 versions ahead of your current version | a month ago
on 2024-07-30
@babel/preset-env
from 7.22.4 to 7.25.3 | 26 versions ahead of your current version | a month ago
on 2024-07-31
ava
from 5.3.0 to 6.1.3 | 7 versions ahead of your current version
on 2024-05-05
babel-loader
from 9.1.2 to 9.1.3 | 1 version ahead of your current version | a year ago
on 2023-07-07
c8
from 7.14.0 to 10.1.2 | 8 versions ahead of your current version
on 2024-06-13
eslint
from 8.45.0 to 9.9.0 | 30 versions ahead of your current version
on 2024-08-09
eslint-plugin-jsdoc
from 46.1.0 to 50.2.2 | 79 versions ahead of your current version
on 2024-08-14
eslint-plugin-n
from 16.0.0 to 17.10.2 | 37 versions ahead of your current version
on 2024-08-05
eslint-plugin-regexp
from 1.15.0 to 2.6.0 | 25 versions ahead of your current version
on 2024-05-21
eslint-plugin-unicorn
from 47.0.0 to 55.0.0 | 11 versions ahead of your current version
on 2024-07-24
globby
from 13.1.4 to 14.0.2 | 6 versions ahead of your current version
on 2024-06-30
markdown-it
from 13.0.1 to 14.1.0 | 3 versions ahead of your current version
on 2024-03-18
markdown-it-for-inline
from 0.1.1 to 2.0.1 | 2 versions ahead of your current version
on 2023-12-05
markdown-it-sub
from 1.0.0 to 2.0.0 | 1 version ahead of your current version
on 2023-12-05
markdown-it-sup
from 1.0.0 to 2.0.0 | 1 version ahead of your current version
on 2023-12-05
markdownlint-micromark
from 0.1.5 to 0.1.10 | 5 versions ahead of your current version | 5 months ago
on 2024-03-28
markdownlint-rule-helpers
from 0.19.0 to 0.25.0 | 6 versions ahead of your current version | 6 months ago
on 2024-03-21
strip-json-comments
from 5.0.0 to 5.0.1 | 1 version ahead of your current version | a year ago
on 2023-07-04
terser-webpack-plugin
from 5.3.9 to 5.3.10 | 1 version ahead of your current version | 8 months ago
on 2023-12-28
typescript
from 5.1.3 to 5.5.4 | 401 versions ahead of your current version | 2 months ago
on 2024-07-22
webpack
from 5.85.0 to 5.93.0 | 15 versions ahead of your current version | 2 months ago
on 2024-07-11
webpack-cli
from 5.1.1 to 5.1.4 | 3 versions ahead of your current version | a year ago
on 2023-06-07
yaml
from 2.3.1 to 2.5.0 | 10 versions ahead of your current version | 2 months ago
on 2024-07-24
Issues fixed by the recommended upgrade:
SNYK-JS-MARKDOWNIT-6483324
Release notes
Package name: @babel/core
v7.25.2 (2024-07-30)
🐛 Bug Fix
babel-core
,babel-traverse
requeueComputedKeyAndDecorators
is available (@ nicolo-ribaudo)Committers: 2
v7.24.9 (2024-07-15)
🐛 Bug Fix
babel-core
,babel-standalone
require()
call in@ babel/standalone
bundle (@ nicolo-ribaudo)babel-types
💅 Polish
babel-generator
,babel-plugin-transform-optional-chaining
as
/satisfies
(@ nicolo-ribaudo)🏠 Internal
babel-helper-module-transforms
Committers: 5
Package name: @babel/preset-env
v7.25.3 (2024-07-31)
🐛 Bug Fix
babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-traverse
traverse.visitors.merge
(@ nicolo-ribaudo)🏠 Internal
babel-parser
@ babel/types
as a dependency of@ babel/parser
(@ nicolo-ribaudo)Committers: 2
v7.25.2 (2024-07-30)
🐛 Bug Fix
babel-core
,babel-traverse
requeueComputedKeyAndDecorators
is available (@ nicolo-ribaudo)Committers: 2
v7.25.0 (2024-07-26)
Thanks @ davidtaylorhq and @ slatereax for your first PR!
You can find the release blog post with some highlights at https://babeljs.io/blog/2024/07/26/7.25.0.
👓 Spec Compliance
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs3
await using
normative updates (@ JLHwung)babel-plugin-transform-typescript
🚀 New Feature
babel-helper-create-class-features-plugin
,babel-helper-function-name
,babel-helper-plugin-utils
,babel-helper-wrap-function
,babel-plugin-bugfix-safari-class-field-initializer-scope
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-preset-env
,babel-traverse
,babel-types
ensureFunctionName
toNodePath.prototype
(@ nicolo-ribaudo)babel-helper-hoist-variables
,babel-helper-plugin-utils
,babel-plugin-proposal-async-do-expressions
,babel-plugin-transform-modules-systemjs
,babel-traverse
hoistVariables
toScope.prototype
(@ nicolo-ribaudo)babel-helper-create-class-features-plugin
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-split-export-declaration
,babel-plugin-transform-classes
,babel-traverse
,babel-types
splitExportDeclaration
toNodePath.prototype
(@ nicolo-ribaudo)babel-helper-create-class-features-plugin
,babel-helper-environment-visitor
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-classes
,babel-traverse
environment-visitor
helper into@ babel/traverse
(@ nicolo-ribaudo)babel-core
,babel-parser
.extra.async
(@ nicolo-ribaudo)babel-compat-data
,babel-plugin-bugfix-safari-class-field-initializer-scope
,babel-preset-env
bugfix-safari-class-field-initializer-scope
(@ davidtaylorhq)babel-plugin-transform-block-scoping
,babel-traverse
,babel-types
NodePath#getAssignmentIdentifiers
(@ JLHwung)babel-helper-import-to-platform-api
,babel-plugin-proposal-json-modules
uncheckedRequire
option for JSON imports to CJS (@ nicolo-ribaudo)babel-helper-transform-fixture-test-runner
,babel-node
babel-node --eval
(@ slatereax)babel-compat-data
,babel-helper-create-regexp-features-plugin
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-transform-duplicate-named-capturing-groups-regex
,babel-preset-env
,babel-standalone
duplicate-named-capturing-groups-regex
topreset-env
(@ JLHwung)🐛 Bug Fix
babel-generator
babel-template
,babel-types
🏠 Internal
babel-generator
(
before ambiguous tokens (@ nicolo-ribaudo)babel-helper-function-name
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-function-name
,babel-preset-env
,babel-traverse
helper-function-name
logic (@ nicolo-ribaudo)🏃♀️ Performance
babel-parser
,babel-plugin-proposal-pipeline-operator
🔬 Output optimization
babel-plugin-transform-classes
assertThisInitialized
(@ liuxingbaoyu)babel-helper-create-class-features-plugin
,babel-helper-replace-supers
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-object-super
,babel-plugin-transform-private-methods
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
super.x
output (@ liuxingbaoyu)babel-plugin-transform-class-properties
,babel-plugin-transform-classes
Committers: 6
v7.24.8 (2024-07-11)
Thanks @ H0onnn, @ jkup and @ SreeXD for your first pull requests!
👓 Spec Compliance
babel-parser
declare
(@ liuxingbaoyu)🐛 Bug Fix
babel-generator
in
infor
heads (@ nicolo-ribaudo)await using
(@ nicolo-ribaudo)babel-parser
using
declarations (@ H0onnn).value: undefined
to regexp literals (@ liuxingbaoyu)babel-types
ObjectTypeInternalSlot
visitor keys (@ nicolo-ribaudo)babel-plugin-transform-typescript
export import x =
(@ liuxingbaoyu)💅 Polish
babel-generator
async
infor await
(@ nicolo-ribaudo)babel-traverse
Scope.globals
multiple times (@ liuxingbaoyu)Committers: 9
v7.24.7 (2024-06-05)
🐛 Bug Fix
babel-node
babel-traverse
constantViolations
with destructuring (@ liuxingbaoyu)babel-helper-transform-fixture-test-runner
,babel-plugin-proposal-explicit-resource-management
using
inswitch
correctly (@ liuxingbaoyu)🏠 Internal
babel-helpers
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
Committers: 7
Package name: ava
What's Changed
serial
configuration option by @ turadg in #3321New Contributors
Full Changelog: v6.1.2...v6.1.3
What's Changed
any: true
by @ gibson042 in #3313Full Changelog: v6.1.1...v6.1.2
What's Changed
Full Changelog: v6.1.0...v6.1.1
What's Changed
Implement
registerCompletionHandler()
by @ novemberborn in #3283AVA 6 expects test code to clean up gracefully when the tests are complete, allowing the test environment (worker thread or child process) to exit. If this does not happen, AVA will report a timeout. You can use
registerCompletionHandler()
to perform any other clean up (or indeed exit the process) after AVA has completed the test execution. See the description here.Fix potential bug with watch mode when no failed test files are written by @ novemberborn in #3287
Fix
ava/internal
ESM type module by @ codetheweb in #3292Full Changelog: v6.0.1...v6.1.0
What's Changed
Full Changelog: v6.0.0...v6.0.1
Breaking Changes
AVA now requires Node.js versions 18.18, 20.8 or 21. Versions 14 and 16 are no longer supported. #3251 #3216
When tests finish, worker threads or child processes are no longer exited through
proces.exit()
. If your test file does not exit on its own, the test run will time out. #3260Changes to watch mode #3218:
ava.config.*
orpackage.json
configuration.ignoredByWatcher
configuration has moved to thewatchMode
object, under theignoreChanges
key.fs.watch()
in recursive mode. This is supported on Linux in Node.js 20 or newer, and MacOS and Windows in Node.js 18 as well. There are caveats to keep in mind.Failed assertions now throw, meaning that any subsequent code is not executed. This also impacts the type definitions. #3246
Only native errors are now considered errors by the
t.throws()
andt.throwsAsync()
assertions.Object.create(Error.prototype)
is not a native error. #3229Changes to modules loaded through the
require
configuration #3184:@ ava/typescript
if necessary.Improvements
Rewritten watcher
The watcher has been rewritten. It’s now built on
fs.watch()
in recursive mode.@ vercel/nft
is used to perform static dependency analysis, supporting ESM and CJS imports for JavaScript & TypeScript source files. This is a huge improvement over the previous runtime tracking of CJS imports, which did not support ESM.Integration with
@ ava/typescript
has been improved. The watcher can now detect a change to a TypeScript source file, then wait for the corresponding build output to change before re-running tests.The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key.
See #3218 and #3257.
Failed assertions now throw
Assertions now throw a
TestFailure
error when they fail. This error is not exported or documented and should not be used or thrown manually. You cannot catch this error in order to recover from a failure, uset.try()
instead.All assertions except for
t.throws()
andt.throwsAsync()
now returntrue
when they pass. This is useful for some of the assertions in TypeScript where they can be used as a type guard.Committing a failed
t.try()
result now also throws.See #3246.
t.throws()
andt.throwsAsync()
can now expect any errorBy default, the thrown error (or rejection reason) must be a native error. You can change the assertion to expect any kind of error by setting
any: true
in the expectation object:See #3245 by @ adiSuper94.
The
require
configuration is now more powerfulIt now loads ES modules.
Local files are loaded through
@ ava/typescript
if necessary, so you can also write these in TypeScript.If there is a default export function, it is invoked after loading. The function is awaited so it can do asynchronous setup before further modules are loaded. Arguments from the configuration can be passed to the function (as a [structured clone](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone)).
See #3184 by @ sculpt0r.
Other changes worth noting
t.timeout.clear()
to restore a previoust.timeout()
. #3221New Contributors
Full Changelog: v5.3.1...v6.0.0
What's Changed
t.like()
to support Symbol keys and ignore non-enumerable properties by @ gibson042 in #3209t.like()
by @ novemberborn in #3212Full Changelog: v5.3.0...v5.3.1
What's Changed
t.like()
assertions by @ tommy-mitchell in #3185expect
andassert
) and use their formatting by @ Irvenae in #3187New Contributors
Full Changelog: v5.2.0...v5.3.0
Package name: babel-loader
Security dependency updates
New Contributors