picgo 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/dist/i18n/ja.d.ts +2 -0
- package/dist/i18n/ko.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/plugins/commander/upload.d.ts +2 -1
- package/dist/utils/normalizeWslPath.d.ts +9 -0
- package/package.json +5 -6
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Convert the WSL network-share path emitted by some Windows integrations to
|
|
3
|
+
* a UNC path that Node.js can read.
|
|
4
|
+
*
|
|
5
|
+
* Windows exposes WSL files through paths such as `\\\\wsl$\\<distribution>\\...`
|
|
6
|
+
* or `\\\\wsl.localhost\\<distribution>\\...`, while integrations such as Typora
|
|
7
|
+
* may omit the leading UNC separators.
|
|
8
|
+
*/
|
|
9
|
+
export declare const normalizeWslPath: (filePath: string, platform?: NodeJS.Platform) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "picgo",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "A tool for image uploading",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"path": "./node_modules/cz-customizable"
|
|
38
38
|
},
|
|
39
39
|
"cz-customizable": {
|
|
40
|
-
"config": "./node_modules/@picgo/bump-version/.cz-config.
|
|
40
|
+
"config": "./node_modules/@picgo/bump-version/.cz-config.cjs"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"commitlint": {
|
|
44
44
|
"extends": [
|
|
45
|
-
"./node_modules/@picgo/bump-version/commitlint-picgo"
|
|
45
|
+
"./node_modules/@picgo/bump-version/commitlint-picgo/index.cjs"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
48
|
"author": "Molunerfinn",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@commitlint/cli": "^20.2.0",
|
|
52
52
|
"@eslint/js": "^9.39.1",
|
|
53
|
-
"@picgo/bump-version": "^
|
|
53
|
+
"@picgo/bump-version": "^3.0.0",
|
|
54
54
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
55
55
|
"@rollup/plugin-json": "^6.1.0",
|
|
56
56
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"@stylistic/eslint-plugin": "^5.7.0",
|
|
61
61
|
"@types/cross-spawn": "^6.0.0",
|
|
62
62
|
"@types/fs-extra": "^5.0.4",
|
|
63
|
-
"@types/image-size": "^0.0.29",
|
|
64
63
|
"@types/inquirer": "^0.0.42",
|
|
65
64
|
"@types/js-yaml": "^4.0.5",
|
|
66
65
|
"@types/lodash": "^4.14.175",
|
|
@@ -109,7 +108,7 @@
|
|
|
109
108
|
"giget": "^2.0.0",
|
|
110
109
|
"globby": "^11.0.4",
|
|
111
110
|
"hono": "^4.11.3",
|
|
112
|
-
"image-size": "
|
|
111
|
+
"image-size-next": "2.1.1",
|
|
113
112
|
"inquirer": "^6.0.0",
|
|
114
113
|
"is-wsl": "^2.2.0",
|
|
115
114
|
"js-yaml": "^4.1.0",
|