Update npm packages
Add --dump-dimensions option to rsx:debug for layout debugging Mark framework publish 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
0
node_modules/update-browserslist-db/LICENSE
generated
vendored
Executable file → Normal file
0
node_modules/update-browserslist-db/LICENSE
generated
vendored
Executable file → Normal file
4
node_modules/update-browserslist-db/README.md
generated
vendored
Executable file → Normal file
4
node_modules/update-browserslist-db/README.md
generated
vendored
Executable file → Normal file
@@ -16,6 +16,10 @@ Or if using `pnpm`:
|
||||
```sh
|
||||
pnpm exec update-browserslist-db latest
|
||||
```
|
||||
Or if using `yarn`:
|
||||
```sh
|
||||
yarn dlx update-browserslist-db@latest
|
||||
```
|
||||
|
||||
<a href="https://evilmartians.com/?utm_source=update-browserslist-db">
|
||||
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
|
||||
|
||||
0
node_modules/update-browserslist-db/check-npm-version.js
generated
vendored
Executable file → Normal file
0
node_modules/update-browserslist-db/check-npm-version.js
generated
vendored
Executable file → Normal file
0
node_modules/update-browserslist-db/index.d.ts
generated
vendored
Executable file → Normal file
0
node_modules/update-browserslist-db/index.d.ts
generated
vendored
Executable file → Normal file
17
node_modules/update-browserslist-db/index.js
generated
vendored
Executable file → Normal file
17
node_modules/update-browserslist-db/index.js
generated
vendored
Executable file → Normal file
@@ -227,11 +227,11 @@ function updatePackageManually(print, lock, latest) {
|
||||
lock.mode === 'yarn' ? yarnCommand + ' add -W' : lock.mode + ' install'
|
||||
print(
|
||||
'Installing new caniuse-lite version\n' +
|
||||
pico.yellow('$ ' + install + ' caniuse-lite') +
|
||||
pico.yellow('$ ' + install + ' caniuse-lite baseline-browser-mapping') +
|
||||
'\n'
|
||||
)
|
||||
try {
|
||||
execSync(install + ' caniuse-lite')
|
||||
execSync(install + ' caniuse-lite baseline-browser-mapping')
|
||||
} catch (e) /* c8 ignore start */ {
|
||||
print(
|
||||
pico.red(
|
||||
@@ -251,10 +251,10 @@ function updatePackageManually(print, lock, latest) {
|
||||
lock.mode === 'yarn' ? yarnCommand + ' remove -W' : lock.mode + ' uninstall'
|
||||
print(
|
||||
'Cleaning package.json dependencies from caniuse-lite\n' +
|
||||
pico.yellow('$ ' + del + ' caniuse-lite') +
|
||||
pico.yellow('$ ' + del + ' caniuse-lite baseline-browser-mapping') +
|
||||
'\n'
|
||||
)
|
||||
execSync(del + ' caniuse-lite')
|
||||
execSync(del + ' caniuse-lite baseline-browser-mapping')
|
||||
}
|
||||
|
||||
function updateWith(print, cmd) {
|
||||
@@ -293,11 +293,14 @@ module.exports = function updateDB(print = defaultPrint) {
|
||||
print('Latest version: ' + pico.bold(pico.green(latest.version)) + '\n')
|
||||
|
||||
if (lock.mode === 'yarn' && lock.version !== 1) {
|
||||
updateWith(print, yarnCommand + ' up -R caniuse-lite')
|
||||
updateWith(
|
||||
print,
|
||||
yarnCommand + ' up -R caniuse-lite baseline-browser-mapping'
|
||||
)
|
||||
} else if (lock.mode === 'pnpm') {
|
||||
updateWith(print, 'pnpm up --no-save caniuse-lite')
|
||||
updateWith(print, 'pnpm up --no-save caniuse-lite baseline-browser-mapping')
|
||||
} else if (lock.mode === 'bun') {
|
||||
updateWith(print, 'bun update caniuse-lite')
|
||||
updateWith(print, 'bun update caniuse-lite baseline-browser-mapping')
|
||||
} else {
|
||||
updatePackageManually(print, lock, latest)
|
||||
}
|
||||
|
||||
2
node_modules/update-browserslist-db/package.json
generated
vendored
Executable file → Normal file
2
node_modules/update-browserslist-db/package.json
generated
vendored
Executable file → Normal file
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "update-browserslist-db",
|
||||
"version": "1.1.4",
|
||||
"version": "1.2.0",
|
||||
"description": "CLI tool to update caniuse-lite to refresh target browsers from Browserslist config",
|
||||
"keywords": [
|
||||
"caniuse",
|
||||
|
||||
0
node_modules/update-browserslist-db/utils.js
generated
vendored
Executable file → Normal file
0
node_modules/update-browserslist-db/utils.js
generated
vendored
Executable file → Normal file
Reference in New Issue
Block a user