module-from-string
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -52,3 +52,3 @@ import os from 'os' | ||
"var Greet = /* @__PURE__ */ ((Greet2) => { | ||
Greet2[Greet2[\\"Hi\\"] = 0] = \\"Hi\\"; | ||
Greet2[Greet2["Hi"] = 0] = "Hi"; | ||
return Greet2; | ||
@@ -55,0 +55,0 @@ })(Greet || {}); |
@@ -44,3 +44,3 @@ import os from 'os' | ||
"var Greet = /* @__PURE__ */ ((Greet2) => { | ||
Greet2[Greet2[\\"Hi\\"] = 0] = \\"Hi\\"; | ||
Greet2[Greet2["Hi"] = 0] = "Hi"; | ||
return Greet2; | ||
@@ -47,0 +47,0 @@ })(Greet || {}); |
@@ -48,3 +48,3 @@ import os from 'os' | ||
"var Greet = /* @__PURE__ */ ((Greet2) => { | ||
Greet2[Greet2[\\"Hi\\"] = 0] = \\"Hi\\"; | ||
Greet2[Greet2["Hi"] = 0] = "Hi"; | ||
return Greet2; | ||
@@ -51,0 +51,0 @@ })(Greet || {}); |
@@ -47,3 +47,3 @@ import os from 'os' | ||
"var Greet = /* @__PURE__ */ ((Greet2) => { | ||
Greet2[Greet2[\\"Hi\\"] = 0] = \\"Hi\\"; | ||
Greet2[Greet2["Hi"] = 0] = "Hi"; | ||
return Greet2; | ||
@@ -50,0 +50,0 @@ })(Greet || {}); |
@@ -136,2 +136,3 @@ "use strict"; | ||
filename: moduleFilename, | ||
// @ts-expect-error: experimental | ||
async importModuleDynamically(specifier) { | ||
@@ -221,2 +222,3 @@ return await import(resolveModuleSpecifier(specifier, contextModule.path)); | ||
}, | ||
// @ts-expect-error: wrong type definition | ||
async importModuleDynamically(specifier) { | ||
@@ -223,0 +225,0 @@ return await import(resolveModuleSpecifier(specifier, dirname)); |
{ | ||
"name": "module-from-string", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "Load module from string using require or import.", | ||
@@ -49,14 +49,14 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"esbuild": "^0.15.7", | ||
"nanoid": "^3.3.4" | ||
"esbuild": "^0.23.0", | ||
"nanoid": "^3.3.7" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "28.1.8", | ||
"@types/node": "18.7.18", | ||
"@types/normalize-path": "3.0.0", | ||
"@types/node": "22.0.0", | ||
"@types/normalize-path": "3.0.2", | ||
"cross-env": "7.0.3", | ||
"jest": "28.1.3", | ||
"normalize-path": "3.0.0", | ||
"rollup": "2.79.0", | ||
"rollup-plugin-dts": "4.2.2", | ||
"rollup": "2.79.1", | ||
"rollup-plugin-dts": "4.2.3", | ||
"rollup-plugin-esbuild-transform": "1.5.0", | ||
@@ -66,3 +66,4 @@ "ts-jest": "28.0.8", | ||
"typescript": "4.4.4" | ||
} | ||
}, | ||
"packageManager": "npm@8.19.4+sha512.dc700d97c8bd0ca9d403cf4fe0a12054d376f048d27830a6bc4a9bcce02ec42143cdd059ce3525f7dce09c6a4e52e9af5b996f268d8729c8ebb1cfad7f2bf51f" | ||
} |
@@ -6,3 +6,3 @@ # module-from-string | ||
[![npm](https://img.shields.io/npm/v/module-from-string.svg)](https://www.npmjs.com/package/module-from-string) | ||
[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/exuanbo/module-from-string/Node.js%20CI/main.svg)](https://github.com/exuanbo/module-from-string/actions?query=workflow) | ||
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/exuanbo/module-from-string/nodejs.yml.svg?branch=main)](https://github.com/exuanbo/module-from-string/actions?query=workflow) | ||
[![Node.js](https://img.shields.io/badge/node-%3E%3D12.20.0-brightgreen.svg)](https://nodejs.org/) | ||
@@ -9,0 +9,0 @@ [![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com) |
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
53173
1114
+ Added@esbuild/aix-ppc64@0.23.1(transitive)
+ Added@esbuild/android-arm@0.23.1(transitive)
+ Added@esbuild/android-arm64@0.23.1(transitive)
+ Added@esbuild/android-x64@0.23.1(transitive)
+ Added@esbuild/darwin-arm64@0.23.1(transitive)
+ Added@esbuild/darwin-x64@0.23.1(transitive)
+ Added@esbuild/freebsd-arm64@0.23.1(transitive)
+ Added@esbuild/freebsd-x64@0.23.1(transitive)
+ Added@esbuild/linux-arm@0.23.1(transitive)
+ Added@esbuild/linux-arm64@0.23.1(transitive)
+ Added@esbuild/linux-ia32@0.23.1(transitive)
+ Added@esbuild/linux-loong64@0.23.1(transitive)
+ Added@esbuild/linux-mips64el@0.23.1(transitive)
+ Added@esbuild/linux-ppc64@0.23.1(transitive)
+ Added@esbuild/linux-riscv64@0.23.1(transitive)
+ Added@esbuild/linux-s390x@0.23.1(transitive)
+ Added@esbuild/linux-x64@0.23.1(transitive)
+ Added@esbuild/netbsd-x64@0.23.1(transitive)
+ Added@esbuild/openbsd-arm64@0.23.1(transitive)
+ Added@esbuild/openbsd-x64@0.23.1(transitive)
+ Added@esbuild/sunos-x64@0.23.1(transitive)
+ Added@esbuild/win32-arm64@0.23.1(transitive)
+ Added@esbuild/win32-ia32@0.23.1(transitive)
+ Added@esbuild/win32-x64@0.23.1(transitive)
+ Addedesbuild@0.23.1(transitive)
- Removed@esbuild/android-arm@0.15.18(transitive)
- Removed@esbuild/linux-loong64@0.15.18(transitive)
- Removedesbuild@0.15.18(transitive)
- Removedesbuild-android-64@0.15.18(transitive)
- Removedesbuild-android-arm64@0.15.18(transitive)
- Removedesbuild-darwin-64@0.15.18(transitive)
- Removedesbuild-darwin-arm64@0.15.18(transitive)
- Removedesbuild-freebsd-64@0.15.18(transitive)
- Removedesbuild-freebsd-arm64@0.15.18(transitive)
- Removedesbuild-linux-32@0.15.18(transitive)
- Removedesbuild-linux-64@0.15.18(transitive)
- Removedesbuild-linux-arm@0.15.18(transitive)
- Removedesbuild-linux-arm64@0.15.18(transitive)
- Removedesbuild-linux-mips64le@0.15.18(transitive)
- Removedesbuild-linux-ppc64le@0.15.18(transitive)
- Removedesbuild-linux-riscv64@0.15.18(transitive)
- Removedesbuild-linux-s390x@0.15.18(transitive)
- Removedesbuild-netbsd-64@0.15.18(transitive)
- Removedesbuild-openbsd-64@0.15.18(transitive)
- Removedesbuild-sunos-64@0.15.18(transitive)
- Removedesbuild-windows-32@0.15.18(transitive)
- Removedesbuild-windows-64@0.15.18(transitive)
- Removedesbuild-windows-arm64@0.15.18(transitive)
Updatedesbuild@^0.23.0
Updatednanoid@^3.3.7