Skip to content

Commit 7c19ba8

Browse files
authored
chore: bump all (dev) deps (#119)
1 parent 7b886bf commit 7c19ba8

File tree

16 files changed

+1993
-3080
lines changed

16 files changed

+1993
-3080
lines changed

.changeset/popular-hats-dream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"sh-syntax": patch
3+
---
4+
5+
fix(types): node `Buffer` should be supported

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@ jobs:
5353
# bad Windows -- https://github.com/codacy/codacy-coverage-reporter-action/issues/91
5454
if: ${{ matrix.os != 'windows-latest' }}
5555
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1
56+
continue-on-error: true
5657
with:
5758
api-token: ${{ secrets.CODACY_API_TOKEN }}

.lintstagedrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.nano-staged.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/nano-staged/tsc'

.yarn/releases/yarn-4.8.1.cjs

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

.yarn/releases/yarn-4.9.1.cjs

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

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ plugins:
77
path: .yarn/plugins/plugin-prepare-lifecycle.cjs
88
spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js'
99

10-
yarnPath: .yarn/releases/yarn-4.8.1.cjs
10+
yarnPath: .yarn/releases/yarn-4.9.1.cjs

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,17 @@ See [benchmark](./benchmark/benchmark.txt) for more details.
126126

127127
You can try it with running `node benchmark` by yourself. [Here](./benchmark/index.js) is the benchmark source code.
128128

129-
[![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
129+
## Sponsors and Backers
130130

131-
## Sponsors
131+
[![Sponsors and Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
132+
133+
### Sponsors
132134

133135
| 1stG | RxTS | UnTS |
134136
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
135137
| [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
136138

137-
## Backers
139+
### Backers
138140

139141
| 1stG | RxTS | UnTS |
140142
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
@@ -149,5 +151,5 @@ Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.m
149151
[MIT][] © [JounQin][]@[1stG.me][]
150152

151153
[1stG.me]: https://www.1stg.me
152-
[JounQin]: https://GitHub.com/JounQin
154+
[JounQin]: https://github.com/JounQin
153155
[MIT]: http://opensource.org/licenses/MIT

benchmark/index.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// @ts-check
22

3-
/* eslint-disable @babel/new-cap */
4-
53
import fs from 'node:fs'
64
import { fileURLToPath } from 'node:url'
75

@@ -11,16 +9,10 @@ import { createSyncFn } from 'synckit'
119

1210
import { print } from '../lib/index.js'
1311

14-
/**
15-
* @typedef {import('../lib').ShOptions} ShOptions
16-
* @typedef {import('mvdan-sh').LangVariant} LangVariant
17-
*/
12+
/** @import { ShOptions } from 'sh-syntax' */
1813

1914
const keepComments = true
2015

21-
/**
22-
* @type {LangVariant}
23-
*/
2416
const variant = 0 // LangVariant.LangBash
2517

2618
const indent = 2
@@ -37,9 +29,7 @@ const filePath = fileURLToPath(
3729

3830
const text = fs.readFileSync(filePath, 'utf8')
3931

40-
/**
41-
* @type {ShOptions}
42-
*/
32+
/** @type {ShOptions} */
4333
const shOptions = {
4434
keepComments,
4535
variant,
@@ -53,9 +43,7 @@ const shOptions = {
5343
functionNextLine,
5444
}
5545

56-
/**
57-
* @type {(text: string, options?: ShOptions) => string})}
58-
*/
46+
/** @type {(text: string, options?: ShOptions) => string} */
5947
const printSync = createSyncFn(new URL('worker.mjs', import.meta.url))
6048

6149
summary(() => {

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "JounQin <admin@1stg.me> (https://www.1stG.me)",
88
"funding": "https://opencollective.com/sh-syntax",
99
"license": "MIT",
10-
"packageManager": "yarn@4.8.1",
10+
"packageManager": "yarn@4.9.1",
1111
"engines": {
1212
"node": ">=16.0.0"
1313
},
@@ -46,7 +46,7 @@
4646
"!**/*.tsbuildinfo"
4747
],
4848
"scripts": {
49-
"benchmark": "NO_COLOR=1 node benchmark > benchmark/benchmark.txt",
49+
"benchmark": "sudo env NO_COLOR=1 node benchmark > benchmark/benchmark.txt",
5050
"build": "run-p 'build:*'",
5151
"build:r": "r -f cjs -x '**/vendors/wasm_exec.cjs'",
5252
"build:tsc": "tsc -p src --declaration false && tsc -p src --removeComments false --emitDeclarationOnly",
@@ -65,37 +65,37 @@
6565
"tslib": "^2.8.1"
6666
},
6767
"devDependencies": {
68-
"@1stg/common-config": "^12.0.0",
68+
"@1stg/common-config": "^13.0.1",
6969
"@changesets/changelog-github": "^0.5.1",
70-
"@changesets/cli": "^2.28.1",
70+
"@changesets/cli": "^2.29.2",
7171
"@commitlint/cli": "^19.8.0",
7272
"@mitata/counters": "^0.0.8",
73-
"@pkgr/rollup": "^6.0.2",
73+
"@pkgr/rollup": "^6.0.3",
7474
"@stylistic/eslint-plugin-js": "^4.2.0",
7575
"@types/golang-wasm-exec": "^1.15.2",
7676
"@types/mvdan-sh": "^0.10.9",
77-
"@types/node": "^22.14.0",
78-
"@types/web": "^0.0.216",
77+
"@types/node": "^22.14.1",
78+
"@types/web": "^0.0.222",
7979
"@vitest/coverage-istanbul": "^3.1.1",
80+
"@vitest/eslint-plugin": "^1.1.43",
8081
"clean-pkg-json": "^1.2.1",
81-
"eslint": "^9.24.0",
82-
"lint-staged": "^15.5.0",
82+
"eslint": "^9.25.0",
8383
"mitata": "^1.0.34",
8484
"mvdan-sh": "^0.10.1",
85+
"nano-staged": "^0.8.0",
8586
"npm-run-all2": "^7.0.2",
8687
"prettier": "^3.5.3",
8788
"sh-syntax": "link:.",
8889
"simple-git-hooks": "^2.12.1",
8990
"size-limit": "^11.2.0",
9091
"size-limit-preset-node-lib": "^0.3.0",
91-
"synckit": "^0.11.2",
92+
"synckit": "^0.11.4",
9293
"type-coverage": "^2.29.7",
9394
"typescript": "^5.8.3",
9495
"vitest": "^3.1.1",
95-
"yarn-berry-deduplicate": "^6.1.1"
96+
"yarn-berry-deduplicate": "^6.1.3"
9697
},
9798
"resolutions": {
98-
"es5-ext": "npm:@unes/es5-ext@latest",
9999
"prettier": "^3.5.3",
100100
"sh-syntax": "link:."
101101
},

0 commit comments

Comments
 (0)