snakeskin
Advanced tools
Comparing version 6.0.0 to 6.0.1
{ | ||
"name": "Snakeskin", | ||
"main": "build/snakeskin.min.js", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"homepage": "https://github.com/kobezzza/Snakeskin", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
/*! | ||
* Snakeskin v6.0.0 (live) | ||
* Snakeskin v6.0.1 (live) | ||
* https://github.com/kobezzza/Snakeskin | ||
@@ -8,3 +8,3 @@ * | ||
* | ||
* Date: Fri, 10 Oct 2014 09:54:16 GMT | ||
* Date: Fri, 10 Oct 2014 11:34:00 GMT | ||
*/ | ||
@@ -37,3 +37,3 @@ | ||
*/ | ||
VERSION: [6, 0, 0], | ||
VERSION: [6, 0, 1], | ||
@@ -40,0 +40,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
/*! Snakeskin v6.0.0 (live) | https://github.com/kobezzza/Snakeskin/blob/master/LICENSE */Array.isArray=Array.isArray||function(k){return"[object Array]"==={}.toString.call(k)};String.prototype.trim=String.prototype.trim||function(){for(var k=this.replace(/^\s\s*/,""),l=k.length,m=/\s/;m.test(k.charAt(--l)););return k.substring(0,l+1)};var e={VERSION:[6,0,0],a:{},Filters:{},Vars:{},LocalVars:{},cache:{}}; | ||
/*! Snakeskin v6.0.1 (live) | https://github.com/kobezzza/Snakeskin/blob/master/LICENSE */Array.isArray=Array.isArray||function(k){return"[object Array]"==={}.toString.call(k)};String.prototype.trim=String.prototype.trim||function(){for(var k=this.replace(/^\s\s*/,""),l=k.length,m=/\s/;m.test(k.charAt(--l)););return k.substring(0,l+1)};var e={VERSION:[6,0,1],a:{},Filters:{},Vars:{},LocalVars:{},cache:{}}; | ||
(function(){function k(a){return m[a]}var l="undefined"===typeof window&&"undefined"!==typeof exports;e.importFilters=function(a,f){var c=e.Filters;if(f)for(var d=f.split("."),g=-1;++g<d.length;)c[d[g]]||(c[d[g]]={}),c=c[d[g]];for(var h in a)a.hasOwnProperty(h)&&(c[h]=a[h])};var m={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},p=/[&<>"'\/]/g,q=/([$\w]\s*=\s*)([^"'\s>=]+)/g,r=/(javascript)(:|;)/;e.Filters.html=function(a,f){var c=a+"";f&&(c=c.replace(q,'$1"$2"'));c=c.replace(p, | ||
@@ -3,0 +3,0 @@ k);f&&(c=c.replace(r,"$1$2"));return c};e.Filters.undef=function(a){return void 0!==a?a:""};(function(){function a(b){return f[b]}var f={"&":"&","<":"<",">":">",""":'"',"'":"'","/":"/"},c=/&|<|>|"|'|//g;e.Filters.uhtml=function(b){return(b+"").replace(c,a)};var d=/<\/?[^>]+>/g;e.Filters.stripTags=function(b){return(b+"").replace(d,"")};var g=/%5B/g,h=/%5D/g;e.Filters.uri=function(b){return encodeURI(b+"").replace(g,"[").replace(h,"]")};e.Filters.upper= |
@@ -0,1 +1,5 @@ | ||
## v6.0.1 | ||
- [x] Различные исправления ошибок. | ||
## v6.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -53,3 +53,4 @@ /*! | ||
res += genEndDir(struct, ws, struct.space, nl) + | ||
(rightSpace ? (("" + (struct.adv)) + ("" + lb) + ("__&-__" + rb) + "") : '') + rightSpace; | ||
(rightSpace && ws ? (("" + (struct.adv)) + ("" + lb) + ("__&-__" + rb) + "") : '') + | ||
rightSpace; | ||
} | ||
@@ -79,3 +80,3 @@ | ||
if (clrL) { | ||
if (clrL === 1) { | ||
if (clrL === 1 && ws) { | ||
res += (("" + alb) + ("" + lb) + ("__&-__" + rb) + ""); | ||
@@ -230,3 +231,3 @@ } | ||
res += space + | ||
(endDirInit && obj.text ? (("" + adv) + ("" + lb) + ("__&-__" + rb) + "") : '') + | ||
(ws && endDirInit && obj.text ? (("" + adv) + ("" + lb) + ("__&-__" + rb) + "") : '') + | ||
s + (dir ? parts[0] : decl.command).replace(nonBlockCommentRgxp, '$1/*$2$3$2*/') + e; | ||
@@ -284,13 +285,14 @@ | ||
function genEndDir(dir, ws, space, nl) { | ||
var s = dir.adv + lb; | ||
var s = dir.adv + lb, | ||
tmp; | ||
if (ws) { | ||
space = (("" + (endDirInit ? '' : (("" + s) + ("__&+__" + rb) + ""))) + ("" + nl) + ("" + ((space || '').substring(1))) + ""); | ||
tmp = (("" + (endDirInit ? '' : (("" + s) + ("__&+__" + rb) + ""))) + ("" + nl) + ""); | ||
} else { | ||
space = nl; | ||
tmp = nl + (space || '').substring(1); | ||
} | ||
endDirInit = true; | ||
return (("" + space) + ("" + s) + ("__end__" + rb) + ("" + s) + ("__cutLine__" + rb) + ""); | ||
return (("" + tmp) + ("" + s) + ("__end__" + rb) + ("" + s) + ("__cutLine__" + rb) + ""); | ||
} | ||
@@ -297,0 +299,0 @@ |
@@ -11,3 +11,3 @@ //#include ./es5shim.live.js | ||
*/ | ||
VERSION: [6, 0, 0], | ||
VERSION: [6, 0, 1], | ||
@@ -14,0 +14,0 @@ /** |
{ | ||
"name": "snakeskin", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "snakeskin.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -1,3 +0,3 @@ | ||
/* Snakeskin v6.0.0, key <commonJS,false, | ||
,xml,false,false,,stringConcat,true,true,true,,false,true,i18n>, label <1412075169909>, includes <>, generated at <1412934908263>. | ||
/* Snakeskin v6.0.1, key <commonJS,false, | ||
,xml,false,false,,stringConcat,true,true,true,,false,true,i18n>, label <1412075169909>, includes <>, generated at <1412941273161>. | ||
This code is generated automatically, don't alter it. */ | ||
@@ -25,3 +25,3 @@ (function() { | ||
__STR__, __TMP__, __J__; | ||
var $_ = __LOCAL__['$_b53ea']; /* Snakeskin template: test; asserts */ | ||
var $_ = __LOCAL__['$_6deff']; /* Snakeskin template: test; asserts */ | ||
this.test = function(asserts) { | ||
@@ -28,0 +28,0 @@ var __THIS__ = this, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
25266
1286828