New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

snakeskin

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snakeskin - npm Package Compare versions

Comparing version 2.3.7 to 2.3.8

lib/api.js

15

index.js
#!/usr/bin/env node
global.Snakeskin = require('./snakeskin');
var program = require('./node_modules/commander');
var Program = require('commander');
program
.version('2.3.7')
Program
.version('2.3.8')
.option('-s, --source [src]', 'source file')

@@ -14,7 +14,8 @@ .option('-o, --output [src]', 'output file')

var fs = require('fs');
var file = program.source;
var commonJS = program.commonjs;
var newFile = program.output || (file + '.js');
var file = Program.source;
var commonJS = Program.commonjs;
var newFile = Program.output || (file + '.js');
fs.readFile(file, function (err, data) {
var Jossy = require('jossy');
Jossy.compile(file, null, null, function (err, data) {
if (err) {

@@ -21,0 +22,0 @@ console.log(err);

{
"name": "snakeskin",
"version": "2.3.7",
"version": "2.3.8",
"description": "Snakeskin — компилятор блочных шаблонов c поддержкой наследования.\r Независим от среды исполнения, для работы нужен лишь интерпретатор JavaScript.",

@@ -10,2 +10,3 @@ "main": "snakeskin.js",

"directories": {
"lib": "lib",
"test": "tests"

@@ -21,3 +22,4 @@ },

"dependencies": {
"commander": "~1.2.0"
"commander": "~1.2.0",
"jossy": "~0.0.2"
},

@@ -24,0 +26,0 @@ "keywords": [

@@ -6,3 +6,3 @@ /*!

var Snakeskin = {
VERSION: '2.3.7',
VERSION: '2.3.8',

@@ -9,0 +9,0 @@ Directions: {},

@@ -1,2 +0,2 @@

var Snakeskin={VERSION:"2.3.7",Directions:{},Filters:{},BEM:{},Vars:{},write:{},cache:{}};
var Snakeskin={VERSION:"2.3.8",Directions:{},Filters:{},BEM:{},Vars:{},write:{},cache:{}};
(function(g){function h(a){return k[a]}function l(a){return m[a]}Snakeskin.forEach=function(a,c,e){var b=-1,d;if(Array.isArray(a))for(d=a.length;++b<d;)if(e){if(!1===c.call(e,a[b],b,0===b,b===d-1,d))break}else{if(!1===c(a[b],b,0===b,b===d-1,d))break}else{var b=0,f;for(f in a)a.hasOwnProperty(f)&&b++;d=b;b=-1;for(f in a)if(a.hasOwnProperty(f))if(b++,e){if(!1===c.call(e,a[f],f,b,0===b,b===d-1,d))break}else if(!1===c(a[f],f,b,0===b,b===d-1,d))break}};var k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;",

@@ -3,0 +3,0 @@ "'":"&#39;","/":"&#x2F;"},n=/[&<>"'\/]/g;Snakeskin.Filters.html=function(a){return(a+"").replace(n,h)};Snakeskin.Filters.undef=function(a){return"undefined"!==typeof a?a:""};var m={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#x2F;":"/"},p=/&amp;|&lt;|&gt;|&quot;|&#39;|&#x2F;/g;Snakeskin.Filters.uhtml=function(a){return(a+"").replace(p,l)};var q=/<\/?[^>]+>/g;Snakeskin.Filters.stripTags=function(a){return(a+"").replace(q,"")};var r=/%5B/g,s=/%5D/g;Snakeskin.Filters.uri=function(a){return encodeURI(a+

@@ -1,2 +0,2 @@

var Snakeskin={VERSION:"2.3.7",Directions:{},Filters:{},BEM:{},Vars:{},write:{},cache:{}};
var Snakeskin={VERSION:"2.3.8",Directions:{},Filters:{},BEM:{},Vars:{},write:{},cache:{}};
(function(G){function M(b){return N[b]}function O(b){return P[b]}function n(b,c,a){var d=this.prototype,e;for(e in d)d.hasOwnProperty(e)&&d[e].init&&(this[e]=d[e].init());this.canWrite=!0;this.i=-1;this.openBlockI=0;this.posCache={};this.sysPosCache={};this.quotContent=[];var f=this.cDataContent=[];this.source=String(b).replace(/{cdata}([\s\S]*?){(?:\/cdata|end cdata)}/gm,function(a,b){f.push(b);return"__SNAKESKIN_CDATA__"+(f.length-1)}).trim();this.res=(a?"":"/* This code is generated automatically, don't alter it. */")+

@@ -3,0 +3,0 @@ (c?"var Snakeskin = global.Snakeskin;exports.liveInit = function (path) { Snakeskin = require(path);exec();return this;};function exec() {":"")}Array.isArray||(Array.isArray=function(b){return"[object Array]"===Object.prototype.toString.call(b)});String.prototype.trim||(String.prototype.trim=function(){for(var b=this.replace(/^\s\s*/,""),c=b.length;/\s/.test(b.charAt(--c)););return b.substring(0,c+1)});Snakeskin.forEach=function(b,c,a){var d=-1,e;if(Array.isArray(b))for(e=b.length;++d<e;)if(a){if(!1===

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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