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

jss-nested

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-nested - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

4

bower.json
{
"name": "jss-nested",
"description": "Nested selectors plugin for jss",
"version": "0.1.7",
"version": "0.1.8",
"author": {

@@ -28,4 +28,4 @@ "name": "Oleg Slobodskoi",

"dependencies": {
"jsstyles": "^1.0.0"
"jsstyles": "^2.1.0"
}
}
{
"name": "jss-nested",
"description": "Nested selectors plugin for jss",
"version": "0.1.7",
"version": "0.1.8",
"author": {

@@ -31,7 +31,7 @@ "name": "Oleg Slobodskoi",

"xpkg": "0.2.0",
"jss": "^1.0.0"
"jss": "^2.1.0"
},
"peerDependencies": {
"jss": "^1.0.0"
"jss": "^2.1.0"
}
}

@@ -24,2 +24,5 @@ ## Nested selectors plugin for JSS

border: '1px solid red'
},
'&:hover': {
background: 'blue'
}

@@ -26,0 +29,0 @@ }

@@ -13,3 +13,3 @@ 'use strict'

test('nesting with space', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -26,3 +26,3 @@ float: 'left',

test('nesting without space', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -39,3 +39,3 @@ float: 'left',

test('multi nesting', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -54,3 +54,3 @@ float: 'left',

test('multi nesting in one selector', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -68,3 +68,3 @@ float: 'left',

test('deep nesting', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -85,3 +85,3 @@ '&b': {

test('addRules', function () {
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -109,3 +109,3 @@ height: '1px'

jss.Rule.uid = 0
var ss = new jss.StyleSheet({
var ss = jss.createStyleSheet({
a: {

@@ -112,0 +112,0 @@ float: 'left',

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