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.42 to 0.0.43

dist/api/__tests__/collectUsages.test-d.d.ts

19

package.json
{
"name": "pure-index",
"type": "module",
"version": "0.0.42",
"version": "0.0.43",
"description": "Utility for monorepos. It helps to find unused exports from packages or get a list of all unique uses of any package",
"main": "./src/api/index.js",
"bin": "./bin/index.js",
"bin": "./dist/bin/index.js",
"author": "Viktor Pasynok",
"license": "MIT",
"scripts": {
"test": "vitest --run"
"build": "tsc",
"postbuild": "tsc-alias -v --dir dist/ -p tsconfig.json",
"test": "vitest"
},
"dependencies": {
"@babel/parser": "7.23.6",
"@swc/core": "1.3.101",
"@swc/core": "1.3.102",
"fdir": "6.1.1",

@@ -26,4 +27,10 @@ "lilconfig": "3.0.0",

"devDependencies": {
"@types/node": "20.10.6",
"@vitest/coverage-v8": "1.1.1",
"effector": "23.1.0",
"prettier": "3.1.1",
"vitest": "1.1.0"
"tsc-alias": "^1.8.8",
"typescript": "5.3.3",
"vite-tsconfig-paths": "4.2.3",
"vitest": "1.1.1"
},

@@ -30,0 +37,0 @@ "repository": {

@@ -62,3 +62,2 @@ # 🌿 Pure Index

"dir": "my-path",
"babelPlugins": ["typescript"],
"batch": 100

@@ -76,3 +75,2 @@ }

"dir": "my-path",
"babelPlugins": ["typescript"],
"batch": 100

@@ -90,3 +88,2 @@ }

dir: 'my-path',
babelPlugins: ['typescript'],
batch: 100

@@ -110,3 +107,2 @@ }

- `dir (String)` — path to the directory where imports should be searched for.
- `babelPlugins (Array<string>)` — list of babel plugins that will be used when parsing files.
- `batch (Number)` — number of files to be traversed in parallel. Changing the value may speed up or slow down the script. Choose the value yourself.

@@ -178,17 +174,2 @@

### `--babel-plugins, -p`
<details><summary><b>Show instructions</b></summary>
```diff
"scripts": {
"build": "webpack ./webpack.config.js",
- "check-exports": "pure-index",
+ "check-exports": "pure-index --babel-plugins typescript,classPrivateProperties",
"test": "vitest"
}
```
</details>
### `--batch, -b`

@@ -195,0 +176,0 @@

Sorry, the diff of this file is not supported yet

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