diff --git a/package.json b/package.json index f2c760ed19cc1..f6700c45a1fb5 100644 --- a/package.json +++ b/package.json @@ -334,6 +334,7 @@ "tslint-config-prettier": "^1.15.0", "tslint-plugin-prettier": "^2.0.0", "typescript": "^3.0.3", + "upath": "^1.1.0", "vinyl-fs": "^3.0.2", "xml2js": "^0.4.19", "xmlbuilder": "9.0.4", diff --git a/src/dev/file.ts b/src/dev/file.ts index 2e576a02ed791..8e42f3be35b24 100644 --- a/src/dev/file.ts +++ b/src/dev/file.ts @@ -17,7 +17,7 @@ * under the License. */ -import { dirname, extname, join, relative, resolve, sep } from 'path'; +import { dirname, extname, join, relative, resolve, sep } from 'upath'; import { REPO_ROOT } from './constants'; diff --git a/src/dev/npm/installed_packages.js b/src/dev/npm/installed_packages.js index 4ec96084c38c5..75bc783dd2a12 100644 --- a/src/dev/npm/installed_packages.js +++ b/src/dev/npm/installed_packages.js @@ -17,7 +17,7 @@ * under the License. */ -import { relative, resolve } from 'path'; +import { relative, resolve } from 'upath'; import { readFileSync } from 'fs'; import { callLicenseChecker } from './license_checker'; diff --git a/yarn.lock b/yarn.lock index b7432f023e971..a1c062d529044 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13971,6 +13971,10 @@ upath@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/upath/-/upath-1.0.4.tgz#ee2321ba0a786c50973db043a50b7bcba822361d" +upath@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" + update-notifier@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-0.5.0.tgz#07b5dc2066b3627ab3b4f530130f7eddda07a4cc"