Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

@commitlint/resolve-extends

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/resolve-extends - npm Package Compare versions

Comparing version
20.0.0
to
20.1.0
+5
-0
lib/index.js

@@ -0,1 +1,2 @@

import { createRequire } from "node:module";
import fs from "node:fs";

@@ -10,2 +11,6 @@ import path from "node:path";

const dynamicImport = async (id) => {
if (id.endsWith(".json")) {
const require = createRequire(import.meta.url);
return require(id);
}
const imported = await import(path.isAbsolute(id) ? pathToFileURL(id).toString() : id);

@@ -12,0 +17,0 @@ return ("default" in imported && imported.default) || imported;

+2
-2
{
"name": "@commitlint/resolve-extends",
"type": "module",
"version": "20.0.0",
"version": "20.1.0",
"description": "Lint your commit messages",

@@ -50,3 +50,3 @@ "main": "lib/index.js",

},
"gitHead": "407be6c96b1a108ee012ed5330b0d80a165952d5"
"gitHead": "a8e86d252ad9e77e0b9bd929fd8409f824727f11"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet