Socket
Socket
Sign inDemoInstall

pure-index

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pure-index - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

10

bin/index.js

@@ -5,2 +5,3 @@ #!/usr/bin/env node

import { main } from './main.js'
import { getUnusedExports } from './getUnusedExports/index.js'

@@ -10,2 +11,11 @@ const config = await getConfig()

if (config.collectUsages) {
const usages = new Set()
await getUnusedExports({
config,
pkg: { name: config.collectUsages },
cmd: usages.add.bind(exports)
})
console.log(usages)
process.exit(0)

@@ -12,0 +22,0 @@ }

2

package.json
{
"name": "pure-index",
"type": "module",
"version": "0.0.19",
"version": "0.0.20",
"description": "Utility for monorepos. It helps to find unused exports from packages.",

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

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