[Snyk] Upgrade: , , sharp, dayjs, jose, lucide-react, nanostores, npm-check-updates, playwright, react-tooltip, zustand, tailwind-merge #6
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.
@nanostores/react
from 0.7.2 to 0.7.3 | 1 version ahead of your current version | 2 months ago
on 2024-08-03
@types/react
from 18.3.3 to 18.3.5 | 2 versions ahead of your current version | 21 days ago
on 2024-08-30
sharp
from 0.33.4 to 0.33.5 | 3 versions ahead of your current version | a month ago
on 2024-08-16
dayjs
from 1.11.12 to 1.11.13 | 1 version ahead of your current version | a month ago
on 2024-08-20
jose
from 5.6.3 to 5.8.0 | 2 versions ahead of your current version | 25 days ago
on 2024-08-26
lucide-react
from 0.419.0 to 0.436.0 | 15 versions ahead of your current version | a month ago
on 2024-08-25
nanostores
from 0.10.3 to 0.11.3 | 4 versions ahead of your current version | 24 days ago
on 2024-08-26
npm-check-updates
from 17.0.6 to 17.1.0 | 1 version ahead of your current version | a month ago
on 2024-08-21
playwright
from 1.46.0 to 1.46.1 | 4 versions ahead of your current version | a month ago
on 2024-08-16
react-tooltip
from 5.27.1 to 5.28.0 | 2 versions ahead of your current version | 2 months ago
on 2024-08-04
zustand
from 4.5.4 to 4.5.5 | 1 version ahead of your current version | a month ago
on 2024-08-15
tailwind-merge
from 2.4.0 to 2.5.2 | 19 versions ahead of your current version | a month ago
on 2024-08-12
Release notes
Package name: @nanostores/react
Package name: @types/react
Package name: sharp
No content.
No content.
No content.
No content.
Package name: dayjs
1.11.13 (2024-08-20)
Bug Fixes
1.11.12 (2024-07-18)
Bug Fixes
Package name: jose
Features
Refactor
Features
Fixes
Package name: lucide-react
Modified Icons 🔨
backpack
(#2406) by @ jguddasModified Icons 🔨
milestone
(#2281) by @ jguddassignpost
(#2281) by @ jguddasNew icons 🎨
volume-off
(#2378) by @ karsa-mistmereModified Icons 🔨
file-volume
(#2378) by @ karsa-mistmerevolume-1
(#2378) by @ karsa-mistmerevolume-2
(#2378) by @ karsa-mistmerevolume-x
(#2378) by @ karsa-mistmerevolume
(#2378) by @ karsa-mistmereNew icons 🎨
trending-up-down
(#2372) by @ AlportanFixes Lucide Solid
New icons 🎨
chart-gantt
(#2392) by @ jguddasModified Icons 🔨
contact-round
(#2391) by @ jguddascontact
(#2391) by @ jguddasPackage name: nanostores
computed()
withtask()
inside.deepMap()
(by @ russelldavis).Store#notify()
back to public API (by @ gismya).subscribeKeys()
(by @ gismya).setByKey()
export (by @ yhdgms1).computed()
performance (by @ russelldavis).Package name: npm-check-updates
17.1.0
17.0.6
Package name: playwright
Highlights
#32004 - [REGRESSION]: Client Certificates don't work with Microsoft IIS
#32004 - [REGRESSION]: Websites stall on TLS handshake errors when using Client Certificates
#32146 - [BUG]: Credential scanners warn about internal socks-proxy TLS certificates
#32056 - [REGRESSION]: 1.46.0 (TypeScript) - custom fixtures extend no longer chainable
#32070 - [Bug]: --only-changed flag and project dependencies
#32188 - [Bug]: --only-changed with shallow clone throws "unknown revision" error
Browser Versions
This version was also tested against the following stable channels:
TLS Client Certificates
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
When client certificates are specified, all browser traffic is routed through a proxy that establishes the secure TLS connection, provides client certificates to the server and validates server certificates.
The following snippet sets up a client certificate for
https://example.com
:export default defineConfig({
// ...
use: {
clientCertificates: [{
origin: 'https://example.com',
certPath: './cert.pem',
keyPath: './key.pem',
passphrase: 'mysecretpassword',
}],
},
// ...
});
You can also provide client certificates to a particular test project or as a parameter of browser.newContext() and apiRequest.newContext().
--only-changed
cli optionNew CLI option
--only-changed
allows to only run test files that have been changed since the last git commit or from a specific git "ref".npx playwright test --only-changed
# Only run test files changed relative to the "main" branch
npx playwright test --only-changed=main
Component Testing: New
router
fixtureThis release introduces an experimental
router
fixture to intercept and handle network requests in component testing.There are two ways to use the router fixture:
router.route(url, handler)
that behaves similarly to page.route().router.use(handlers)
and pass MSW library request handlers to it.Here is an example of reusing your existing MSW handlers in the test.
test.beforeEach(async ({ router }) => {
// install common handlers before each test
await router.use(...handlers);
});
test('example test', async ({ mount }) => {
// test as usual, your handlers are active
// ...
});
This fixture is only available in component tests.
UI Mode / Trace Viewer Updates
baseURL
.Miscellaneous
maxRetries
option in apiRequestContext.fetch() which retries on theECONNRESET
network error.Possibly breaking change
Fixture values that are array of objects, when specified in the
test.use()
block, may require being wrapped into a fixture tuple. This is best seen on the example:// Define an option fixture that has an "array of objects" value
type User = { name: string, password: string };
const test = base.extend<{ users: User[] }>({
users: [ [], { option: true } ],
});
// Specify option value in the test.use block.
test.use({
// WRONG: this syntax may not work for you
users: [
{ name: 'John Doe', password: 'secret' },
{ name: 'John Smith', password: 's3cr3t' },
],
// CORRECT: this syntax will work. Note extra [] around the value, and the "scope" property.
users: [[
{ name: 'John Doe', password: 'secret' },
{ name: 'John Smith', password: 's3cr3t' },
], { scope: 'test' }],
});
test('example test', async () => {
// ...
});
Browser Versions
This version was also tested against the following stable channels:
Package name: react-tooltip
If you like ReactTooltip, please give the project a star on GitHub 🌟
What's Changed
New Contributors
Full Changelog: v5.27.1...v5.28.0
If you like ReactTooltip, please give the project a star on GitHub 🌟
What's Changed
Full Changelog: v5.27.0...v5.27.1
Package name: zustand
This improves the
persist
middleware behavior for an edge case.What's Changed
New Contributors
Full Changelog: v4.5.4...v4.5.5
There was an issue in v4.5.3 with some bundlers.
What's Changed
Full Changelog: v4.5.3...v4.5.4
Package name: tailwind-merge
Sorry for all the bugs today!
Bug Fixes
Full Changelog: v2.5.1...v2.5.2
Thanks to @ brandonmcconnell, @ manavm1990, @ langy, @ jamesreaco and @ jamaluddinrumi for sponsoring tailwind-merge! ❤️
Bug Fixes
Full Changelog: v2.5.0...v2.5.1
Thanks to @ brandonmcconnell, @ manavm1990, @ langy, @ jamesreaco and @ jamaluddinrumi for sponsoring tailwind-merge! ❤️
New Features
Bug Fixes
Full Changelog: v2.4.0...v2.5.0
Thanks to @ brandonmcconnell, @ manavm1990, @ langy and @ jamesreaco for sponsoring tailwind-merge! ❤️
New Features
experimentalParseClassName
property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the inline JSDocs and subscribe to #385 for upcoming more powerful low-level functionality.