Skip to content

Commit 5f5e07b

Browse files
committed
chore: 🤖 update dependencies
1 parent 432b34c commit 5f5e07b

File tree

9 files changed

+4077
-4190
lines changed

9 files changed

+4077
-4190
lines changed

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414

1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: 18.16.1
18+
node-version: 20.11.0
1919
cache: 'yarn'
2020

2121
- name: Install dependencies

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v3
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313

1414
- name: Setup Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
17-
node-version: 18.16.1
17+
node-version: 20.11.0
1818
cache: 'yarn'
1919

2020
- name: Install dependencies

‎.yarn/releases/yarn-3.6.2.cjs‎

Lines changed: 0 additions & 874 deletions
This file was deleted.

‎.yarn/releases/yarn-4.0.2.cjs‎

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

‎.yarnrc.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
15
nodeLinker: node-modules
26

3-
yarnPath: .yarn/releases/yarn-3.6.2.cjs
7+
yarnPath: .yarn/releases/yarn-4.0.2.cjs

‎__tests__/__snapshots__/index.test.ts.snap‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`less-loader > builds imported ._less_ files 1`] = `
4-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
4+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
55
"
66
`;
77

88
exports[`less-loader > builds imported .css files 1`] = `
9-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
9+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
1010
"
1111
`;
1212

1313
exports[`less-loader > builds imported .less files 1`] = `
14-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
14+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
1515
"
1616
`;
1717

1818
exports[`less-loader > builds successful 1`] = `
19-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
19+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
2020
"
2121
`;
2222

2323
exports[`less-loader > builds successful custom filter 1`] = `
24-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
24+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
2525
"
2626
`;
2727

2828
exports[`less-loader > builds successful with less as entrypoint 1`] = `
29-
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#ff0000}body article{width:100px}body article:first-child{width:200px}
29+
"#style-5-css{position:-webkit-sticky;position:sticky;background:url(data:image/png;base64,iVBORw0KGgoAAAAASURBVA==) no-repeat}#style-4-css{display:none}.style-3-less{color:red}.style-2-less{color:red;background:url(data:image/jpeg;base64,/9j/) no-repeat}.index-style{transition:.2s all cubic-bezier(.075,.82,.165,1)}body{background:#5d1db2}body article{width:100px}body article:first-child{width:200px}
3030
"
3131
`;
3232

‎__tests__/index.test.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('less-loader', () => {
5252
});
5353

5454
it('builds successful', async () => {
55-
const primaryColor = '#ff0000';
55+
const primaryColor = '#5d1db2';
5656
const result = await buildLess({
5757
lessOptions: {
5858
globalVars: {
@@ -66,7 +66,7 @@ describe('less-loader', () => {
6666
});
6767

6868
it('builds successful custom filter', async () => {
69-
const primaryColor = '#ff0000';
69+
const primaryColor = '#5d1db2';
7070
const result = await buildLess({
7171
lessOptions: {
7272
globalVars: {
@@ -84,7 +84,7 @@ describe('less-loader', () => {
8484
});
8585

8686
it('builds successful with less as entrypoint', async () => {
87-
const primaryColor = '#ff0000';
87+
const primaryColor = '#5d1db2';
8888
const result = await buildLess({
8989
lessOptions: {
9090
globalVars: {
@@ -102,7 +102,7 @@ describe('less-loader', () => {
102102
const result = await buildLess({
103103
lessOptions: {
104104
globalVars: {
105-
primaryColor: '#ff0000',
105+
primaryColor: '#5d1db2',
106106
},
107107
},
108108
});
@@ -114,7 +114,7 @@ describe('less-loader', () => {
114114
const result = await buildLess({
115115
lessOptions: {
116116
globalVars: {
117-
primaryColor: '#ff0000',
117+
primaryColor: '#5d1db2',
118118
},
119119
},
120120
loaderOptions: {
@@ -130,7 +130,7 @@ describe('less-loader', () => {
130130
const result = await buildLess({
131131
lessOptions: {
132132
globalVars: {
133-
primaryColor: '#ff0000',
133+
primaryColor: '#5d1db2',
134134
},
135135
},
136136
});

‎package.json‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,29 +44,29 @@
4444
},
4545
"devDependencies": {
4646
"@semantic-release/changelog": "6.0.3",
47-
"@semantic-release/commit-analyzer": "10.0.4",
48-
"@semantic-release/github": "9.0.6",
49-
"@semantic-release/npm": "10.0.6",
50-
"@semantic-release/release-notes-generator": "11.0.7",
51-
"@types/node": "^20.5.0",
52-
"@vitest/coverage-v8": "^0.34.4",
47+
"@semantic-release/commit-analyzer": "11.1.0",
48+
"@semantic-release/github": "9.2.6",
49+
"@semantic-release/npm": "11.0.2",
50+
"@semantic-release/release-notes-generator": "12.1.0",
51+
"@types/node": "^20.11.9",
52+
"@vitest/coverage-v8": "^1.2.2",
5353
"cz-conventional-changelog": "3.3.0",
54-
"esbuild": "^0.19.3",
54+
"esbuild": "^0.20.0",
5555
"git-cz": "4.9.0",
56-
"husky": "^8.0.3",
57-
"lint-staged": "14.0.1",
58-
"prettier": "3.0.3",
59-
"semantic-release": "21.1.1",
60-
"tsx": "3.12.10",
61-
"typescript": "5.2.2",
62-
"vite": "^4.4.9",
63-
"vitest": "^0.34.4"
56+
"husky": "^9.0.6",
57+
"lint-staged": "15.2.0",
58+
"prettier": "3.2.4",
59+
"semantic-release": "23.0.0",
60+
"tsx": "4.7.0",
61+
"typescript": "5.3.3",
62+
"vite": "^5.0.12",
63+
"vitest": "^1.2.2"
6464
},
6565
"peerDependencies": {
66-
"esbuild": "^0.14.x || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0"
66+
"esbuild": "^0.14.x || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0"
6767
},
6868
"dependencies": {
69-
"@types/less": "^3.0.4",
69+
"@types/less": "^3.0.6",
7070
"less": "^4.2.0"
7171
},
7272
"keywords": [
@@ -75,8 +75,8 @@
7575
"less"
7676
],
7777
"volta": {
78-
"node": "18.16.1",
79-
"yarn": "1.22.19"
78+
"node": "20.11.0",
79+
"yarn": "1.22.21"
8080
},
8181
"husky": {
8282
"hooks": {
@@ -93,5 +93,5 @@
9393
"path": "./node_modules/cz-conventional-changelog"
9494
}
9595
},
96-
"packageManager": "yarn@3.6.2"
96+
"packageManager": "yarn@4.0.2"
9797
}

0 commit comments

Comments
 (0)