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

@poppinss/prompts

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@poppinss/prompts - npm Package Compare versions

Comparing version 3.1.0-3 to 3.1.0-4

2

build/src/base.d.ts

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

/// <reference types="node" resolution-mode="require"/>
/// <reference types="@types/node" resolution-mode="require"/>
import { AssertionError } from 'node:assert';

@@ -3,0 +3,0 @@ import { PromptChoice, ListPromptOptions, TextPromptOptions, TogglePromptOptions, ChoicePromptOptions, BooleanPromptOptions, MultiplePromptOptions, AutoCompletePromptOptions } from './types.js';

import { Exception } from '@poppinss/utils';
class PromptCancelledException extends Exception {
export class PromptCancelledException extends Exception {
static message = 'Prompt cancelled';

@@ -7,2 +7,1 @@ static status = 500;

}
export { PromptCancelledException };
{
"name": "@poppinss/prompts",
"version": "3.1.0-3",
"version": "3.1.0-4",
"description": "Wrapper over enquirer with better support for testing",

@@ -16,6 +16,10 @@ "main": "build/index.js",

},
"engines": {
"node": ">=18.16.0"
},
"scripts": {
"pretest": "npm run lint",
"test": "c8 npm run vscode:test",
"test": "c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"compile": "npm run lint && npm run clean && tsc",

@@ -29,3 +33,3 @@ "build": "npm run compile",

"sync-labels": "github-label-sync --labels .github/labels.json poppinss/prompts",
"vscode:test": "node --loader=ts-node/esm bin/test.ts"
"quick:test": "node --loader=ts-node/esm bin/test.ts"
},

@@ -39,24 +43,22 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^17.5.0",
"@commitlint/config-conventional": "^17.3.0",
"@japa/assert": "^1.3.6",
"@japa/expect-type": "^1.0.2",
"@japa/run-failed-tests": "^1.1.0",
"@japa/runner": "^2.2.2",
"@japa/spec-reporter": "^1.3.2",
"@swc/core": "^1.3.42",
"@types/node": "^18.15.8",
"c8": "^7.12.0",
"@adonisjs/eslint-config": "^1.1.6",
"@adonisjs/prettier-config": "^1.1.6",
"@adonisjs/tsconfig": "^1.1.6",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@japa/assert": "^2.0.0-1",
"@japa/expect-type": "^2.0.0-0",
"@japa/runner": "^3.0.0-2",
"@swc/core": "^1.3.67",
"@types/node": "^20.3.2",
"c8": "^8.0.0",
"del-cli": "^5.0.0",
"doctoc": "^2.0.1",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-adonis": "^3.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint": "^8.43.0",
"github-label-sync": "^2.1.1",
"husky": "^8.0.2",
"np": "^7.6.4",
"prettier": "^2.8.7",
"np": "^8.0.4",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
"typescript": "^5.1.6"
},

@@ -76,32 +78,2 @@ "dependencies": {

"homepage": "https://github.com/poppinss/prompts#readme",
"eslintConfig": {
"extends": [
"plugin:adonis/typescriptPackage",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}
},
"eslintIgnore": [
"build"
],
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"useTabs": false,
"quoteProps": "consistent",
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 100
},
"commitlint": {

@@ -131,3 +103,7 @@ "extends": [

]
}
},
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config"
}
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