Skip to content

Commit

Permalink
chore: 🤖 update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-medvedev committed Jan 28, 2024
1 parent 432b34c commit 5f5e07b
Show file tree
Hide file tree
Showing 9 changed files with 4,077 additions and 4,190 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.16.1
node-version: 20.11.0
cache: 'yarn'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18.16.1
node-version: 20.11.0
cache: 'yarn'

- name: Install dependencies
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.2.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.2.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
12 changes: 6 additions & 6 deletions __tests__/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`less-loader > builds imported ._less_ files 1`] = `
"#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}
"#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}
"
`;

exports[`less-loader > builds imported .css files 1`] = `
"#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}
"#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}
"
`;

exports[`less-loader > builds imported .less files 1`] = `
"#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}
"#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}
"
`;

exports[`less-loader > builds successful 1`] = `
"#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}
"#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}
"
`;

exports[`less-loader > builds successful custom filter 1`] = `
"#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}
"#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}
"
`;

exports[`less-loader > builds successful with less as entrypoint 1`] = `
"#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}
"#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}
"
`;

Expand Down
12 changes: 6 additions & 6 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('less-loader', () => {
});

it('builds successful', async () => {
const primaryColor = '#ff0000';
const primaryColor = '#5d1db2';
const result = await buildLess({
lessOptions: {
globalVars: {
Expand All @@ -66,7 +66,7 @@ describe('less-loader', () => {
});

it('builds successful custom filter', async () => {
const primaryColor = '#ff0000';
const primaryColor = '#5d1db2';
const result = await buildLess({
lessOptions: {
globalVars: {
Expand All @@ -84,7 +84,7 @@ describe('less-loader', () => {
});

it('builds successful with less as entrypoint', async () => {
const primaryColor = '#ff0000';
const primaryColor = '#5d1db2';
const result = await buildLess({
lessOptions: {
globalVars: {
Expand All @@ -102,7 +102,7 @@ describe('less-loader', () => {
const result = await buildLess({
lessOptions: {
globalVars: {
primaryColor: '#ff0000',
primaryColor: '#5d1db2',
},
},
});
Expand All @@ -114,7 +114,7 @@ describe('less-loader', () => {
const result = await buildLess({
lessOptions: {
globalVars: {
primaryColor: '#ff0000',
primaryColor: '#5d1db2',
},
},
loaderOptions: {
Expand All @@ -130,7 +130,7 @@ describe('less-loader', () => {
const result = await buildLess({
lessOptions: {
globalVars: {
primaryColor: '#ff0000',
primaryColor: '#5d1db2',
},
},
});
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,29 @@
},
"devDependencies": {
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "10.0.4",
"@semantic-release/github": "9.0.6",
"@semantic-release/npm": "10.0.6",
"@semantic-release/release-notes-generator": "11.0.7",
"@types/node": "^20.5.0",
"@vitest/coverage-v8": "^0.34.4",
"@semantic-release/commit-analyzer": "11.1.0",
"@semantic-release/github": "9.2.6",
"@semantic-release/npm": "11.0.2",
"@semantic-release/release-notes-generator": "12.1.0",
"@types/node": "^20.11.9",
"@vitest/coverage-v8": "^1.2.2",
"cz-conventional-changelog": "3.3.0",
"esbuild": "^0.19.3",
"esbuild": "^0.20.0",
"git-cz": "4.9.0",
"husky": "^8.0.3",
"lint-staged": "14.0.1",
"prettier": "3.0.3",
"semantic-release": "21.1.1",
"tsx": "3.12.10",
"typescript": "5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.4"
"husky": "^9.0.6",
"lint-staged": "15.2.0",
"prettier": "3.2.4",
"semantic-release": "23.0.0",
"tsx": "4.7.0",
"typescript": "5.3.3",
"vite": "^5.0.12",
"vitest": "^1.2.2"
},
"peerDependencies": {
"esbuild": "^0.14.x || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0"
"esbuild": "^0.14.x || ^0.15.0 || ^0.16.0 || ^0.17.0 || ^0.18.0 || ^0.19.0 || ^0.20.0"
},
"dependencies": {
"@types/less": "^3.0.4",
"@types/less": "^3.0.6",
"less": "^4.2.0"
},
"keywords": [
Expand All @@ -75,8 +75,8 @@
"less"
],
"volta": {
"node": "18.16.1",
"yarn": "1.22.19"
"node": "20.11.0",
"yarn": "1.22.21"
},
"husky": {
"hooks": {
Expand All @@ -93,5 +93,5 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "yarn@3.6.2"
"packageManager": "yarn@4.0.2"
}
Loading

0 comments on commit 5f5e07b

Please sign in to comment.