Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@electron-forge/async-ora

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/async-ora - npm Package Compare versions

Comparing version 6.0.0-beta.5 to 6.0.0-beta.6

tslint.json

4

dist/index.js

@@ -31,2 +31,4 @@ "use strict";

require("source-map-support/register");
var _ora = _interopRequireWildcard(require("./ora"));

@@ -37,2 +39,2 @@

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBvcmEsIHsgZmFrZU9yYSB9IGZyb20gJy4vb3JhJztcbmltcG9ydCBhc3luY09yYSwgeyBPcmFJbXBsIH0gZnJvbSAnLi9vcmEtaGFuZGxlcic7XG5cbmV4cG9ydCB7XG4gIG9yYSxcbiAgZmFrZU9yYSxcbiAgYXN5bmNPcmEsXG4gIE9yYUltcGwsXG59O1xuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IG9yYSwgeyBmYWtlT3JhIH0gZnJvbSAnLi9vcmEnO1xuaW1wb3J0IGFzeW5jT3JhLCB7IE9yYUltcGwgfSBmcm9tICcuL29yYS1oYW5kbGVyJztcblxuZXhwb3J0IHtcbiAgb3JhLFxuICBmYWtlT3JhLFxuICBhc3luY09yYSxcbiAgT3JhSW1wbCxcbn07XG4iXX0=

@@ -8,2 +8,4 @@ "use strict";

require("source-map-support/register");
var _colors = _interopRequireDefault(require("colors"));

@@ -68,4 +70,4 @@

processExitFn(1); // If the process is still alive we should continue because either something went really wrong
// or we are testing this function
processExitFn(1); // If the process is still alive we should continue because either
// something went really wrong or we are testing this function

@@ -83,2 +85,2 @@ setTimeout(() => resolve(), 500);

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9vcmEtaGFuZGxlci50cyJdLCJuYW1lcyI6WyJPcmFJbXBsIiwiY29uc3RydWN0b3IiLCJ0ZXh0Iiwic3VjY2VlZCIsInN5bWJvbCIsImZhaWwiLCJzdGFydCIsInN0b3AiLCJ3YXJuIiwibWVzc2FnZSIsImFzeW5jT3JhIiwiaW5pdGlhbE9yYVZhbHVlIiwiYXN5bmNGbiIsInByb2Nlc3NFeGl0Rm4iLCJwcm9jZXNzIiwiZXhpdCIsImZuT3JhIiwiaW50ZXJhY3RpdmUiLCJQcm9taXNlIiwicmVzb2x2ZSIsInJlamVjdCIsInRoZW4iLCJjYXRjaCIsImVyciIsInN0YWNrIiwiY29uc29sZSIsImVycm9yIiwicmVkIiwiY29sb3JzIiwiSlNPTiIsInN0cmluZ2lmeSIsInNldFRpbWVvdXQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7OztBQUVPLE1BQU1BLE9BQU4sQ0FBYztBQ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5jT3JhO1xuIl19

@@ -8,2 +8,4 @@ "use strict";

require("source-map-support/register");
require("colors");

@@ -25,3 +27,3 @@

