mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Chore: replace typings/intercept-stdout
with @types/intercept-stdout
Change-type: patch Signed-off-by: Paulo Castro <paulo@balena.io>
This commit is contained in:
parent
449461afae
commit
101a4bc209
6
npm-shrinkwrap.json
generated
6
npm-shrinkwrap.json
generated
@ -590,6 +590,12 @@
|
|||||||
"@types/node": "*"
|
"@types/node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@types/intercept-stdout": {
|
||||||
|
"version": "0.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/intercept-stdout/-/intercept-stdout-0.1.0.tgz",
|
||||||
|
"integrity": "sha512-b4+N4+pHcUWaK75k4GDavB5ZS6aHdlsyxKaU82JEq7mzY0+kziTiT6nKm+OCkMlGvL6RNk2rera2InJKVP5OiQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@types/is-root": {
|
"@types/is-root": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@types/is-root/-/is-root-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/is-root/-/is-root-1.0.0.tgz",
|
||||||
|
@ -96,6 +96,7 @@
|
|||||||
"@types/dockerode": "2.5.6",
|
"@types/dockerode": "2.5.6",
|
||||||
"@types/ejs": "^2.6.3",
|
"@types/ejs": "^2.6.3",
|
||||||
"@types/fs-extra": "7.0.0",
|
"@types/fs-extra": "7.0.0",
|
||||||
|
"@types/intercept-stdout": "^0.1.0",
|
||||||
"@types/is-root": "1.0.0",
|
"@types/is-root": "1.0.0",
|
||||||
"@types/lodash": "4.14.112",
|
"@types/lodash": "4.14.112",
|
||||||
"@types/mixpanel": "2.14.0",
|
"@types/mixpanel": "2.14.0",
|
||||||
|
28
typings/intercept-stdout/index.d.ts
vendored
28
typings/intercept-stdout/index.d.ts
vendored
@ -1,28 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright 2019 Balena Ltd.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
declare module 'intercept-stdout' {
|
|
||||||
type hookFunction = (txt: string) => string | void;
|
|
||||||
type unhookFunction = () => void;
|
|
||||||
|
|
||||||
function intercept(
|
|
||||||
stdoutIntercept: hookFunction,
|
|
||||||
stderrIntercept?: hookFunction,
|
|
||||||
): unhookFunction;
|
|
||||||
|
|
||||||
export = intercept;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user