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

@stylable/module-utils

Package Overview
Dependencies
Maintainers
5
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/module-utils - npm Package Compare versions

Comparing version 3.1.1 to 3.1.3

3

cjs/module-source.js

@@ -34,3 +34,3 @@ "use strict";

return generateTypescriptDefinition();
case 'esm':
case 'esm': {
const importKey = renderableOnly ? 'createRenderable' : 'create';

@@ -45,2 +45,3 @@ return generateModuleSource(stylableResult, moduleId, [

].join('\n'), renderableOnly);
}
case 'cjs':

@@ -47,0 +48,0 @@ return generateModuleSource(stylableResult, moduleId, [

{
"name": "@stylable/module-utils",
"version": "3.1.1",
"version": "3.1.3",
"description": "Stylable module creation utilities",

@@ -14,3 +14,3 @@ "main": "cjs/index.js",

"dependencies": {
"@stylable/core": "^3.1.1"
"@stylable/core": "^3.1.3"
},

@@ -30,3 +30,3 @@ "files": [

"license": "BSD-3-Clause",
"gitHead": "f793219f09b3fea83005ecd1848d1c9dfeb15df2"
"gitHead": "ebe8f0a6a6472621e671b3333ed410660325b73a"
}

@@ -14,3 +14,3 @@ import { StylableResults } from '@stylable/core';

afterModule: string,
renderableOnly: boolean = false
renderableOnly = false
): string {

@@ -39,3 +39,3 @@ const { exports, meta } = stylableResult;

stylableResult: StylableResults,
moduleFormat: string = 'cjs',
moduleFormat = 'cjs',
includeCSSInJS: boolean,

@@ -46,3 +46,3 @@ moduleId = JSON.stringify(stylableResult.meta.namespace),

staticRequests: string[] = [],
runtimeRequest: string = '@stylable/runtime',
runtimeRequest = '@stylable/runtime',
afterModule: string[] = []

@@ -61,3 +61,3 @@ ) {

return generateTypescriptDefinition();
case 'esm':
case 'esm': {
const importKey = renderableOnly ? 'createRenderable' : 'create';

@@ -83,2 +83,3 @@ return generateModuleSource(

);
}
case 'cjs':

@@ -85,0 +86,0 @@ return generateModuleSource(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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