Socket
Socket
Sign inDemoInstall

mlly

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mlly - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

21

lib/index.d.ts

@@ -52,5 +52,24 @@ // CommonJS

export interface ESMExport {
type: 'declaration' | 'named' | 'default',
code: string
start: number
end: number
}
export interface DeclarationExport extends ESMExport {
type: 'declaration'
declaration: string
name: string
}
export interface NamedExport extends ESMExport {
type: 'named'
exports: string
names: string[]
}
export function findStaticImports (code: string) : StaticImport[]
export function findDynamicImports (code: string) : DynamicImport[]
export function findNamedExports (code:string): string[]
export function findExports (code: string): (NamedExport | DeclarationExport | ESMExport)[]
export function parseStaticImport (staticImport: StaticImport) : ParsedStaticImport

@@ -57,0 +76,0 @@

2

package.json
{
"name": "mlly",
"version": "0.2.7",
"version": "0.2.8",
"description": "Missing ECMAScript module utils for Node.js",

@@ -5,0 +5,0 @@ "repository": "unjs/mlly",

@@ -131,3 +131,3 @@ # 🤝 mlly

## Evaluating Moduls
## Evaluating Modules

@@ -134,0 +134,0 @@ ### `evalModule`

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