Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
remove upath dependency because of unintended introduction breaking c…
Browse files Browse the repository at this point in the history
…hanges (#154)
  • Loading branch information
bj00rn authored and redonkulus committed Sep 24, 2018
1 parent 26d93f2 commit 2d1abf4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"mocha": "^3.0.2",
"power-assert": "^1.4.1",
"rimraf": "^2.4.3",
"upath": "^1.1.0",
"uuid": "^3.3.2"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See the accompanying LICENSE file for terms.
*/

import * as p from 'upath';
import * as p from 'path';
import {writeFileSync} from 'fs';
import {sync as mkdirpSync} from 'mkdirp';
import printICUMessage from './print-icu-message';
Expand Down Expand Up @@ -152,7 +152,7 @@ export default function ({types: t}) {
let loc;
if (opts.extractSourceLocation) {
loc = {
file: p.toUnix(p.relative(process.cwd(), file.opts.filename)),
file: p.relative(process.cwd(), file.opts.filename),
...path.node.loc,
};
}
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2991,7 +2991,7 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

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

Expand Down

0 comments on commit 2d1abf4

Please sign in to comment.