Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit2d1abf4

Browse files
bj00rnredonkulus
authored andcommitted
remove upath dependency because of unintended introduction breaking changes (#154)
1 parent26d93f2 commit2d1abf4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"mocha":"^3.0.2",
3131
"power-assert":"^1.4.1",
3232
"rimraf":"^2.4.3",
33-
"upath":"^1.1.0",
3433
"uuid":"^3.3.2"
3534
},
3635
"scripts": {

‎src/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See the accompanying LICENSE file for terms.
55
*/
66

7-
import*aspfrom'upath';
7+
import*aspfrom'path';
88
import{writeFileSync}from'fs';
99
import{syncasmkdirpSync}from'mkdirp';
1010
importprintICUMessagefrom'./print-icu-message';
@@ -152,7 +152,7 @@ export default function ({types: t}) {
152152
letloc;
153153
if(opts.extractSourceLocation){
154154
loc={
155-
file:p.toUnix(p.relative(process.cwd(),file.opts.filename)),
155+
file:p.relative(process.cwd(),file.opts.filename),
156156
...path.node.loc,
157157
};
158158
}

‎yarn.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2991,7 +2991,7 @@ unset-value@^1.0.0:
29912991
has-value "^0.3.1"
29922992
isobject "^3.0.0"
29932993

2994-
upath@^1.0.5, upath@^1.1.0:
2994+
upath@^1.0.5:
29952995
version "1.1.0"
29962996
resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd"
29972997

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp