scss-tokenizer
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -69,4 +69,6 @@ 'use strict'; | ||
value: function decodeInline(text) { | ||
var utfd64 = 'data:application/json;charset=utf-8;base64,'; | ||
var utf64 = 'data:application/json;charset=utf8;base64,'; | ||
var b64 = 'data:application/json;base64,'; | ||
var uri = 'data:application/json,'; | ||
var base64 = 'data:application/json;base64,'; | ||
@@ -77,2 +79,6 @@ if (this.startWith(text, uri)) { | ||
return _jsBase.Base64.decode(text.substr(base64.length)); | ||
} else if (this.startWith(text, utf64)) { | ||
return _jsBase.Base64.decode(text.substr(utf64.length)); | ||
} else if (this.startWith(text, utfd64)) { | ||
return _jsBase.Base64.decode(text.substr(utfd64.length)); | ||
} else { | ||
@@ -79,0 +85,0 @@ var encoding = text.match(/data:application\/json;([^,]+),/)[1]; |
{ | ||
"name": "scss-tokenizer", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A tokenzier for Sass' SCSS syntax", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40426
876