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.4-alpha.0

10

__tests__/style-sheet.ts

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

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

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

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

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

10

package.json
{
"name": "@teleporthq/teleport-plugin-css",
"version": "0.27.3",
"version": "0.27.4-alpha.0",
"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.3",
"@teleporthq/teleport-shared": "^0.27.3",
"@teleporthq/teleport-types": "^0.27.3"
"@teleporthq/teleport-plugin-common": "^0.27.4-alpha.0",
"@teleporthq/teleport-shared": "^0.27.4-alpha.0",
"@teleporthq/teleport-types": "^0.27.4-alpha.0"
},
"gitHead": "14f69b861cb0838d502a5ba226bb7cb5c1291fbb"
"gitHead": "182513645c9074b0739b30e28a0a45d04805e72d"
}

@@ -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