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

@lwc/rollup-plugin

Package Overview
Dependencies
Maintainers
0
Versions
819
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/rollup-plugin - npm Package Compare versions

Comparing version

to
8.15.0

13

dist/index.cjs.js

@@ -28,2 +28,7 @@ /**

const SCRIPT_FILE_EXTENSIONS = ['.js', '.mjs', '.jsx', '.ts', '.mts', '.tsx'];
const DEFAULT_MODULES = [
{ npm: '@lwc/engine-dom' },
{ npm: '@lwc/synthetic-shadow' },
{ npm: '@lwc/wire-service' },
];
function isImplicitHTMLImport(importee, importer, importerExt) {

@@ -100,7 +105,7 @@ return (SCRIPT_FILE_EXTENSIONS.includes(importerExt) &&

// TODO [#3370]: remove experimental template expression flag
experimentalComplexExpressions, disableSyntheticShadowSupport, apiVersion, } = pluginOptions;
experimentalComplexExpressions, disableSyntheticShadowSupport, apiVersion, defaultModules = DEFAULT_MODULES, } = pluginOptions;
return {
name: PLUGIN_NAME,
// The version from the package.json is inlined by the build script
version: "8.14.0",
version: "8.15.0",
buildStart({ input }) {

@@ -122,3 +127,3 @@ if (rootDir === undefined) {

}
modules = [...modules, { dir: rootDir }];
modules = [...modules, ...defaultModules, { dir: rootDir }];
},

@@ -266,3 +271,3 @@ resolveId(importee, importer) {

exports.default = lwc;
/** version: 8.14.0 */
/** version: 8.15.0 */
//# sourceMappingURL=index.cjs.js.map

@@ -21,2 +21,7 @@ import type { Plugin } from 'rollup';

modules?: ModuleRecord[];
/**
* Default modules passed to the `@lwc/module-resolver`.
* If unspecified, defaults to `["@lwc/engine-dom", "@lwc/synthetic-shadow", "@lwc/wire-service"]`.
*/
defaultModules?: ModuleRecord[];
/** The stylesheet compiler configuration to pass to the `@lwc/style-compiler` */

@@ -23,0 +28,0 @@ stylesheetConfig?: StylesheetConfig;

@@ -24,2 +24,7 @@ /**

const SCRIPT_FILE_EXTENSIONS = ['.js', '.mjs', '.jsx', '.ts', '.mts', '.tsx'];
const DEFAULT_MODULES = [
{ npm: '@lwc/engine-dom' },
{ npm: '@lwc/synthetic-shadow' },
{ npm: '@lwc/wire-service' },
];
function isImplicitHTMLImport(importee, importer, importerExt) {

@@ -96,7 +101,7 @@ return (SCRIPT_FILE_EXTENSIONS.includes(importerExt) &&

// TODO [#3370]: remove experimental template expression flag
experimentalComplexExpressions, disableSyntheticShadowSupport, apiVersion, } = pluginOptions;
experimentalComplexExpressions, disableSyntheticShadowSupport, apiVersion, defaultModules = DEFAULT_MODULES, } = pluginOptions;
return {
name: PLUGIN_NAME,
// The version from the package.json is inlined by the build script
version: "8.14.0",
version: "8.15.0",
buildStart({ input }) {

@@ -118,3 +123,3 @@ if (rootDir === undefined) {

}
modules = [...modules, { dir: rootDir }];
modules = [...modules, ...defaultModules, { dir: rootDir }];
},

@@ -262,3 +267,3 @@ resolveId(importee, importer) {

export { lwc as default };
/** version: 8.14.0 */
/** version: 8.15.0 */
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ {

"name": "@lwc/rollup-plugin",
"version": "8.14.0",
"version": "8.15.0",
"description": "Rollup plugin to compile LWC",

@@ -50,9 +50,9 @@ "keywords": [

"dependencies": {
"@lwc/compiler": "8.14.0",
"@lwc/module-resolver": "8.14.0",
"@lwc/shared": "8.14.0",
"@lwc/compiler": "8.15.0",
"@lwc/module-resolver": "8.15.0",
"@lwc/shared": "8.15.0",
"@rollup/pluginutils": "~5.1.4"
},
"devDependencies": {
"@lwc/errors": "8.14.0"
"@lwc/errors": "8.15.0"
},

@@ -59,0 +59,0 @@ "peerDependencies": {