New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/jest-resolver

Package Overview
Dependencies
Maintainers
12
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/jest-resolver - npm Package Compare versions

Comparing version 4.1.0-224.2 to 4.1.0-224.3

11

package.json
{
"name": "@lwc/jest-resolver",
"version": "4.1.0-224.2",
"version": "4.1.0-224.3",
"description": "Jest resolver to resolve LWC specific packages",

@@ -14,10 +14,9 @@ "main": "src/index.js",

],
"peerDependencies": {
"@lwc/module-resolver": "*"
"license": "MIT",
"devDependencies": {
"@lwc/jest-preset": "4.1.0-224.3"
},
"license": "MIT",
"engines": {
"node": ">=10"
},
"gitHead": "b9301a11fa77bc7c68e8b2d3591fff426c4b0634"
}
}

@@ -9,3 +9,2 @@ /*

const { resolve, extname, join, dirname, basename } = require('path');
const lwcResolver = require('@lwc/module-resolver');

@@ -35,3 +34,2 @@ /*

};
const lwcMap = lwcResolver.resolveModules();

@@ -60,7 +58,2 @@ // This logic is somewhat the same in the compiler resolution system

// If is an LWC module from npm resolve it relative to this folder
if (lwcMap[path]) {
return resolve(lwcMap[path].entry);
}
// If is a CSS just resolve it to an empty file

@@ -67,0 +60,0 @@ if (extname(path) === '.css') {

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