raptor-css-parser
Advanced tools
Comparing version
@@ -28,10 +28,10 @@ var tokenizerRegExp = /url\(\s*"([^"]*)"\s*\)|url\(\s*'([^']*)'\s*\)|url\(([^\)]*)\)|\/\*|\*\/|\/\/|\n|\r|\\\\|\\"|"/g; | ||
function ParsedLess(originalCode, path) { | ||
function ParsedCSS(originalCode, path) { | ||
this.originalCode = originalCode; | ||
this.path = path; | ||
this.dirname = nodePath.dirname(path); | ||
this.dirname = path ? nodePath.dirname(path) : undefined; | ||
this.parts = []; | ||
} | ||
ParsedLess.prototype = { | ||
ParsedCSS.prototype = { | ||
_addPart: function(type, text, start, end) { | ||
@@ -70,3 +70,3 @@ this.pendingCount++; | ||
function parse(code, path) { | ||
var parsed = new ParsedLess(code, path); | ||
var parsed = new ParsedCSS(code, path); | ||
@@ -73,0 +73,0 @@ var matches; |
{ | ||
"name": "raptor-css-parser", | ||
"description": "Minimalistic CSS parsing functions", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/raptorjs/raptor-css-parser.git" | ||
}, | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib" | ||
}, | ||
"author": "Patrick Steele-Idem <pnidem@gmail.com>", | ||
"maintainers": "Patrick Steele-Idem <pnidem@gmail.com>", | ||
"dependencies": { | ||
"raptor-async": "^1.0.0", | ||
"raptor-promises": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.15.1", | ||
"chai": "~1.8.1", | ||
"jshint": "~2.3.0", | ||
"raptor-logging": "^1.0.1" | ||
}, | ||
"license": "Apache License v2.0", | ||
"bin": {}, | ||
"main": "lib/raptor-css-parser.js", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"version": "1.1.1" | ||
} | ||
"name": "raptor-css-parser", | ||
"description": "Minimalistic CSS parsing functions", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/raptorjs/raptor-css-parser.git" | ||
}, | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha --ui bdd --reporter spec ./test && node_modules/.bin/jshint lib" | ||
}, | ||
"author": "Patrick Steele-Idem <pnidem@gmail.com>", | ||
"maintainers": "Patrick Steele-Idem <pnidem@gmail.com>", | ||
"dependencies": { | ||
"raptor-async": "^1.0.0", | ||
"raptor-promises": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.15.1", | ||
"chai": "~1.8.1", | ||
"jshint": "~2.3.0", | ||
"raptor-logging": "^1.0.1" | ||
}, | ||
"license": "Apache License v2.0", | ||
"bin": {}, | ||
"main": "lib/raptor-css-parser.js", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"version": "1.1.2" | ||
} |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
15857
-0.37%