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 1.4.0 to 1.4.1

dist/index.d.cts

2

dist/index.d.ts

@@ -135,2 +135,2 @@ interface ResolveOptions {

export { CommonjsContext, DYNAMIC_IMPORT_RE, DeclarationExport, DefaultExport, DynamicImport, ESMExport, ESMImport, ESM_STATIC_IMPORT_RE, EXPORT_DECAL_RE, EXPORT_DECAL_TYPE_RE, EvaluateOptions, NamedExport, ParsedStaticImport, ResolveOptions, StaticImport, TypeImport, ValidNodeImportOptions, createCommonJS, createResolve, detectSyntax, evalModule, fileURLToPath, findDynamicImports, findExportNames, findExports, findStaticImports, findTypeExports, findTypeImports, getProtocol, hasCJSSyntax, hasESMSyntax, interopDefault, isNodeBuiltin, isValidNodeImport, loadModule, loadURL, lookupNodeModuleSubpath, normalizeid, parseNodeModulePath, parseStaticImport, parseTypeImport, resolve, resolveImports, resolveModuleExportNames, resolvePath, resolvePathSync, resolveSync, sanitizeFilePath, sanitizeURIComponent, toDataURL, transformModule };
export { type CommonjsContext, DYNAMIC_IMPORT_RE, type DeclarationExport, type DefaultExport, type DynamicImport, type ESMExport, type ESMImport, ESM_STATIC_IMPORT_RE, EXPORT_DECAL_RE, EXPORT_DECAL_TYPE_RE, type EvaluateOptions, type NamedExport, type ParsedStaticImport, type ResolveOptions, type StaticImport, type TypeImport, type ValidNodeImportOptions, createCommonJS, createResolve, detectSyntax, evalModule, fileURLToPath, findDynamicImports, findExportNames, findExports, findStaticImports, findTypeExports, findTypeImports, getProtocol, hasCJSSyntax, hasESMSyntax, interopDefault, isNodeBuiltin, isValidNodeImport, loadModule, loadURL, lookupNodeModuleSubpath, normalizeid, parseNodeModulePath, parseStaticImport, parseTypeImport, resolve, resolveImports, resolveModuleExportNames, resolvePath, resolvePathSync, resolveSync, sanitizeFilePath, sanitizeURIComponent, toDataURL, transformModule };
{
"name": "mlly",
"version": "1.4.0",
"version": "1.4.1",
"description": "Missing ECMAScript module utils for Node.js",

@@ -29,21 +29,21 @@ "repository": "unjs/mlly",

"dependencies": {
"acorn": "^8.9.0",
"acorn": "^8.10.0",
"pathe": "^1.1.1",
"pkg-types": "^1.0.3",
"ufo": "^1.1.2"
"ufo": "^1.3.0"
},
"devDependencies": {
"@types/node": "^20.3.1",
"@vitest/coverage-v8": "^0.32.2",
"changelogen": "^0.5.3",
"eslint": "^8.43.0",
"@types/node": "^20.5.6",
"@vitest/coverage-v8": "^0.34.3",
"changelogen": "^0.5.5",
"eslint": "^8.47.0",
"eslint-config-unjs": "^0.2.1",
"import-meta-resolve": "^3.0.0",
"jiti": "^1.18.2",
"prettier": "^2.8.8",
"typescript": "^5.1.3",
"unbuild": "^1.2.1",
"vitest": "^0.32.2"
"jiti": "^1.19.3",
"prettier": "^3.0.2",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.3"
},
"packageManager": "pnpm@8.5.1"
"packageManager": "pnpm@8.6.12"
}

@@ -104,3 +104,3 @@ # mlly

console.log(
await resolveImports(`import foo from './bar.mjs'`, { url: import.meta.url })
await resolveImports(`import foo from './bar.mjs'`, { url: import.meta.url }),
);

@@ -220,3 +220,3 @@ ```

import foo, { bar /* foo */ } from 'baz'
`)
`),
);

@@ -281,3 +281,3 @@ ```

const foo = await import('bar')
`)
`),
);

@@ -296,3 +296,3 @@ ```

export default something
`)
`),
);

@@ -338,3 +338,3 @@ ```

export default something
`)
`),
);

@@ -377,3 +377,3 @@ ```

`,
{ url: import.meta.url }
{ url: import.meta.url },
);

@@ -462,3 +462,3 @@ ```

console.log('Hello world')
`)
`),
);

@@ -518,3 +518,3 @@ ```

const { dir, name, subpath } = parseNodeModulePath(
"/src/a/node_modules/lib/dist/index.mjs"
"/src/a/node_modules/lib/dist/index.mjs",
);

@@ -532,3 +532,3 @@ ```

const subpath = lookupNodeModuleSubpath(
"/src/a/node_modules/lib/dist/utils.mjs"
"/src/a/node_modules/lib/dist/utils.mjs",
);

@@ -535,0 +535,0 @@ ```

Sorry, the diff of this file is not supported yet

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