Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kosko/require

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kosko/require - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

10

index.d.ts
/**
* Imports and resolves modules.
*
* @packageDocumentation
*/
/**
* Returns true if ECMAScript modules are supported in the current environment.

@@ -52,5 +58,6 @@ * If `ESM_IMPORT_DISABLED=true` environment variable is set, this function will

* Resolves path to the specified module. Returns ECMAScript module path when
* available. See `resolve` for more info.
* available.
*
* @public
* @see {@link resolve}
*/

@@ -66,3 +73,2 @@ export function resolveESM(

* @defaultValue
*
* ```js

@@ -69,0 +75,0 @@ * [".cjs", ".mjs", ".js", ".json", ".node"]

2

package.json
{
"name": "@kosko/require",
"version": "4.0.0",
"version": "4.0.1",
"description": "Import and resolve modules.",

@@ -5,0 +5,0 @@ "homepage": "https://kosko.dev",

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