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

@stylable/module-utils

Package Overview
Dependencies
Maintainers
6
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 5.14.0 to 5.15.0

2

dist/index.d.ts

@@ -6,3 +6,3 @@ /**@deprecated */

export { generateDTSSourceMap } from './generate-dts-sourcemaps';
export { generateStylableJSModuleSource } from './stylable-js-module-source';
export { generateStylableJSModuleSource } from '@stylable/core';
//# sourceMappingURL=index.d.ts.map

@@ -14,4 +14,5 @@ "use strict";

Object.defineProperty(exports, "generateDTSSourceMap", { enumerable: true, get: function () { return generate_dts_sourcemaps_1.generateDTSSourceMap; } });
var stylable_js_module_source_1 = require("./stylable-js-module-source");
Object.defineProperty(exports, "generateStylableJSModuleSource", { enumerable: true, get: function () { return stylable_js_module_source_1.generateStylableJSModuleSource; } });
// ToDo(major): moved to core
var core_1 = require("@stylable/core");
Object.defineProperty(exports, "generateStylableJSModuleSource", { enumerable: true, get: function () { return core_1.generateStylableJSModuleSource; } });
//# sourceMappingURL=index.js.map

@@ -5,3 +5,2 @@ "use strict";

const core_1 = require("@stylable/core");
const stylable_js_module_source_1 = require("./stylable-js-module-source");
function stylableModuleFactory(stylableOptions, { runtimePath, runtimeStylesheetId = 'module', injectCSS = true, staticImports = [], moduleType = 'cjs', runtimeId = '0', } = {}) {

@@ -11,3 +10,3 @@ const stylable = new core_1.Stylable(stylableOptions);

const { meta, exports } = stylable.transform(stylable.analyze(path, source));
return (0, stylable_js_module_source_1.generateStylableJSModuleSource)({
return (0, core_1.generateStylableJSModuleSource)({
moduleType: moduleType,

@@ -14,0 +13,0 @@ imports: staticImports.map((from) => ({ from })),

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

@@ -10,3 +10,3 @@ "main": "dist/index.js",

"dependencies": {
"@stylable/core": "^5.14.0",
"@stylable/core": "^5.15.0",
"@tokey/core": "^1.4.0",

@@ -13,0 +13,0 @@ "vlq": "^2.0.4"

@@ -15,3 +15,5 @@ # @stylable/module-utils

> This function moved to `@stylable/core` and will be removed in the next major version.
## License
Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by an [MIT license](./LICENSE).

@@ -7,2 +7,3 @@ /**@deprecated */

export { generateDTSSourceMap } from './generate-dts-sourcemaps';
export { generateStylableJSModuleSource } from './stylable-js-module-source';
// ToDo(major): moved to core
export { generateStylableJSModuleSource } from '@stylable/core';

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

import { Stylable, StylableConfig } from '@stylable/core';
import { generateStylableJSModuleSource } from './stylable-js-module-source';
import { Stylable, StylableConfig, generateStylableJSModuleSource } from '@stylable/core';

@@ -4,0 +3,0 @@ export interface Options {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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