postcss-selector-parser
Advanced tools
Comparing version 4.0.0-rc.0 to 4.0.0-rc.1
@@ -14,3 +14,3 @@ 'use strict'; | ||
var cloneNode = function cloneNode(obj, parent) { | ||
if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object') { | ||
if ((typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object' || obj === null) { | ||
return obj; | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "postcss-selector-parser", | ||
"version": "4.0.0-rc.0", | ||
"version": "4.0.0-rc.1", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "ava": "^0.24.0", |
@@ -175,3 +175,3 @@ // Type definitions for postcss-selector-parser 2.2.3 | ||
*/ | ||
setPropertyAndEscape(name: string, value: any, valueEscaped: string); | ||
setPropertyAndEscape(name: string, value: any, valueEscaped: string): void; | ||
/** | ||
@@ -184,3 +184,3 @@ * When you want a value to passed through to CSS directly. This method | ||
*/ | ||
setPropertyWithoutEscape(name: string, value: any); | ||
setPropertyWithoutEscape(name: string, value: any): void; | ||
/** | ||
@@ -195,3 +195,3 @@ * Some non-standard syntax doesn't follow normal escaping rules for css. | ||
*/ | ||
appendToPropertyAndEscape(name, value, valueEscaped); | ||
appendToPropertyAndEscape(name: string, value: any, valueEscaped: string): void; | ||
toString(): string; | ||
@@ -198,0 +198,0 @@ } |
173903