Socket
Socket
Sign inDemoInstall

stylable

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylable - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

dist/src/stylable-component/create-styleable-stylesheet.js

@@ -51,4 +51,4 @@ "use strict";

__extends(StylableStylesheet, _super);
function StylableStylesheet(styleDef) {
var _this = _super.call(this, styleDef) || this;
function StylableStylesheet(styleDef, namespace) {
var _this = _super.call(this, styleDef, namespace) || this;
_this.styleDef = styleDef;

@@ -55,0 +55,0 @@ _this.namespace = _this.namespace || ('s' + (StylableContext.globalSheetCounter++));

{
"name": "stylable",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -41,4 +41,4 @@ import { Stylesheet, Generator, Resolver, Config } from '../index';

}
constructor(public styleDef: any) {
super(styleDef);
constructor(public styleDef: any, namespace: string) {
super(styleDef, namespace);
this.namespace = this.namespace || ('s' + (StylableContext.globalSheetCounter++));

@@ -45,0 +45,0 @@ StylableStylesheet.context.add(this);

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