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

@pluginjs/template

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluginjs/template - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

4

dist/template.common.js
/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -5,0 +5,0 @@ */

/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.
*/
"use strict";var r=require("@pluginjs/utils"),e=/\{\s*([.0-9a-zA-Z_]+)\s*\}/g;function t(t){for(var n=arguments.length,l=new Array(n>1?n-1:0),a=1;a<n;a++)l[a-1]=arguments[a];return 1===l.length&&"object"==typeof l[0]&&(l=l[0]),l&&l.hasOwnProperty||(l={}),t.replace(e,((e,n,a)=>{var u=null;return"{"===t[a-1]&&"}"===t[a+e.length]?n:(Object.prototype.hasOwnProperty.call(l,n)?u=l[n]:-1!==n.indexOf(".")&&(u=r.getValueByPath(l,n)),null==u?"":u)}))}var n={render:t,compile:r=>function(){for(var e=arguments.length,n=new Array(e),l=0;l<e;l++)n[l]=arguments[l];return t(r,...n)},parse(r){var t=r.match(e);if(null===t)return!1;for(var n=[],l=0;l<t.length;l++)t[l].match(/^\{\{.+\}\}$/g)||n.push(t[l].substring(1,t[l].length-1).trim());return n}};module.exports=n;
/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -79,2 +79,2 @@ */

export default main;
export { main as default };
/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.
*/
import{getValueByPath as r}from"@pluginjs/utils";var e=/\{\s*([.0-9a-zA-Z_]+)\s*\}/g;function t(t){for(var n=arguments.length,l=new Array(n>1?n-1:0),a=1;a<n;a++)l[a-1]=arguments[a];return 1===l.length&&"object"==typeof l[0]&&(l=l[0]),l&&l.hasOwnProperty||(l={}),t.replace(e,((e,n,a)=>{var o=null;return"{"===t[a-1]&&"}"===t[a+e.length]?n:(Object.prototype.hasOwnProperty.call(l,n)?o=l[n]:-1!==n.indexOf(".")&&(o=r(l,n)),null==o?"":o)}))}var n={render:t,compile:r=>function(){for(var e=arguments.length,n=new Array(e),l=0;l<e;l++)n[l]=arguments[l];return t(r,...n)},parse(r){var t=r.match(e);if(null===t)return!1;for(var n=[],l=0;l<t.length;l++)t[l].match(/^\{\{.+\}\}$/g)||n.push(t[l].substring(1,t[l].length-1).trim());return n}};export default n;
import{getValueByPath as r}from"@pluginjs/utils";var e=/\{\s*([.0-9a-zA-Z_]+)\s*\}/g;function t(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];return 1===a.length&&"object"==typeof a[0]&&(a=a[0]),a&&a.hasOwnProperty||(a={}),t.replace(e,((e,n,l)=>{var o=null;return"{"===t[l-1]&&"}"===t[l+e.length]?n:(Object.prototype.hasOwnProperty.call(a,n)?o=a[n]:-1!==n.indexOf(".")&&(o=r(a,n)),null==o?"":o)}))}var n={render:t,compile:r=>function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t(r,...n)},parse(r){var t=r.match(e);if(null===t)return!1;for(var n=[],a=0;a<t.length;a++)t[a].match(/^\{\{.+\}\}$/g)||n.push(t[a].substring(1,t[a].length-1).trim());return n}};export{n as default};
/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -9,4 +9,4 @@ */