const fakeOra = name => {
let _name = name;
let oraName = name;
const fake = {

@@ -50,8 +52,8 @@ start: () => {

get text() {
return _name;
return oraName;
},
set text(newName) {
d('Process Renamed:', _name, ' --> ', newName);
_name = newName;
d('Process Renamed:', oraName, ' --> ', newName);
oraName = newName;
}

@@ -68,2 +70,2 @@

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9vcmEudHMiXSwibmFtZXMiOlsiZCIsInVzZUZha2VPcmEiLCJCb29sZWFuIiwicHJvY2VzcyIsImVudiIsIkRFQlVHIiwiaW5jbHVkZXMiLCJjb25zb2xlIiwid2FybiIsInJlZCIsImZha2VPcmEiLCJuYW1lIiwiX25hbWUiLCJmYWtlIiwic3RhcnQiLCJ0ZXh0IiwiZmFpbCIsInN1Y2NlZWQiLCJzdG9wIiwid2FybmluZyIsIm5ld05hbWUiLCJyZWFsT3JhIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7O0FBRUE7Ozs7QUFHQSxNQUFNQSxJQUFJLG9CQUFNLDBCQUFOLENBQVY7QUFFQSxNQUFNQyxhQUFhQyxRQUFRQyxRQUFRQyxHQUFSLENBQVlDLEtBQVosSUFBcUJGLFFBQVFDLEdBQVIsQ0FBWUMsS0FBWixDQUFrQkMsUUFBbEIsQ0FBMkIsZ0JBQTNCLENBQTdCLENBQW5COztBQUVBLElBQUlMLFVBQUosRUFBZ0I7QUFDZE0sVUFBUUMsSUFBUixDQUFhLGdIQUFnSEMsR0FBN0g7QUFDRDs7QUFFTSxNQUFNQyxVQUFXQyxJQUFELElBQWtCO0FBQ3ZDLE1BQUlDLFFBQVFELElBQVo7QUFDQSxRQUFNRSxPQUFnQjtBQUNwQkMsV0FBTyxNQUFNO0FBQ1hkLFFBQUUsa0JB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U7XG4gICAgfSxcbiAgICBzdG9wOiAoKSA9PiB7XG4gICAgICBkKCdQcm9jZXNzIFN0b3BwZWQ6JywgZmFrZS50ZXh0KTtcbiAgICAgIHJldHVybiBmYWtlO1xuICAgIH0sXG4gICAgd2FybjogKHdhcm5pbmc6IHN0cmluZykgPT4ge1xuICAgICAgZCgnUHJvY2VzcyBXYXJuZWQ6Jywgd2FybmluZyk7XG4gICAgICByZXR1cm4gZmFrZTtcbiAgICB9LFxuICAgIGdldCB0ZXh0KCkge1xuICAgICAgcmV0dXJuIG9yYU5hbWU7XG4gICAgfSxcbiAgICBzZXQgdGV4dChuZXdOYW1lOiBzdHJpbmcpIHtcbiAgICAgIGQoJ1Byb2Nlc3MgUmVuYW1lZDonLCBvcmFOYW1lLCAnIC0tPiAnLCBuZXdOYW1lKTtcbiAgICAgIG9yYU5hbWUgPSBuZXdOYW1lO1xuICAgIH0sXG4gIH07XG4gIHJldHVybiBmYWtlO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgdXNlRmFrZU9yYSA/IGZha2VPcmEgOiByZWFsT3JhO1xuIl19
{
"name": "@electron-forge/async-ora",
"version": "6.0.0-beta.5",
"version": "6.0.0-beta.6",
"description": "A helper utility for wrapping async functions in an ora",

@@ -5,0 +5,0 @@ "repository": "https://github.com/electron-userland/electron-forge",

@@ -15,3 +15,7 @@ import colors from 'colors';

export interface AsyncOraMethod {
(initialOraValue: string, asyncFn: (ora: OraImpl) => Promise<void>, processExitFn?: (code: number) => void): Promise<void>;
(
initialOraValue: string,
asyncFn: (ora: OraImpl) => Promise<void>,
processExitFn?: (code: number) => void,
): Promise<void>;
interactive?: boolean;

@@ -41,4 +45,4 @@ }

processExitFn(1);
// If the process is still alive we should continue because either something went really wrong
// or we are testing this function
// If the process is still alive we should continue because either
// something went really wrong or we are testing this function
setTimeout(() => resolve(), 500);

@@ -45,0 +49,0 @@ } else {

@@ -16,3 +16,3 @@ import 'colors';

export const fakeOra = (name: string) => {
let _name = name;
let oraName = name;
const fake: OraImpl = {

@@ -40,7 +40,7 @@ start: () => {

get text() {
return _name;
return oraName;
},
set text(newName: string) {
d('Process Renamed:', _name, ' --> ', newName);
_name = newName;
d('Process Renamed:', oraName, ' --> ', newName);
oraName = newName;
},

@@ -47,0 +47,0 @@ };

@@ -9,3 +9,3 @@ import { expect } from 'chai';

let asyncOra: typeof ora;
let MockOra: (text: string) => OraImpl | undefined;
let mockOra: (text: string) => OraImpl | undefined;
let currentOra: OraImpl | undefined;

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

currentOra = undefined;
MockOra = (text) => {
mockOra = (text) => {
currentOra = {

@@ -48,3 +48,3 @@ failed: false,

asyncOra = proxyquire.noCallThru().load('../src/ora-handler', {
'./ora': MockOra,
'./ora': mockOra,
}).default;

@@ -51,0 +51,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc