Comparing version 1.4.0 to 1.4.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172547
8
Updatedacorn@^8.10.0
Updatedufo@^1.3.0