typeof define === 'function' && define.amd ? define(['@pluginjs/utils'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['@pluginjs/template'] = factory(global['@pluginjs/utils']));
}(this, (function (utils) { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["@pluginjs/template"] = factory(global["@pluginjs/utils"]));
})(this, (function (utils) { 'use strict';

@@ -16,13 +16,7 @@ function _typeof(obj) {

if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
_typeof = function (obj) {
return typeof obj;
};
} else {
_typeof = function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
}, _typeof(obj);
}

@@ -100,2 +94,2 @@

})));
}));
/*!
* @pluginjs/template v0.8.8 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* @pluginjs/template v0.8.9 (https://pluginjs.com)
* Copyright 2022 Creation Studio Limited
* Released under the GPL-3.0 License.
*/
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("@pluginjs/utils")):"function"==typeof define&&define.amd?define(["@pluginjs/utils"],n):(t="undefined"!=typeof globalThis?globalThis:t||self)["@pluginjs/template"]=n(t["@pluginjs/utils"])}(this,(function(t){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var e=/\{\s*([.0-9a-zA-Z_]+)\s*\}/g;function r(r){for(var o=arguments.length,u=new Array(o>1?o-1:0),l=1;l<o;l++)u[l-1]=arguments[l];return 1===u.length&&"object"===n(u[0])&&(u=u[0]),u&&u.hasOwnProperty||(u={}),r.replace(e,(function(n,e,o){var l=null;return"{"===r[o-1]&&"}"===r[o+n.length]?e:(Object.prototype.hasOwnProperty.call(u,e)?l=u[e]:-1!==e.indexOf(".")&&(l=t.getValueByPath(u,e)),null==l?"":l)}))}return{render:r,compile:function(t){return function(){for(var n=arguments.length,e=new Array(n),o=0;o<n;o++)e[o]=arguments[o];return r.apply(void 0,[t].concat(e))}},parse:function(t){var n=t.match(e);if(null===n)return!1;for(var r=[],o=0;o<n.length;o++)n[o].match(/^\{\{.+\}\}$/g)||r.push(n[o].substring(1,n[o].length-1).trim());return r}}}));
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("@pluginjs/utils")):"function"==typeof define&&define.amd?define(["@pluginjs/utils"],n):(t="undefined"!=typeof globalThis?globalThis:t||self)["@pluginjs/template"]=n(t["@pluginjs/utils"])}(this,(function(t){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var e=/\{\s*([.0-9a-zA-Z_]+)\s*\}/g;function r(r){for(var o=arguments.length,u=new Array(o>1?o-1:0),l=1;l<o;l++)u[l-1]=arguments[l];return 1===u.length&&"object"===n(u[0])&&(u=u[0]),u&&u.hasOwnProperty||(u={}),r.replace(e,(function(n,e,o){var l=null;return"{"===r[o-1]&&"}"===r[o+n.length]?e:(Object.prototype.hasOwnProperty.call(u,e)?l=u[e]:-1!==e.indexOf(".")&&(l=t.getValueByPath(u,e)),null==l?"":l)}))}var o={render:r,compile:function(t){return function(){for(var n=arguments.length,e=new Array(n),o=0;o<n;o++)e[o]=arguments[o];return r.apply(void 0,[t].concat(e))}},parse:function(t){var n=t.match(e);if(null===n)return!1;for(var r=[],o=0;o<n.length;o++)n[o].match(/^\{\{.+\}\}$/g)||r.push(n[o].substring(1,n[o].length-1).trim());return r}};return o}));

@@ -14,3 +14,3 @@ {

},
"version": "0.8.8",
"version": "0.8.9",
"category": "core",

@@ -37,17 +37,17 @@ "main": "dist/template.common.js",

"dependencies": {
"@pluginjs/utils": "^0.8.8"
"@pluginjs/utils": "^0.8.9"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@pluginjs/browserslist-config": "^1.3.2",
"@pluginjs/cli": "^0.8.4",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"babel-jest": "*",
"jest": "*",
"jest-extended": "*",
"@babel/core": "^7.16.7",
"@pluginjs/browserslist-config": "^1.3.3",
"@pluginjs/cli": "^0.8.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"babel-jest": "^27.4.6",
"jest": "^27.4.7",
"jest-extended": "^1.2.0",
"rename": "^1.0.4",
"rollup": "^2.38.1",
"rollup-plugin-babel": "*",
"rollup-plugin-terser": "*"
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2"
},

@@ -54,0 +54,0 @@ "engines": {

@@ -101,2 +101,2 @@ # Template

Copyright (C) 2018 [Creation Studio Limited](creationstudio.com).
Copyright (C) 2022 [Creation Studio Limited](creationstudio.com).
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