diff --git a/package.json b/package.json index abc940a..3fc8eed 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Jeff Dickey @jdxcode", "bugs": "https://github.com/oclif/parser/issues", "dependencies": { - "@heroku/linewrap": "^1.0.0", + "@oclif/linewrap": "^1.0.0", "chalk": "^2.3.2" }, "devDependencies": { diff --git a/src/list.ts b/src/list.ts index 388d0c3..8de18c0 100644 --- a/src/list.ts +++ b/src/list.ts @@ -2,7 +2,7 @@ import {stdtermwidth} from './screen' import {maxBy} from './util' function linewrap(length: number, s: string): string { - const lw = require('@heroku/linewrap') + const lw = require('@oclif/linewrap') return lw(length, stdtermwidth, { skipScheme: 'ansi-color', })(s).trim() diff --git a/yarn.lock b/yarn.lock index 0eb66ce..195bdb2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,6 @@ # yarn lockfile v1 -"@heroku/linewrap@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@heroku/linewrap/-/linewrap-1.0.0.tgz#a9d4e99f0a3e423a899b775f5f3d6747a1ff15c6" - "@oclif/errors@^1.0.4": version "1.0.4" resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.4.tgz#8e34386ede530484ae3c98bc21d818c416214c66" @@ -16,6 +12,10 @@ strip-ansi "^4.0.0" wrap-ansi "^3.0.1" +"@oclif/linewrap@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91" + "@oclif/tslint@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-1.1.0.tgz#a2d494a61afa882a685fe5f4d866dafd18990728"