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

@teleporthq/teleport-plugin-css

Package Overview
Dependencies
Maintainers
4
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleporthq/teleport-plugin-css - npm Package Compare versions

Comparing version

to
0.27.8

10

__tests__/style-sheet.ts

@@ -43,11 +43,2 @@ import {

},
someClassId: {
type: 'reusable-project-style-map',
content: {
background: staticNode('red'),
color: staticNode('blue'),
},
className: 'secondaryButton',
subselectors: ' h1',
},
conditionalButton: {

@@ -105,3 +96,2 @@ type: 'reusable-project-style-map',

expect(content).toContain('.conditionalButton:hover')
expect(content).toContain('.secondaryButton h1')
expect(content).toContain('@media(max-width: 991px)')

@@ -108,0 +98,0 @@ expect(content).not.toContain('5ecfa1233b8e50f60ea2b64b')

2

dist/cjs/index.js

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -54,0 +54,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

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

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -20,0 +20,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

@@ -27,3 +27,3 @@ var __assign = (this && this.__assign) || function () {

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -30,0 +30,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

@@ -16,3 +16,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;

@@ -19,0 +19,0 @@ if (y = 0, t) op = [op[0] & 2, t.value];

{
"name": "@teleporthq/teleport-plugin-css",
"version": "0.27.6-alpha.0",
"version": "0.27.8",
"description": "A plugin for creating the styles into external css files",

@@ -28,7 +28,7 @@ "author": "teleportHQ",

"@babel/types": "^7.5.5",
"@teleporthq/teleport-plugin-common": "^0.27.6-alpha.0",
"@teleporthq/teleport-shared": "^0.27.6-alpha.0",
"@teleporthq/teleport-types": "^0.27.6-alpha.0"
"@teleporthq/teleport-plugin-common": "^0.27.8",
"@teleporthq/teleport-shared": "^0.27.8",
"@teleporthq/teleport-types": "^0.27.8"
},
"gitHead": "6c93c42321beedc5de5cedc424a5cbb184c2d55b"
"gitHead": "3ae7c0728720e2b5b1663c57e08283ede422c227"
}

@@ -142,3 +142,3 @@ import { StringUtils, UIDLUtils } from '@teleporthq/teleport-shared'

if (Object.keys(dynamicStyles).length > 0) {
/* If dynamic styles are on nested-styles they are unfortunately lost,
/* If dynamic styles are on nested-styles they are unfortunately lost,
since inline style does not support that */

@@ -210,3 +210,3 @@ if (templateStyle === 'html') {

if (defaultPropValue) {
/* Changing the default value of the prop.
/* Changing the default value of the prop.
When forceScoping is enabled the classnames change. So, we need to change the default prop too. */

@@ -213,0 +213,0 @@ propDefinitions[styleRef.content.content.content.id].defaultValue = getClassName(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet