TheCyberHUB
TheCyberHUB copied to clipboard
[Snyk] Upgrade: , add-to-calendar-button-react, chart.js, dompurify, framer-motion, highlight.js, path-to-regexp, react-day-picker, react-icons, react-router, react-router-dom, react-spinners, styled-components
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together. :information_source: 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.⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.
Name | Versions | Released on |
---|
@reduxjs/toolkitfrom 2.2.4 to 2.2.7 | 3 versions ahead of your current version | a month agoon 2024-07-27 add-to-calendar-button-reactfrom 2.6.14 to 2.6.18 | 4 versions ahead of your current version | 3 months agoon 2024-06-18 chart.jsfrom 4.4.2 to 4.4.3 | 1 version ahead of your current version | 4 months agoon 2024-05-17 dompurifyfrom 3.1.3 to 3.1.6 | 3 versions ahead of your current version | 2 months agoon 2024-07-05 framer-motionfrom 11.2.10 to 11.3.28 | 63 versions ahead of your current version | 23 days agoon 2024-08-15 highlight.jsfrom 11.9.0 to 11.10.0 | 1 version ahead of your current version | 2 months agoon 2024-07-06 path-to-regexpfrom 6.2.2 to 7.1.0 | 2 versions ahead of your current version:warning: This is a major version upgrade, and may be a breaking change | 2 months agoon 2024-07-13 react-day-pickerfrom 8.10.1 to 9.0.8 | 20 versions ahead of your current version:warning: This is a major version upgrade, and may be a breaking change | a month agoon 2024-08-07 react-iconsfrom 5.2.1 to 5.3.0 | 1 version ahead of your current version | 25 days agoon 2024-08-13 react-routerfrom 6.23.1 to 6.26.1 | 13 versions ahead of your current version | 23 days agoon 2024-08-15 react-router-domfrom 6.23.1 to 6.26.1 | 13 versions ahead of your current version | 23 days agoon 2024-08-15 react-spinnersfrom 0.13.8 to 0.14.1 | 2 versions ahead of your current version | 2 months agoon 2024-06-26 styled-componentsfrom 6.1.11 to 6.1.12 | 1 version ahead of your current version | 2 months agoon 2024-07-17
Release notes
Package name: @reduxjs/toolkit
-
2.2.7 - 2024-07-27
This bugfix release fixes issues with "TS type portability" errors, improves build artifact tree shaking behavior, and exports some additional TS types.
Changelog
TS Type Portability
We've had a slew of issues reported around "TS type portability" errors, such as:
The error messages are typically along the lines of:
Type error: The inferred type of
'configureStore'
cannot be named without a reference to'@ reduxjs/toolkit/node_modules/redux'
. This is likely not portable. A type annotation is necessary.@ aryaemami59 did some deep investigation and concluded these were due to a mixture of using
interface
instead oftype
in most places, not pre-bundling our TS typedefs, and not exporting some of the unique symbols we use internally.Arya put together a highly detailed writeup and set of fixes in #4467: Fix: TypeScript Type Portability Issues, and that appears to resolve all of those issues we've seen. Thank you!
Other Changes
Arya also did significant work to improve RTK's treeshaking, tweaking internal definitions to let bundlers better separate out unused code.
We've exported additional types like
UpdateDefinitions
andRetryOptions
, per request.listenerMiddleware.withTypes()
methods now allow passing in anExtraArgument
generic.What's Changed
- Fix: TypeScript Type Portability Issues by @ aryaemami59 in #4467
- Export UpdateDefinitions from toolkit/query by @ joekrill in #4519
- feat: Adds ExtraArgument to withTypes for listenerMiddleware. by @ antondalgren in #4517
- Improve treeshakeability of build artifacts by @ aryaemami59 in #4435
- Export RetryOptions by @ markerikson in #4529
Full Changelog: v2.2.6...v2.2.7
-
2.2.6 - 2024-06-29
This bugfix release:
- Brings internal
useIsomorphicLayoutEffect
usage in line with React Redux in React Native environments - Exports
FetchBaseQueryArgs
type - Fixes an issue in recent
createEntityAdapter
sorting perf improvements that could (in specific cases) cause Immer to throw an error
What's Changed
- Fix
useIsomorphicLayoutEffect
usage in React Native environments by @ aryaemami59 in #4436 - Add export for FetchBaseQueryArgs by @ WilsonCWong in #4465
- Fix Immer current usage when calling addManyMutably more than once by @ JacobShafer in #4420
- Golf a few pieces of entity adapter code by @ EskiMojo14 in #4485
Full Changelog: v2.2.5...v2.2.6
- Brings internal
- 2.2.5 - 2024-05-16
- 2.2.4 - 2024-05-09
Package name: add-to-calendar-button-react
-
2.6.18 - 2024-06-18
- fix
-
2.6.17 - 2024-06-18
bump
-
2.6.16 - 2024-06-01
new common class for all host elements to optimize styling via ::parts
-
2.6.15 - 2024-05-15
- Workaround to make all-day events with Yahoo work again.
- Demo page optimization.
-
2.6.14 - 2024-04-30
- optimizing default font
- fixing date button allday issue
Package name: chart.js
-
4.4.3 - 2024-05-17
Essential Links
- #11754 Fix error when object prototype is frozen
Bugs Fixed
- #11764 do not attempt to clear canvas if one does not exist
- #11755 #11450 hide bar by dataindex
- #11690 Create parsed object with correct keys
- #11707 platform.isAttached should return false if canvas is false-y
Documentation
- #11762 Update license year
Development
- #11776 Bump to 4.4.3
- #11773 Bump pnpm/action-setup from 3.0.0 to 4.0.0
- #11720 Bump follow-redirects from 1.15.4 to 1.15.6
Thanks to @ DAcodedBEAT, @ EricWittrock, @ LeeLenaleee, @ LiamSwayne, @ dependabot and @ dependabot[bot]
-
4.4.2 - 2024-02-28
Essential Links
Bugs Fixed
- #11685 addListener and removeListener should be only invoked on truthy values
- #11682 fix #11503, autoskipping 0 tick when min is below 0
- #11616 fix(#11615): fix calculating caretX position on stacked bar with index interaction.
Types
- #11662 bugfix #10896 - Changed 'r' to optional for BubbleChart
Documentation
Development
- #11689 Bump to 4.4.2
- #11664 Bump pnpm/action-setup from 2.4.0 to 3.0.0
- #11657 Bump release-drafter/release-drafter from 5 to 6
- #11650 Bump dorny/paths-filter from 2 to 3
- #11636 Bump socket.io-parser from 4.2.2 to 4.2.4
- #11635 Bump follow-redirects from 1.15.2 to 1.15.4
- #11633 Update pnpm lockfile
Thanks to @ DAcodedBEAT, @ LeeLenaleee, @ Megaemce, @ dependabot, @ dependabot[bot], @ mirumirumi, @ smoonsf and @ waszkiewiczja
Package name: dompurify
-
3.1.6 - 2024-07-05
- Fixed an issue with the execution logic of attribute hooks to prevent bypasses, thanks @ kevin-mizu
- Fixed an issue with element removal leading to uncaught errors through DOM Clobbering, thanks @ realansgar
- Fixed a minor problem with the bower file pointing to the wrong dist path
- Fixed several minor typos in docs, comments and comment blocks, thanks @ Rotzbua
- Updated several development dependencies
-
3.1.5 - 2024-05-31
- Fixed a minor issue with the dist paths in
bower.js
, thanks @ HakumenNC - Fixed a minor issue with sanitizing HTML coming from copy&paste Word content, thanks @ kakao-bishop-cho
- Fixed a minor issue with the dist paths in
-
3.1.4 - 2024-05-20
- Fixed an issue with the recently implemented
isNaN
checks, thanks @ tulach - Added several new popover attributes to allow-list, thanks @ Gigabyte5671
- Fixed the tests and adjusted the test runner to cover all branches
- Fixed an issue with the recently implemented
-
3.1.3 - 2024-05-11
- Fixed several mXSS variations found by and thanks to @ kevin-mizu & @ Ry0taK
- Added better configurability for comment scrubbing default behavior
- Added better hardening against Prototype Pollution attacks, thanks @ kevin-mizu
- Added better handling and readability of the
nodeType
property, thanks @ ssi02014 - Fixed some smaller issues in README and other documentation
Package name: framer-motion
-
11.3.28 - 2024-08-15
v11.3.28
-
11.3.28-alpha.1 - 2024-08-14
v11.3.28-alpha.1
-
11.3.28-alpha.0 - 2024-08-14
v11.3.28-alpha.0
-
11.3.27 - 2024-08-14
v11.3.27
-
11.3.26 - 2024-08-14
v11.3.26
-
11.3.25 - 2024-08-14
v11.3.25
-
11.3.25-alpha.12 - 2024-08-14
v11.3.25-alpha.12
-
11.3.25-alpha.11 - 2024-08-14
v11.3.25-alpha.11
-
11.3.25-alpha.10 - 2024-08-14
v11.3.25-alpha.10
-
11.3.25-alpha.9 - 2024-08-14
v11.3.25-alpha.9
- 11.3.25-alpha.8 - 2024-08-14
- 11.3.25-alpha.7 - 2024-08-14
- 11.3.25-alpha.6 - 2024-08-14
- 11.3.25-alpha.5 - 2024-08-14
- 11.3.25-alpha.4 - 2024-08-13
- 11.3.25-alpha.3 - 2024-08-13
- 11.3.25-alpha.2 - 2024-08-13
- 11.3.25-alpha.1 - 2024-08-13
- 11.3.25-alpha.0 - 2024-08-13
- 11.3.24 - 2024-08-08
- 11.3.24-alpha.2 - 2024-08-08
- 11.3.24-alpha.1 - 2024-08-08
- 11.3.23 - 2024-08-07
- 11.3.23-alpha.10 - 2024-08-08
- 11.3.23-alpha.9 - 2024-08-08
- 11.3.23-alpha.8 - 2024-08-08
- 11.3.23-alpha.7 - 2024-08-08
- 11.3.23-alpha.6 - 2024-08-08
- 11.3.23-alpha.5 - 2024-08-08
- 11.3.23-alpha.4 - 2024-08-08
- 11.3.23-alpha.3 - 2024-08-08
- 11.3.23-alpha.2 - 2024-08-08
- 11.3.23-alpha.1 - 2024-08-07
- 11.3.23-alpha.0 - 2024-08-07
- 11.3.22 - 2024-08-07
- 11.3.21 - 2024-08-01
- 11.3.20 - 2024-08-01
- 11.3.19 - 2024-07-27
- 11.3.18 - 2024-07-26
- 11.3.18-alpha.0 - 2024-07-26
- 11.3.17 - 2024-07-24
- 11.3.16 - 2024-07-24
- 11.3.15 - 2024-07-24
- 11.3.14 - 2024-07-24
- 11.3.13 - 2024-07-24
- 11.3.12 - 2024-07-23
- 11.3.11 - 2024-07-23
- 11.3.10 - 2024-07-23
- 11.3.9 - 2024-07-23
- 11.3.8 - 2024-07-19
- 11.3.7 - 2024-07-18
- 11.3.6 - 2024-07-17
- 11.3.5 - 2024-07-17
- 11.3.4 - 2024-07-16
- 11.3.3 - 2024-07-16
- 11.3.2 - 2024-07-11
- 11.3.1 - 2024-07-11
- 11.3.0 - 2024-07-10
- 11.3.0-alpha.0 - 2024-06-12
- 11.2.14 - 2024-07-09
- 11.2.13 - 2024-07-04
- 11.2.12 - 2024-06-25
- 11.2.11 - 2024-06-19
- 11.2.10 - 2024-05-31
Package name: highlight.js
-
11.10.0 - 2024-07-06
Sorry for the wait, this one is a doozie, thanks to all the contributors who made it possible!
CAVEATS / POTENTIALLY BREAKING CHANGES
Important
This version drops support for Node 16.x, which is no longer supported by Node.js.
Core Grammars:
- enh(typescript) add support for
satisfies
operator Kisaragi Hiu - enc(c) added more C23 keywords Melkor-1
- enh(json) added jsonc as an alias BackupMiles
- enh(gml) updated to latest language version (GML v2024.2) gnysek
- enh(c) added more C23 keywords and preprcoessor directives Eisenwave
- enh(js/ts) support namespaced tagged template strings Aral Balkan
- enh(perl) fix false-positive variable match at end of string Josh Goebel
- fix(cpp) not all kinds of number literals are highlighted correctly Lê Duy Quang
- fix(css) fix overly greedy pseudo class matching Bradley Mackey
- enh(arcade) updated to ArcGIS Arcade version 1.24 Kristian Ekenes
- fix(typescript): params types Mohamed Ali
- fix(rust) fix escaped double quotes in string Mohamed Ali
- fix(rust) fix for r# raw identifier not being highlighted correctly. JaeBaek Lee
- enh(rust) Adding union to be recognized as a keyword in Rust. JaeBaek Lee
- fix(yaml) fix for yaml with keys having brackets highlighted incorrectly Aneesh Kulkarni
- fix(csharp) add raw string highlighting for C# 11. Tara
- fix(bash) fix # within token being detected as the start of a comment Felix Uhl
- fix(python) fix
or
conflicts with string highlighting Mohamed Ali - enh(python) adds a scope to the
self
variable [Lee Falin][] - enh(delphi) allow digits to be omitted for hex and binary literals Jonah Jeleniewski
- enh(delphi) add support for digit separators Jonah Jeleniewski
- enh(delphi) add support for character strings with non-decimal numerics Jonah Jeleniewski
- fix(javascript) incorrect function name highlighting CY Fung
- fix(1c) fix escaped symbols "+-;():=,[]" literals Vitaly Barilko
- fix(swift) correctly highlight generics and conformances in type definitions Bradley Mackey
- enh(swift) add package keyword Bradley Mackey
- fix(swift) ensure keyword attributes highlight correctly Bradley Mackey
- fix(types) fix interface LanguageDetail > keywords Patrick Chiu
- enh(java) add
goto
to be recognized as a keyword in Java Alvin Joy - enh(bash) add keyword
sudo
Alvin Joy - fix(haxe) captures
new
keyword without capturing it within variables/class names Cameron Taylor - fix(go) fix go number literals to accept
_
separators, add hex p exponents Lisa Ugray - enh(markdown) add entity support David Schach TaraLei
- enh(css) add
justify-items
andjustify-self
attributes Vasily Polovnyov - enh(css) add
accent-color
,appearance
,color-scheme
,rotate
,scale
andtranslate
attributes Carl Räfting - fix(fortran) fixes parsing of keywords delimited by dots Julien Bloino
- enh(css) add
select
,option
,optgroup
,picture
andsource
to list of known tags Vasily Polovnyov - enh(css) add
inset
,inset-*
,border-start-*-radius
andborder-end-*-radius
attributes Vasily Polovnyov - enh(css) add
text-decoration-skip-ink
,text-decoration-thickness
andtext-underline-offset
attributes Vasily Polovnyov
New Grammars:
- added 3rd party CODEOWNERS grammar to SUPPORTED_LANGUAGES nataliia-radina
- added 3rd party Luau grammar to SUPPORTED_LANGUAGES Robloxian Demo
- added 3rd party ReScript grammar to SUPPORTED_LANGUAGES Paul Tsnobiladzé
- added 3rd party Zig grammar to SUPPORTED_LANGUAGES [Hyou BunKen][]
- added 3rd party WGSL grammar to SUPPORTED_LANGUAGES Arman Uguray
- added 3rd party Unison grammar to SUPPORTED_LANGUAGES Rúnar Bjarnason
- added 3rd party Phix grammar to SUPPORTED_LANGUAGES PeteLomax
- added 3rd party Mirth grammar to SUPPORTED_LANGUAGES Sierra
- added 3rd party JSONata grammar to SUPPORTED_LANGUAGES Vlad Dimov
Developer Tool:
- enh(tools): order CSS options picklist David Schach
- enh(tools): remove duplicate CSS options David Schach
- (typescript): deprecate old
highlight
API Misha Kaletsky
Themes:
- Added
1c-light
theme a like in the IDE 1C:Enterprise 8 (for 1c) Vitaly Barilko
- enh(typescript) add support for
-
11.9.0 - 2023-10-09
Version 11.9.0
CAVEATS / POTENTIALLY BREAKING CHANGES
- Drops support for Node 14.x, which is no longer supported by Node.js.
- In the
node
buildstyles/*.css
files now ship un-minified
with minified counterparts as:styles/*.min.css
mvorisek
(this makes things consistent with ourcdn
builds)
Parser:
- (enh) prevent re-highlighting of an element [joshgoebel][]
- (chore) Remove discontinued badges from README Bradley Mackey
- (chore) Fix build size report Bradley Mackey
New Grammars:
- added 3rd party Iptables grammar to SUPPORTED_LANGUAGES Checconio
- added 3rd party x86asmatt grammar to SUPPORTED_LANGUAGES gondow
- added 3rd party riscv64 grammar to SUPPORTED_LANGUAGES aana-h2
- added 3rd party Ballerina grammar to SUPPORTED_LANGUAGES Yasith Deelaka
Core Grammars:
- fix(rust) added negative-lookahead for callable keywords
if
while
for
[Omar Hussein][] - enh(armasm) added
x0-x30
andw0-w30
ARMv8 registers Nicholas Thompson - enh(haxe) added
final
,is
,macro
keywords and$
identifiers Robert Borghese - enh(haxe) support numeric separators and suffixes Robert Borghese
- fix(haxe) fixed metadata arguments and support non-colon syntax Robert Borghese
- fix(haxe) differentiate
abstract
declaration from keyword Robert Borghese - fix(bash) do not delimit a string by an escaped apostrophe [hancar][]
- enh(swift) support
macro
keyword Bradley Mackey - enh(swift) support parameter pack keywords Bradley Mackey
- enh(swift) regex literal support Bradley Mackey
- enh(swift)
@ unchecked
and@ Sendable
support Bradley Mackey - enh(scala) add using directives support
//> using foo bar
[Jamie Thompson][] - fix(scala) fixed comments in constructor arguments not being properly highlighted Isaac Nonato
- enh(swift) ownership modifiers support Bradley Mackey
- enh(nsis) Add
!assert
compiler flag [idleberg][] - fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][]
- enh(rust) added
eprintln!
macro qoheniac - enh(leaf) update syntax to 4.0 Samuel Bishop
- fix(reasonml) simplify syntax and align it with ocaml jchavarri
- fix(swift)
warn_unqualified_access
is an attribute Bradley Mackey - enh(swift) macro attributes are highlighted as keywords Bradley Mackey
- enh(stan) updated for version 2.33 (#3859) Brian Ward
- fix(css) added '_' css variable detection Md Saad Akhtar
- enh(groovy) add
record
andvar
as keywords Guillaume Laforge
Developer Tool:
- (chore) Update dev tool to use the new
highlight
API. Shah Shabbir Ahmmed - (enh) Auto-update the highlighted output when the language dropdown changes. Shah Shabbir Ahmmed
Package name: path-to-regexp
-
7.1.0 - 2024-07-13
Added
- Adds a
strict
option to detect potential ReDOS issues
Fixed
- Fixes separator to default to
suffix + prefix
when not specified - Allows separator to be undefined in
TokenData
- This is only relevant if you are building
TokenData
manually, previouslyparse
filled it in automatically
- This is only relevant if you are building
Comments
- I highly recommend enabling
strict: true
and I'm probably releasing a V8 with it enabled by default ASAP as a necessary security mitigation
- Adds a
-
7.0.0 - 2024-06-20
Hi all! There's a few major breaking changes in this release so read carefully.
Breaking changes:
- The function returned by
compile
only accepts strings as values (i.e. no numbers, useString(value)
before compiling a path)- For repeated values, when
encode !== false
, it must be an array of strings
- For repeated values, when
- Parameter names can contain all unicode identifier characters (defined as regex
\p{XID_Continue}
). - Modifiers (
?
,*
,+
) must be used after a param explicitly wrapped in{}
- No more implied prefix of
/
or.
- No more implied prefix of
- No support for arrays or regexes as inputs
- The wildcard (standalone
*
) has been added back and matches Express.js expected behavior - Removed
endsWith
option - Renamed
strict: true
totrailing: false
- Reserved
;
,,
,!
, and@
for future use-cases - Removed
tokensToRegexp
,tokensToFunction
andregexpToFunction
in favor of simplifying exports - Enable a "loose" mode by default, so
/
can be repeated multiple times in a matched path (i.e./foo
works like//foo
, etc) encode
anddecode
no longer receive the token as the second parameter- Removed the ESM + CommonJS dual package in favor of only one CommonJS supported export
- Minimum JS support for ES2020 (previous ES2015)
- Encode defaults to
encodeURIComponent
and decode defaults todecodeURIComponent
Added:
- Adds
encodePath
to fix an issue aroundencode
being used for both path and parameters (the path and parameter should be encoded slightly differently) - Adds
loose
as an option to support arbitrarily matching the delimiter in paths, e.g.foo/bar
andfoo///bar
should work the same - Allow
encode
anddecode
to be set tofalse
which skips all processing of the parameters input/output - All remaining methods support
TokenData
(exported, returned byparse
) as input- This should be useful if you are programmatically building paths to match or want to avoid parsing multiple times
Requests for feedback:
- Requiring
{}
is an obvious drawback but I'm seeking feedback on whether it helps make path behavior clearer- Related: Removing
/
and.
as implicit prefixes
- Related: Removing
- Removing array and regex support is to reduce the overall package size for things many users don't need
- Unicode IDs are added to align more closely with browser URLPattern behavior, which uses JS identifiers
- The function returned by
-
6.2.2 - 2024-04-07
No API changes. Documentation only release.
Changed
Package name: react-day-picker
-
9.0.8 - 2024-08-07
This release fixes a regression in v9.0.7 affecting range mode.
What's Changed
Full Changelog: v9.0.7...v9.0.8
-
9.0.7 - 2024-08-04
This release improves compatibility with v8 and fix an issue with the calendar navigation.
What's Changed
- fix: update calendar state when
startMonth
orendMonth
change by @ gpbl in #2343 - feat: allow partial locales, export
defaultLocale
by @ gpbl in #2348 - feat: allow
undefined
as initially selected value, as it was in v8 by @ gpbl in #2341 - docs: changed class name
calendar
toroot
in the examples by @ gpbl in #2347 - docs: replaced deprecated props by @ josephmarkus in #2336*
New Contributors
- @ josephmarkus made their first contribution in #2336
Full Changelog: v9.0.6...v9.0.7
- fix: update calendar state when
-
9.0.6 - 2024-07-31
This release addresses the failed import of the common-js module for some app builder and add new
data-
attributes to help the integration with Tailwind. Thanks for your feedback!What's Changed
- fix(build): add package.json to dist/cjs module by @ gpbl in #2330
- feat: add new data-attributes to the day cells by @ gpbl in #2331
New Contributors
Full Changelog: v9.0.5...v9.0.6
-
9.0.5 - 2024-07-30
This release improves the range mode behavior (see the updated docs) and address some styling issues.
What's Changed
- fix: improved range mode to work with min / required props by