[Snyk] Upgrade: , , , , , classnames, formik, markdown-to-jsx, typescript #136
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/runtime
from 7.23.4 to 7.25.6 | 15 versions ahead of your current version | 23 days ago
on 2024-08-29
@types/node
from 20.12.2 to 20.16.2 | 33 versions ahead of your current version | 24 days ago
on 2024-08-28
@types/react
from 18.2.73 to 18.3.5 | 12 versions ahead of your current version | 22 days ago
on 2024-08-30
@types/react-dom
from 18.2.23 to 18.3.0 | 3 versions ahead of your current version | 5 months ago
on 2024-04-25
@vercel/speed-insights
from 1.0.10 to 1.0.12 | 2 versions ahead of your current version | 3 months ago
on 2024-06-12
classnames
from 2.3.2 to 2.5.1 | 4 versions ahead of your current version | 9 months ago
on 2023-12-29
formik
from 2.4.5 to 2.4.6 | 1 version ahead of your current version | 5 months ago
on 2024-04-24
markdown-to-jsx
from 7.3.2 to 7.5.0 | 9 versions ahead of your current version | a month ago
on 2024-08-18
typescript
from 5.4.3 to 5.5.4 | 108 versions ahead of your current version | 2 months ago
on 2024-07-22
Release notes
Package name: @babel/runtime
-
7.25.6 - 2024-08-29
- #16783 Properly print inner comments in TS array types (@ nicolo-ribaudo)
- #16775 fix: jsx whitespace is not properly preserved when retainLines (@ liuxingbaoyu)
- #16727 fix:
- #16761 fix: improve static canFollowModifier checks (@ JLHwung)
- #16769 Only wrap functions in
- #16780 Do not enforce printing space between
- #16781 Don't throw when enabling both syntax-import-{assertions,attributes} (@ nicolo-ribaudo)
- #16782 TS union/intersection nested in union does not need parens (@ nicolo-ribaudo)
- #16777 Remove unused
- Babel Bot (@ babel-bot)
- Huáng Jùnliàng (@ JLHwung)
- Nicolò Ribaudo (@ nicolo-ribaudo)
- @ j4k0xb
- @ liuxingbaoyu
-
7.25.4 - 2024-08-22
- #16756 fix: Skip computed key when renaming (@ liuxingbaoyu)
- #16755 fix: Decorator 2018-09 may throw an exception (@ liuxingbaoyu)
- #16710 Visit AST fields nodes according to their syntactical order (@ nicolo-ribaudo)
- #16709 Print semicolon after TS
- #16722 Avoid unnecessary parens around sequence expressions (@ nicolo-ribaudo)
- #16714 Avoid unnecessary parens around exported arrow functions (@ nicolo-ribaudo)
- #16712 Avoid printing unnecessary parens around object destructuring (@ nicolo-ribaudo)
- #16740 Avoid extra spaces between comments/regexps in compact mode (@ nicolo-ribaudo)
- Babel Bot (@ babel-bot)
- Huáng Jùnliàng (@ JLHwung)
- Nicolò Ribaudo (@ nicolo-ribaudo)
- @ liuxingbaoyu
-
7.25.0 - 2024-07-26
- #16537
- #16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@ liuxingbaoyu)
- #16658 Move
- #16644 Move
- #16645 Move
- #16649 Move
- #16480 Expose wether a module has TLA or not as
- #16569 Introduce
- #16551 Add
- #16579 Add
- #16642 Allow using custom config in
- #16445 Add
- #16678 Print parens around as expressions on the LHS (@ nicolo-ribaudo)
- #15286 fix: Props are lost when the template replaces the node (@ liuxingbaoyu)
- Other
- #16674 bump gulp to 5 (@ JLHwung)
- #16651 Simplify the printing logic for
- #16652 Simplify
- #16461 Some minor parser performance improvements for ts (@ liuxingbaoyu)
- #16670 Reduce redundant
- #16374 Improve
- #16656 Simplify output for anonymous classes with no methods (@ nicolo-ribaudo)
- Artem (@ slatereax)
- Babel Bot (@ babel-bot)
- David Taylor (@ davidtaylorhq)
- Huáng Jùnliàng (@ JLHwung)
- Nicolò Ribaudo (@ nicolo-ribaudo)
- @ liuxingbaoyu
-
7.24.8 - 2024-07-11
-
7.24.7 - 2024-06-05
-
7.24.6 - 2024-05-24
-
7.24.5 - 2024-04-29
-
7.24.4 - 2024-04-03
-
7.24.1 - 2024-03-19
-
7.24.0 - 2024-02-28
-
7.23.9 - 2024-01-25
-
7.23.8 - 2024-01-08
-
7.23.7 - 2023-12-29
-
7.23.6 - 2023-12-11
-
7.23.5 - 2023-11-29
-
7.23.4 - 2023-11-20
from @babel/runtime GitHub release notesv7.25.6 (2024-08-29)
Thanks @ j4k0xb for your first PR!
🐛 Bug Fix
babel-generatorbabel-traversepath.getAssignmentIdentifiersmay beundefined(@ liuxingbaoyu)babel-parserbabel-helpers,babel-plugin-transform-optional-chaining,babel-runtime-corejs3superPropertyGethelper (@ nicolo-ribaudo)💅 Polish
babel-generator,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env(and comments (@ nicolo-ribaudo)babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributesbabel-generator🏠 Internal
babel-generatorparentparams in the generator (@ nicolo-ribaudo)Committers: 5
v7.25.4 (2024-08-22)
🐛 Bug Fix
babel-traversebabel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsbabel-typesbabel-generatorexport namespace as A(@ nicolo-ribaudo)💅 Polish
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-runtime-corejs2,babel-runtime,babel-traversebabel-generator,babel-plugin-transform-class-propertiesbabel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-object-rest-spread🔬 Output optimization
babel-generatorCommitters: 4
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-corejs3await usingnormative 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-typesensureFunctionNametoNodePath.prototype(@ nicolo-ribaudo)babel-helper-hoist-variables,babel-helper-plugin-utils,babel-plugin-proposal-async-do-expressions,babel-plugin-transform-modules-systemjs,babel-traversehoistVariablestoScope.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-typessplitExportDeclarationtoNodePath.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-traverseenvironment-visitorhelper 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-envbugfix-safari-class-field-initializer-scope(@ davidtaylorhq)babel-plugin-transform-block-scoping,babel-traverse,babel-typesNodePath#getAssignmentIdentifiers(@ JLHwung)babel-helper-import-to-platform-api,babel-plugin-proposal-json-modulesuncheckedRequireoption for JSON imports to CJS (@ nicolo-ribaudo)babel-helper-transform-fixture-test-runner,babel-nodebabel-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-standaloneduplicate-named-capturing-groups-regextopreset-env(@ JLHwung)🐛 Bug Fix
babel-generatorbabel-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-traversehelper-function-namelogic (@ nicolo-ribaudo)🏃♀️ Performance
babel-parser,babel-plugin-proposal-pipeline-operator🔬 Output optimization
babel-plugin-transform-classesassertThisInitialized(@ 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-runtimesuper.xoutput (@ liuxingbaoyu)babel-plugin-transform-class-properties,babel-plugin-transform-classesCommitters: 6
Package name: @types/node
-
20.16.2 - 2024-08-28
-
20.16.1 - 2024-08-19
-
20.16.0 - 2024-08-18
-
20.15.0 - 2024-08-16
-
20.14.15 - 2024-08-09
-
20.14.14 - 2024-08-02
-
20.14.13 - 2024-07-28
-
20.14.12 - 2024-07-23
-
20.14.11 - 2024-07-16
-
20.14.10 - 2024-07-05
-
20.14.9 - 2024-06-25
-
20.14.8 - 2024-06-22
-
20.14.7 - 2024-06-20
-
20.14.6 - 2024-06-19
-
20.14.5 - 2024-06-18
-
20.14.4 - 2024-06-17
-
20.14.3 - 2024-06-17
-
20.14.2 - 2024-06-05
-
20.14.1 - 2024-06-03
-
20.14.0 - 2024-06-02
-
20.13.0 - 2024-05-31
-
20.12.14 - 2024-05-31
-
20.12.13 - 2024-05-29
-
20.12.12 - 2024-05-14
-
20.12.11 - 2024-05-08
-
20.12.10 - 2024-05-06
-
20.12.9 - 2024-05-06
-
20.12.8 - 2024-05-01
-
20.12.7 - 2024-04-09
-
20.12.6 - 2024-04-09
-
20.12.5 - 2024-04-05
-
20.12.4 - 2024-04-03
-
20.12.3 - 2024-04-02
-
20.12.2 - 2024-03-30
from @types/node GitHub release notesPackage name: @types/react
-
18.3.5 - 2024-08-30
-
18.3.4 - 2024-08-20
-
18.3.3 - 2024-05-23
-
18.3.2 - 2024-05-11
-
18.3.1 - 2024-04-26
-
18.3.0 - 2024-04-25
-
18.2.79 - 2024-04-15
-
18.2.78 - 2024-04-13
-
18.2.77 - 2024-04-11
-
18.2.76 - 2024-04-11
-
18.2.75 - 2024-04-08
-
18.2.74 - 2024-04-02
-
18.2.73 - 2024-03-27
from @types/react GitHub release notesPackage name: @types/react-dom
-
18.3.0 - 2024-04-25
-
18.2.25 - 2024-04-11
-
18.2.24 - 2024-04-03
-
18.2.23 - 2024-03-28
from @types/react-dom GitHub release notesPackage name: @vercel/speed-insights
-
1.0.12 - 2024-06-12
- fix(#56,#72): useSearchParams might return null and break script insertion by @ feugy in #73
-
1.0.11 - 2024-05-24
- fix: nextjs parallel routes with catchall isn't supported by @ feugy in #69
- fix(#68): postinstall is failing with no error
-
1.0.10 - 2024-02-14
- Fix astro package entrypoint types by @ MoustaphaDev in #55
- @ MoustaphaDev made their first contribution in #55
from @vercel/speed-insights GitHub release notesWhat's Changed
Full Changelog: 1.0.11...1.0.12
What's Changed
Full Changelog: 1.0.10...1.0.11
What's Changed
New Contributors
Full Changelog: 1.0.9...1.0.10
Package name: classnames
-
2.5.1 - 2023-12-29
-
2.5.0 - 2023-12-28
-
2.4.0 - 2023-12-26
-
2.3.3 - 2023-12-25
-
2.3.2 - 2022-09-13
from classnames GitHub release notesPrepare for release of version 2.5.1 (#351)
Prepare for release of version 2.5.0 (#344)
Prepare for release of version 2.4.0 (#338)
Prepare for release of version 2.3.3 (#308)
add missing registry for npm publish (#283)
Package name: formik
-
2.4.6 - 2024-04-24
-
2.4.5 - 2023-09-17
-
-
from formik GitHub release notesPatch Changes
f57ca9b#3949 Thanks @ DeveloperRaj! - Changing the state inside formik was changing reference of initialValues provided via props, deep cloning the initialvalues will fix it.Patch Changes
d7db9cd#3860 Thanks @ patik! - Add missing dependency@ types/hoist-non-react-statics, closes #3837fe4ed7e#3501 Thanks @ markspolakovs! - Markformikas side-effect free inpackage.jsonPackage name: markdown-to-jsx
-
7.5.0 - 2024-08-18
-
foo', {
- 553a175: Replace RuleType enum with an object
-
7.4.7 - 2024-04-13
- 7603248: Fix parsing isolation of individual table cells.
- f9328cc: Improved block html detection regex to handle certain edge cases that cause extreme slowness. Thank you @ devbrains-com for the basis for this fix 🤝
-
7.4.6 - 2024-04-05
-
import { slugify } from 'markdown-to-jsx';
-
7.4.5 - 2024-03-22
-
> Block A.1
-
7.4.4 - 2024-03-21
- Brackets in link text by @ zegl in #551
- Multiline footnotes by @ zegl in #553
- fix: multi-line emphasis by @ austingreco in #550
- fix: gracefully handle missing image references by @ quantizor in #554
- chore: add changesets by @ quantizor in #555
- fix: handle newlines inside HTML tag brackets by @ quantizor in #557
- fix: html block regex prefix conflict by @ quantizor in #558
- Version Packages by @ github-actions in #556
- @ zegl made their first contribution in #551
- @ austingreco made their first contribution in #550
- @ github-actions made their first contribution in #556
-
7.4.3 - 2024-03-13
- fix: restore x-browser stable sort logic in #548 (fixes unclosed HTML tags that showed up for some edge cases)
-
7.4.2 - 2024-03-12
-
7.4.1 - 2024-01-29
- Update README.md by @ majman in #534
- Automatically strip YAML front matter by @ varnerac in #538
- @ majman made their first contribution in #534
- @ varnerac made their first contribution in #538
-
7.4.0 - 2024-01-01
import { Markdown, RuleType } from 'markdown-to-jsx'
-
7.3.2 - 2023-08-05
from markdown-to-jsx GitHub release notesMinor Changes
62a16f3: Allow modifying HTML attribute sanitization when
options.sanitizeris passed by the composer.By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the
hrefof an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export calledsanitizer.This can be overridden and replaced with a custom sanitizer if desired via
options.sanitizer:sanitizer: (value, tag, attribute) => value,
})">
Patch Changes
Patch Changes
Patch Changes
a9e5276: Browsers assign element with
idto the global scope using the value as the variable name. E.g.:<h1 id="analytics">can be referenced viawindow.analytics.This can be a problem when a name conflict happens. For instance, pages that expect
analytics.push()to be a function will stop working if the an element with anidofanalyticsexists in the page.In this change, we export the
slugifyfunction so that users can easily augment it.This can be used to avoid variable name conflicts by giving the element a different
id.options={{
slugify: str => {
let result = slugify(str)
}
}}
Patch Changes
f5a0079: fix: double newline between consecutive blockquote syntax creates separate blockquotes
Previously, for consecutive blockquotes they were rendered as one:
Input
> Block A.2
> Block B.1
Output
This is not compliant with the GFM spec which states that consecutive blocks should be created if there is a blank line between them.
What's Changed
New Contributors
Full Changelog: v7.4.3...v7.4.4
What's Changed
Full Changelog: v7.4.2...v7.4.3
Re-release 7.4.1 with less existential console screaming
What's Changed
New Contributors
Full Changelog: v7.4.0...v7.4.1
Happy New Year! 🎆
markdown-to-jsx v7.4 features a new option
renderRule! — From the README:Supply your own rendering function that can selectively override how rules are rendered (note, this is different than
options.overrideswhich operates at the HTML tag level and is more general). You can use this functionality to do pretty much anything with an established AST node; here's an example of selectively overriding the "codeBlock" rule to process LaTeX syntax using the@ matejmazur/react-katexlibrary:import TeX from '@ matejmazur/react-katex'
const exampleContent =
'Some important formula:\n\n
latex\nmathbb{N} = { a in mathbb{Z} : a > 0 }\n\n'function App() {
return (
<Markdown
children={exampleContent}
options={{
renderRule(next, node, renderChildren, state) {
if (node.type === RuleType.codeBlock && node.lang === 'latex') {
return (
<TeX as="div" key={state.key}>{String.raw
<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">node</span><span class="pl-kos">.</span><span class="pl-c1">text</span><span class="pl-kos">}</span></span>}</TeX>)
}
)
}
The README docs around syntax highlighting have also been updated with sample code.
With the new year comes a push toward v8. Performance will be a top priority, reducing the complexity of the library's regexes to increase throughput for SSR use-cases and ideally eliminate rare but frustrating issues like catastrophic backtracking. In addition, the library will be pivoting into more of a pure compiler model, with a React adapter offered and ones added for other major frameworks as well. The idea is anywhere you can run JS, you can use [secret new library name].
Stay tuned and thanks for being part of the journey ✌🏼
Here's to a great 2024 🍾
markdown-to-jsx is maintained by @ quantizor, buy him a coffee
Full Changelog: v7.3.2...v7.4.0
fix(types): path to esm types in "exports"
Full Changelog: v7.3.1...v7.3.2
Package name: typescript
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the