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

@arethetypeswrong/cli

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

@arethetypeswrong/cli - npm Package Compare versions

Comparing version 0.14.1 to 0.15.0

4

dist/index.js

@@ -45,2 +45,4 @@ #!/usr/bin/env node

.option("--exclude-entrypoints <entrypoints...>", "Specify entrypoints to exclude from checking.")
.option("--entrypoints-legacy", 'In packages without the `exports` field, every file is an entry point. Specifying this option ' +
'only takes effect when no entrypoints are automatically detected, or explicitly provided with other options.')
.addOption(new Option("--ignore-rules <rules...>", "Specify rules to ignore").choices(Object.values(problemFlags)).default([]))

@@ -94,2 +96,3 @@ .option("--summary, --no-summary", "Whether to print summary information about the different errors")

excludeEntrypoints: opts.excludeEntrypoints,
entrypointsLegacy: opts.entrypointsLegacy,
});

@@ -144,2 +147,3 @@ }

excludeEntrypoints: opts.excludeEntrypoints,
entrypointsLegacy: opts.entrypointsLegacy,
});

@@ -146,0 +150,0 @@ }

4

package.json
{
"name": "@arethetypeswrong/cli",
"version": "0.14.1",
"version": "0.15.0",
"description": "A CLI tool for arethetypeswrong.github.io",

@@ -49,3 +49,3 @@ "author": "Andrew Branch & ej-shafran",

"dependencies": {
"@arethetypeswrong/core": "0.14.1",
"@arethetypeswrong/core": "0.15.0",
"chalk": "^4.1.2",

@@ -52,0 +52,0 @@ "cli-table3": "^0.6.3",

@@ -135,3 +135,3 @@ # arethetypeswrong/cli

`attw` automatically discovers package entrypoints by looking at package.json `exports` and subdirectories with additional package.json files. This automatic discovery process can be overridden with the `--entrypoints` option, or altered with the `--include-entrypoints` and `--exclude-entrypoints` options:
`attw` automatically discovers package entrypoints by looking at package.json `exports` and subdirectories with additional package.json files. In a package lacking `exports`, providing the `--entrypoints-legacy` option will include all published code files. This automatic discovery process can be overridden with the `--entrypoints` option, or altered with the `--include-entrypoints` and `--exclude-entrypoints` options:

@@ -142,2 +142,3 @@ ```shell

attw --pack . --exclude-entrypoints styles.css # Auto-discovered entrypoints except "./styles.css"
attw --pack . --entrypoints-legacy # All published code files
```

@@ -144,0 +145,0 @@

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