Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit dd8dbeb

Browse files
committed
fix: move @heroku/linewrap to @oclif/linewrap
1 parent 80e54c6 commit dd8dbeb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Jeff Dickey @jdxcode",
66
"bugs": "https://github.com/oclif/cli-ux/issues",
77
"dependencies": {
8-
"@heroku/linewrap": "^1.0.0",
8+
"@oclif/linewrap": "^1.0.0",
99
"@oclif/screen": "^1.0.2",
1010
"ansi-styles": "^3.2.1",
1111
"cardinal": "^1.0.0",

src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function getErrorMessage(err: any, opts: {stack?: boolean} = {}): string
4242
const context = err['cli-ux'] && err['cli-ux'].context
4343

4444
function wrap(msg: string): string {
45-
const linewrap = require('@heroku/linewrap')
45+
const linewrap = require('@oclif/linewrap')
4646
return linewrap(6, deps.screen.errtermwidth, {
4747
skip: /^\$ .*$/,
4848
skipScheme: 'ansi-color',

src/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as _ from 'lodash'
55
import deps from './deps'
66

77
function linewrap(length: number, s: string): string {
8-
const lw = require('@heroku/linewrap')
8+
const lw = require('@oclif/linewrap')
99
return lw(length, deps.screen.stdtermwidth, {
1010
skipScheme: 'ansi-color',
1111
})(s).trim()

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# yarn lockfile v1
33

44

5-
"@heroku/linewrap@^1.0.0":
5+
"@oclif/linewrap@^1.0.0":
66
version "1.0.0"
7-
resolved "https://registry.yarnpkg.com/@heroku/linewrap/-/linewrap-1.0.0.tgz#a9d4e99f0a3e423a899b775f5f3d6747a1ff15c6"
7+
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
88

99
"@oclif/screen@^1.0.2":
1010
version "1.0.2"

0 commit comments

Comments
 (0)