Socket
Socket
Sign inDemoInstall

@inquirer/editor

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/editor - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

7

./dist/cjs/index.js

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const node_async_hooks_1 = require("node:async_hooks");
const external_editor_1 = require("external-editor");

@@ -25,3 +26,5 @@ const core_1 = require("@inquirer/core");

rl.pause();
(0, external_editor_1.editAsync)(value, (error, answer) => __awaiter(this, void 0, void 0, function* () {
(0, external_editor_1.editAsync)(value,
// Note: The bind call isn't strictly required. But we need it for our mocks to work as expected.
node_async_hooks_1.AsyncResource.bind((error, answer) => __awaiter(this, void 0, void 0, function* () {
rl.resume();

@@ -45,3 +48,3 @@ if (error) {

}
}), {
})), {
postfix: config.postfix || '.txt',

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

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const node_async_hooks_1 = require("node:async_hooks");
const external_editor_1 = require("external-editor");

@@ -25,3 +26,5 @@ const core_1 = require("@inquirer/core");

rl.pause();
(0, external_editor_1.editAsync)(value, (error, answer) => __awaiter(this, void 0, void 0, function* () {
(0, external_editor_1.editAsync)(value,
// Note: The bind call isn't strictly required. But we need it for our mocks to work as expected.
node_async_hooks_1.AsyncResource.bind((error, answer) => __awaiter(this, void 0, void 0, function* () {
rl.resume();

@@ -45,3 +48,3 @@ if (error) {

}
}), {
})), {
postfix: config.postfix || '.txt',

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

{
"name": "@inquirer/editor",
"version": "2.0.1",
"version": "2.0.2",
"description": "Inquirer multiline editor prompt",

@@ -57,6 +57,9 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@inquirer/core": "^7.0.1",
"@inquirer/core": "^7.0.2",
"@inquirer/type": "^1.2.0",
"external-editor": "^3.1.0"
},
"devDependencies": {
"@inquirer/testing": "^2.1.12"
},
"scripts": {

@@ -85,3 +88,3 @@ "tsc": "yarn run tsc:esm && yarn run tsc:cjs",

},
"gitHead": "c91196e66689cfc05e9237763e6f95f3eb5342a1"
"gitHead": "85fba2337df29f689d058a9260df163af89caa98"
}

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