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

meow

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meow - npm Package Compare versions

Comparing version 13.0.0 to 13.1.0

2

build/index.d.ts

@@ -1300,5 +1300,7 @@ /**

// TODO: Remove this in meow 14.
/**
Whether to use [hard-rejection](https://github.com/sindresorhus/hard-rejection) or not. Disabling this can be useful if you need to handle `process.on('unhandledRejection')` yourself.
@deprecated This is the default behavior since Node.js 16, so this option is moot.
@default true

@@ -1305,0 +1307,0 @@ */

7

build/index.js
import process from 'node:process';
import { h as hardRejection, y as yargsParser, t as trimNewlines, r as redent, n as normalizePackageData, c as camelcaseKeys } from './dependencies.js';
import { y as yargsParser, t as trimNewlines, r as redent, n as normalizePackageData, c as camelcaseKeys } from './dependencies.js';
import { buildOptions } from './options.js';

@@ -87,7 +87,2 @@ import { buildParserOptions } from './parser.js';

const parsedOptions = buildOptions(helpText, options);
if (parsedOptions.hardRejection) {
hardRejection();
}
const parserOptions = buildParserOptions(parsedOptions);

@@ -94,0 +89,0 @@ const result = buildResult(parsedOptions, parserOptions);

@@ -81,3 +81,2 @@ import process from 'node:process';

booleanDefault: false,
hardRejection: true,
allowUnknownFlags: true,

@@ -84,0 +83,0 @@ allowParentFlags: true,

{
"name": "meow",
"version": "13.0.0",
"version": "13.1.0",
"description": "CLI app helper",

@@ -54,3 +54,2 @@ "license": "MIT",

"decamelize-keys",
"hard-rejection",
"minimist-options",

@@ -77,3 +76,2 @@ "normalize-package-data",

"globby": "^14.0.0",
"hard-rejection": "^2.1.0",
"indent-string": "^5.0.0",

@@ -85,8 +83,8 @@ "minimist-options": "4.1.0",

"redent": "^4.0.0",
"rollup": "^4.9.1",
"rollup": "^4.9.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-license": "^3.2.0",
"trim-newlines": "^5.0.0",
"tsd": "^0.30.0",
"type-fest": "^4.8.3",
"tsd": "^0.30.3",
"type-fest": "^4.9.0",
"typescript": "^5.3.3",

@@ -93,0 +91,0 @@ "xo": "^0.56.0",

@@ -288,9 +288,2 @@ # meow

##### hardRejection
Type: `boolean`\
Default: `true`
Whether to use [`hard-rejection`](https://github.com/sindresorhus/hard-rejection) or not. Disabling this can be useful if you need to handle `process.on('unhandledRejection')` yourself.
##### allowUnknownFlags

@@ -297,0 +290,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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