Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pimscript

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pimscript - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

15

lib/pimscript.js

@@ -155,3 +155,3 @@ // Generated by CoffeeScript 1.3.3

walk = function(ast) {
var a, ast2, base, condition, funcName, i, operation, params, property, seq, seqs, stats, unrollSeqs, value, variable, _j, _k, _l, _len1, _len2, _len3, _len4, _len5, _len6, _len7, _m, _n, _o, _p, _q, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
var a, ast2, base, condition, funcName, i, operation, params, property, seq, seqs, stats, tmp, unrollSeqs, value, variable, _j, _k, _l, _len1, _len2, _len3, _len4, _len5, _len6, _m, _n, _o, _p, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
if (Array.isArray(ast) && ast.length > 0) {

@@ -294,7 +294,4 @@ type = ast[0];

} else if (type === 'function') {
_ref7 = ast[3];
for (i = _p = 0, _len6 = _ref7.length; _p < _len6; i = ++_p) {
ast2 = _ref7[i];
ast[3][i] = walk(ast2);
}
tmp = walk(['block', ast[3]]);
ast[3] = tmp[1];
} else if (type === 'stat') {

@@ -317,5 +314,5 @@ ast[1] = walk(ast[1]);

} else if (type === 'object') {
_ref8 = ast[1];
for (i = _q = 0, _len7 = _ref8.length; _q < _len7; i = ++_q) {
ast2 = _ref8[i];
_ref7 = ast[1];
for (i = _p = 0, _len6 = _ref7.length; _p < _len6; i = ++_p) {
ast2 = _ref7[i];
ast[1][i][1] = walk(ast[1][i][1]);

@@ -322,0 +319,0 @@ }

2

package.json
{ "name": "pimscript",
"version": "0.1.1",
"version": "0.1.2",
"description": "Converts JavaScript to be more likely to be compatible with ADsafe",

@@ -4,0 +4,0 @@ "keywords": ["Pim","javascript","ADsafe","FBJS"],

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