Socket
Socket
Sign inDemoInstall

@truffle/spinners

Package Overview
Dependencies
14
Maintainers
14
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2-hardhat-error.0

2

dist/index.d.ts

@@ -1,2 +0,2 @@

export { StopAllStatus } from "spinnies";
export { StopAllStatus, SpinnerOptions, Color, Options, SpinnerStatus, dashes, dots } from "@trufflesuite/spinnies";
export * from "./spinner";

@@ -17,3 +17,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.dots = exports.dashes = void 0;
var spinnies_1 = require("@trufflesuite/spinnies");
Object.defineProperty(exports, "dashes", { enumerable: true, get: function () { return spinnies_1.dashes; } });
Object.defineProperty(exports, "dots", { enumerable: true, get: function () { return spinnies_1.dots; } });
__exportStar(require("./spinner"), exports);
//# sourceMappingURL=index.js.map

@@ -67,2 +67,10 @@ import { SpinnerOptions, StopAllStatus, Color } from "@trufflesuite/spinnies";

/**
* @returns the indent level of this spinner, expressed as a number of spaces
*/
get indent(): number | undefined;
/**
* Sets the indent level of this spinner, expressed as a number of spaces
*/
set indent(value: number | undefined);
/**
* @returns string the `chalk` color of this spinner's text

@@ -86,31 +94,31 @@ */

*/
get stoppedPrefix(): Color | undefined;
get stoppedPrefix(): string | undefined;
/**
* updates the prefix used when this spinner is stopped
*/
set stoppedPrefix(value: Color | undefined);
set stoppedPrefix(value: string | undefined);
/**
* @returns string the prefix used on success
*/
get succeedPrefix(): Color | undefined;
get succeedPrefix(): string;
/**
* updates the prefix used on success
*/
set succeedPrefix(value: Color | undefined);
set succeedPrefix(value: string);
/**
* @returns string the prefix used on failure
*/
get failPrefix(): Color | undefined;
get failPrefix(): string;
/**
* updates the prefix used on failure
*/
set failPrefix(value: Color | undefined);
set failPrefix(value: string);
/**
* @returns string the prefix used on warn
*/
get warnPrefix(): Color | undefined;
get warnPrefix(): string;
/**
* updates the prefix used on warn
*/
set warnPrefix(value: Color | undefined);
set warnPrefix(value: string);
/**

@@ -117,0 +125,0 @@ * @returns boolean `true` when the spinner is active and spinning, otherwise

@@ -107,2 +107,15 @@ "use strict";

/**
* @returns the indent level of this spinner, expressed as a number of spaces
*/
get indent() {
var _a;
return (_a = spinnies.pick(this.name)) === null || _a === void 0 ? void 0 : _a.indent;
}
/**
* Sets the indent level of this spinner, expressed as a number of spaces
*/
set indent(value) {
this._mutateOptions("indent", value);
}
/**
* @returns string the `chalk` color of this spinner's text

@@ -109,0 +122,0 @@ */

@@ -15,3 +15,3 @@ {

},
"version": "0.2.1",
"version": "0.2.2-hardhat-error.0",
"main": "dist/index.js",

@@ -30,3 +30,3 @@ "files": [

"dependencies": {
"@trufflesuite/spinnies": "^0.1.0"
"@trufflesuite/spinnies": "^0.1.1"
},

@@ -53,3 +53,3 @@ "devDependencies": {

},
"gitHead": "0d96061f25e0927cd1d158b1636464ded86a57bb"
"gitHead": "93f18f7373b74e774e5fa068da3ee3202541f372"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc