Skip to content

Commit b266e1f

Browse files
committed
chore: upgrade dependencies
1 parent 9df8190 commit b266e1f

22 files changed

Lines changed: 443 additions & 500 deletions

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
uses: codecov/codecov-action@v5
6363
with:
6464
fail_ci_if_error: true
65-
files: ./coverage/lcov.info, ./coverage/junit.xml
65+
files: ./coverage/lcov.info
6666
flags: unittests, ${{ runner.os }}
6767
token: ${{ secrets.CODECOV_TOKEN }}
6868
verbose: true

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@
5454
"import-meta-resolve": "^4.1.0"
5555
},
5656
"peerDependencies": {
57-
"tailwindcss": ">=3.4.14 || >=4.0.0-beta.1"
57+
"tailwindcss": ">=3.4.14 || >=4.0.0-beta.3"
5858
},
5959
"devDependencies": {
6060
"@changesets/changelog-github": "^0.5.0",
61-
"@changesets/cli": "^2.27.9",
62-
"@tailwindcss/node": "4.0.0-beta.1",
63-
"@types/node": "^22.9.0",
61+
"@changesets/cli": "^2.27.10",
62+
"@tailwindcss/node": "4.0.0-beta.3",
63+
"@types/node": "^22.9.4",
6464
"@vitest/coverage-istanbul": "2.1.5",
6565
"@vitest/ui": "^2.1.5",
66-
"@vnphanquang/eslint-config": "^3.0.0",
67-
"eslint": "^9.14.0",
66+
"@vnphanquang/eslint-config": "^3.0.1",
67+
"eslint": "^9.15.0",
6868
"postcss": "^8.4.49",
6969
"prettier": "^3.3.3",
7070
"publint": "^0.2.12",
71-
"tailwindcss": "4.0.0-alpha.36",
72-
"tailwindcssv3": "npm:tailwindcss@3.4.14",
73-
"typescript": "^5.6.3",
71+
"tailwindcss": "4.0.0-beta.3",
72+
"tailwindcssv3": "npm:tailwindcss@3.4.15",
73+
"typescript": "^5.7.2",
7474
"vite": "^5.4.11",
7575
"vitest": "^2.1.5"
7676
},

pnpm-lock.yaml

Lines changed: 412 additions & 470 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
packages:
2+
- '.'
23
- 'tests/vite/*'

src/plugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ export default createPlugin.withOptions(
5151

5252
let url = 'icon-not-found';
5353
if (ICON_SET.has(name) && VARIANTS.includes(weight)) {
54-
let fileUrl = new URL(
54+
let filepath = new URL(
5555
resolve(
5656
`@phosphor-icons/core/assets/${weight}/${name}${weight === 'regular' ? '' : `-${weight}`}.svg`,
5757
import.meta.url,
5858
),
5959
);
6060

61-
if (fs.existsSync(fileUrl)) {
62-
const svgStr = fs.readFileSync(fileUrl, { encoding: 'base64' });
61+
if (fs.existsSync(filepath)) {
62+
const svgStr = fs.readFileSync(filepath, { encoding: 'base64' });
6363
url = `url(data:image/svg+xml;base64,${svgStr})`;
6464
}
6565
}

tests/__snapshots__/v4/custom-layer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! tailwindcss v4.0.0-beta.1 | MIT License | https://tailwindcss.com */
1+
/*! tailwindcss v4.0.0-beta.3 | MIT License | https://tailwindcss.com */
22
@layer base {
33
:root {
44
--spacing: 0.25rem;

tests/__snapshots__/v4/custom-prefix.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! tailwindcss v4.0.0-beta.1 | MIT License | https://tailwindcss.com */
1+
/*! tailwindcss v4.0.0-beta.3 | MIT License | https://tailwindcss.com */
22
@layer base {
33
:root {
44
--spacing: 0.25rem;

tests/__snapshots__/v4/custom-property.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! tailwindcss v4.0.0-beta.1 | MIT License | https://tailwindcss.com */
1+
/*! tailwindcss v4.0.0-beta.3 | MIT License | https://tailwindcss.com */
22
@layer base {
33
:root {
44
--spacing: 0.25rem;

tests/__snapshots__/v4/default.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! tailwindcss v4.0.0-beta.1 | MIT License | https://tailwindcss.com */
1+
/*! tailwindcss v4.0.0-beta.3 | MIT License | https://tailwindcss.com */
22
@layer base {
33
:root {
44
--spacing: 0.25rem;

tests/__snapshots__/v4/no-icon-found.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! tailwindcss v4.0.0-beta.1 | MIT License | https://tailwindcss.com */
1+
/*! tailwindcss v4.0.0-beta.3 | MIT License | https://tailwindcss.com */
22
@layer base {
33
:root {
44
--spacing: 0.25rem;

0 commit comments

Comments
 (0)