Socket
Socket
Sign inDemoInstall

pure-index

Package Overview
Dependencies
21
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.56 to 0.0.57

4

dist/getConfig/cli.js

@@ -5,4 +5,4 @@ import meow from 'meow';

Options
--entry, -e path to the package index file. relative to the package directory
--collect-usages, -u outputs a list of all unique uses of the package
--entry, -e <path> path to the package index file. relative to the package directory
--collect-usages, -u <pkg-name> outputs a list of all unique uses of the package
`, {

@@ -9,0 +9,0 @@ importMeta: import.meta,

import { lilconfig } from 'lilconfig';
import { join } from 'node:path';
import { cli } from './cli.js';

@@ -8,3 +9,3 @@ import { getRepoRoot } from '../shared/index.js';

dir: '',
entry: 'index.ts',
entry: join('src', 'index.ts'),
exclude: ['node_modules'],

@@ -11,0 +12,0 @@ extensions: ['ts', 'tsx'],

@@ -31,4 +31,4 @@ import { existsSync } from 'node:fs';

printParseError(pkg.path);
process.exit(1);
}
// @ts-expect-error
for (const node of ast.body) {

@@ -35,0 +35,0 @@ if (node.type === 'ExportNamedDeclaration') {

{
"name": "pure-index",
"type": "module",
"version": "0.0.56",
"version": "0.0.57",
"description": "Utility for monorepos. It helps to clean your packages of unused exports with ease",

@@ -6,0 +6,0 @@ "main": "./dist/api/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc