benchpressjs
Advanced tools
Comparing version 2.0.4 to 2.0.6
@@ -1,3 +0,3 @@ | ||
/*! benchpressjs by psychobunny, built on 2020-09-13 */ | ||
/*! benchpressjs by psychobunny, built on 2020-10-08 */ | ||
"function"==typeof define&&define.amd&&define("benchpress",function(){var t=function(){"use strict";function t(n){return n==null||Array.isArray(n)&&n.length===0?"":n}function o(n,r){if(!n||typeof n!=="object"){return""}var e="";var t=Object.keys(n);var o=t.length;for(var u=0;u<o;u+=1){var i=t[u];e+=r(i,u,o,n[i])}return e}function u(n,r,e,t){if(typeof r[e]!=="function"){return""}try{var o=r[e].apply(n,t);return o||""}catch(n){return""}}function n(n,r,e){return t(e(n,r,t,o,u)).toString()}if(typeof Promise.try!=="function"){Promise.try={try:function n(r){return new Promise(function(n){return n(r())})}}.try}return n}();"use strict";var o=typeof module==="object"&&module.exports?module.exports:{};o.runtime=t,o.helpers={},o.registerHelper=function n(r,e){o.helpers[r]=e};var e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},r=function n(r){return e[r]},u=/[&<>"'`=]/g;o.registerHelper("__escape",function(n){if(n==null){return""}if(!n){return String(n)}return n.toString().replace(u,r)}),o.cache={},o.globals={},o.setGlobal=function n(r,e){o.globals[r]=e};var i=Object.assign||jQuery.extend;function c(t){return new Promise(function(r,n){var e=o.loader(t,function(n){r(n)});if(e&&e.then){e.then(r,n)}})}function f(n,r,e){r=o.addGlobals(r||{});return Promise.try(function(){o.cache[n]=o.cache[n]||c(n);return o.cache[n]}).then(function(n){if(e){n=n.blocks&&n.blocks[e]}if(!n){return""}return t(o.helpers,r,n)})}function n(n,r,e,t){if(!t&&"object"==typeof r&&"function"==typeof e)t=e,e=r,r=null;if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!n)return void t("");f(n,e,r).then(function(n){return setTimeout(t,0,n)},function(n){return console.error(n)})}return o.addGlobals=function(n){return i({},o.globals,n)},o.flush=function(){o.cache={}},o.render=f,o.parse=function(n,r,e,t){t||"object"!=typeof r||"function"!=typeof e||(t=e,e=r,r=null);if("function"!=typeof t)throw TypeError("Invalid Arguments: callback must be a function");if(!n)return void t("");f(n,e,r).then(function(n){return setTimeout(t,0,n)},function(n){return console.error(n)})},o.registerLoader=function(n){o.loader=n},o}); |
{ | ||
"name": "benchpressjs", | ||
"version": "2.0.4", | ||
"version": "2.0.6", | ||
"author": "psychobunny <psycho.bunny@hotmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "An ultralight and super fast templating framework", |
@@ -5,3 +5,2 @@ { | ||
"description": "BenchpressJS compiler written in Rust for speed", | ||
"main": "lib/index.js", | ||
"repository": { | ||
@@ -14,9 +13,10 @@ "type": "git", | ||
"dependencies": { | ||
"neon-cli": "^0.4.0" | ||
"neon-cli": "^0.4.2" | ||
}, | ||
"scripts": { | ||
"test": "node -p 'require(\"./\").compile(\"{{thing}}\")'", | ||
"install": "neon build --release >> build.log 2>&1 || exit 0", | ||
"test": "node -p 'require(`./`).compile(`{{thing}}`)'", | ||
"build": "neon build --release", | ||
"install": "node scripts/install", | ||
"release": "node scripts/release" | ||
} | ||
} |
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
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
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
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
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
26079157
5
790
89
2885
1