mirror of
https://github.com/hanzoai/postcss.git
synced 2026-09-24 17:01:56 +00:00
Update dependencies
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
- name: Create the release
|
||||
if: steps.changelog.outputs.changelog_content != ''
|
||||
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
|
||||
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
|
||||
with:
|
||||
name: ${{ github.ref_name }}
|
||||
body: '${{ steps.changelog.outputs.changelog_content }}'
|
||||
|
||||
@@ -14,11 +14,11 @@ jobs:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
||||
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
|
||||
with:
|
||||
version: 10
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: 25
|
||||
cache: pnpm
|
||||
@@ -40,11 +40,11 @@ jobs:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
||||
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
|
||||
with:
|
||||
version: 10
|
||||
- name: Install Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: pnpm
|
||||
@@ -66,13 +66,13 @@ jobs:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
||||
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
|
||||
with:
|
||||
version: 3
|
||||
env:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||
- name: Install Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
@@ -88,11 +88,11 @@ jobs:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
||||
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
|
||||
with:
|
||||
version: 10
|
||||
- name: Install Node.js LTS
|
||||
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: 24
|
||||
cache: pnpm
|
||||
|
||||
@@ -26,6 +26,12 @@ export default [
|
||||
'perfectionist/sort-switch-case': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['test/types.ts'],
|
||||
rules: {
|
||||
'prefer-let/prefer-let': 'off'
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['**/*.d.ts'],
|
||||
rules: {
|
||||
|
||||
Vendored
+1
-1
@@ -4,6 +4,6 @@ interface FromJSON extends JSONHydrator {
|
||||
default: FromJSON
|
||||
}
|
||||
|
||||
declare const fromJSON: FromJSON
|
||||
declare let fromJSON: FromJSON
|
||||
|
||||
export = fromJSON
|
||||
|
||||
Vendored
+1
-1
@@ -55,6 +55,6 @@ declare namespace list {
|
||||
}
|
||||
}
|
||||
|
||||
declare const list: list.List
|
||||
declare let list: list.List
|
||||
|
||||
export = list
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
let MapGenerator = require('./map-generator')
|
||||
let parse = require('./parse')
|
||||
const Result = require('./result')
|
||||
let Result = require('./result')
|
||||
let stringify = require('./stringify')
|
||||
let warnOnce = require('./warn-once')
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -4,6 +4,6 @@ interface Parse extends Parser {
|
||||
default: Parse
|
||||
}
|
||||
|
||||
declare const parse: Parse
|
||||
declare let parse: Parse
|
||||
|
||||
export = parse
|
||||
|
||||
Vendored
+1
-1
@@ -4,6 +4,6 @@ interface Stringify extends Stringifier {
|
||||
default: Stringify
|
||||
}
|
||||
|
||||
declare const stringify: Stringify
|
||||
declare let stringify: Stringify
|
||||
|
||||
export = stringify
|
||||
|
||||
+7
-7
@@ -90,21 +90,21 @@
|
||||
"source-map-js": "^1.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@logux/eslint-config": "^57.0.2",
|
||||
"@size-limit/preset-small-lib": "^12.0.0",
|
||||
"@types/node": "^25.3.3",
|
||||
"actions-up": "^1.12.0",
|
||||
"@logux/eslint-config": "^57.1.0",
|
||||
"@size-limit/preset-small-lib": "^12.0.1",
|
||||
"@types/node": "^25.5.2",
|
||||
"actions-up": "^1.12.1",
|
||||
"c8": "^11.0.0",
|
||||
"check-dts": "^0.9.0",
|
||||
"clean-publish": "^6.0.3",
|
||||
"clean-publish": "^6.0.5",
|
||||
"concat-with-sourcemaps": "^1.1.0",
|
||||
"eslint": "^10.0.2",
|
||||
"eslint": "^10.2.0",
|
||||
"multiocular": "^0.8.2",
|
||||
"nanodelay": "^1.0.8",
|
||||
"nanospy": "^1.0.0",
|
||||
"postcss-parser-tests": "^8.9.0",
|
||||
"simple-git-hooks": "^2.13.1",
|
||||
"size-limit": "^12.0.0",
|
||||
"size-limit": "^12.0.1",
|
||||
"strip-ansi": "^6.0.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.9.3",
|
||||
|
||||
Generated
+423
-429
File diff suppressed because it is too large
Load Diff
@@ -356,9 +356,9 @@ test('wraps node to proxies', () => {
|
||||
equal(props, ['color'])
|
||||
})
|
||||
|
||||
const cssThree = '.a{ color: red; } .b{ will-change: transform; }'
|
||||
let cssThree = '.a{ color: red; } .b{ will-change: transform; }'
|
||||
|
||||
const expectedThree =
|
||||
let expectedThree =
|
||||
'.a{ ' +
|
||||
'backface-visibility: hidden; ' +
|
||||
'will-change: transform; ' +
|
||||
@@ -384,14 +384,14 @@ test('work of three plug-ins; sequence 2', async () => {
|
||||
is(css, expectedThree)
|
||||
})
|
||||
|
||||
const cssThreeDocument = postcss.document({
|
||||
let cssThreeDocument = postcss.document({
|
||||
nodes: [
|
||||
postcss.parse('.a{ color: red; }'),
|
||||
postcss.parse('.b{ will-change: transform; }')
|
||||
]
|
||||
})
|
||||
|
||||
const expectedThreeDocument =
|
||||
let expectedThreeDocument =
|
||||
'.a{ color: green; }' +
|
||||
'.b{ backface-visibility: hidden; will-change: transform; }'
|
||||
|
||||
@@ -413,8 +413,8 @@ test('work of three plug-ins in a document; sequence 2', async () => {
|
||||
is(css, expectedThreeDocument)
|
||||
})
|
||||
|
||||
const cssThroughProps = '.a{color: yellow;}'
|
||||
const expectedThroughProps = '.a{color: red;}'
|
||||
let cssThroughProps = '.a{color: yellow;}'
|
||||
let expectedThroughProps = '.a{color: red;}'
|
||||
|
||||
test('change in node values through props; sequence 1', async () => {
|
||||
let { css } = await postcss([
|
||||
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
"target": "es2018",
|
||||
"module": "commonjs",
|
||||
"strict": true,
|
||||
"noEmit": true
|
||||
"noEmit": true,
|
||||
"moduleResolution": "node10"
|
||||
},
|
||||
"exclude": ["**/errors.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user