remixml-dom
Advanced tools
Comparing version 4.0.3 to 4.0.4
{ | ||
"name": "remixml-dom", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Remixml component that renders to DOM in browsers", | ||
@@ -5,0 +5,0 @@ "main": "remixml-dom.min.js", |
@@ -71,9 +71,19 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
function /** !Object */ factory(/** !Object */ rxml) | ||
{ O.assign(rxml, g); | ||
return g; | ||
} | ||
const /** string */ rxs = "remixml"; | ||
if (typeof define == "function" && define["amd"]) | ||
define("remixml-dom", g); | ||
define("remixml-dom", [rxs], factory); | ||
else if (typeof exports == "object") | ||
O.assign(/** @type{!Object} */(exports), g); | ||
else | ||
window["RemixmlDOM"] = g; | ||
O.assign(/** @type{!Object} */(exports), | ||
factory(require(rxs))); | ||
else { | ||
var W = window; | ||
W["RemixmlDOM"] = factory(W["Remixml"]); | ||
} | ||
}).call(this); |
@@ -78,8 +78,18 @@ /** @license Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
function /** !Object */ factory(/** !Object */ rxml) | ||
{ O.assign(rxml, g); | ||
return g; | ||
} | ||
const /** string */ rxs = "remixml"; | ||
if (typeof define == "function" && define["amd"]) | ||
define("remixml-dom", g); | ||
define("remixml-dom", [rxs], factory); | ||
else if (typeof exports == "object") | ||
O.assign(/** @type{!Object} */(exports), g); | ||
else | ||
window["RemixmlDOM"] = g; | ||
O.assign(/** @type{!Object} */(exports), | ||
factory(require(rxs))); | ||
else { | ||
var W = window; | ||
W["RemixmlDOM"] = factory(W["Remixml"]); | ||
} | ||
@@ -86,0 +96,0 @@ // Cut BEGIN delete |
(function(){"use strict"; | ||
/* | ||
Copyright (c) 2018-2021 by Stephen R. van den Berg <srb@cuci.nl> */ | ||
function m(f){var d=0;return function(){return d<f.length?{done:!1,value:f[d++]}:{done:!0}}} | ||
(function(){function f(b){var a=b[""];switch(a){case "!":return g.createComment(b[0]);case 1:var e=g.createDocumentFragment();break;default:e=g.createElement(a);var c=d.keys(b).splice(b.length);c=(a="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator])?a.call(c):{next:m(c)};for(a=c.next();!a.done;a=c.next())switch(a=a.value,a[0]){default:var h=b[a];null!=h&&"object"!==typeof h&&e.setAttribute(a,h);case "_":case void 0:}}for(a=0;void 0!==(c=b[a++]);)e.appendChild(c[""]?f(c):0>c.indexOf("&")? | ||
g.createTextNode(c):(l.innerHTML=c,l.firstChild));return e}var d=Object,g=document,k={abstract2dom:function(b,a){b=f(b);a&&(a.appendChild(b),b=a);return b}};d.assign||d.defineProperty(d,"assign",{value:function(b,a,e){if(a)for(e in a)b[e]=a[e];return b}});var l=g.createElement("textarea");"function"==typeof define&&define.amd?define("remixml-dom",k):"object"==typeof exports?d.assign(exports,k):window.RemixmlDOM=k}).call(this); | ||
function p(g){var e=0;return function(){return e<g.length?{done:!1,value:g[e++]}:{done:!0}}} | ||
(function(){function g(b){var a=b[""];switch(a){case "!":return h.createComment(b[0]);case 1:var d=h.createDocumentFragment();break;default:d=h.createElement(a);var c=f.keys(b).splice(b.length);c=(a="undefined"!=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator])?a.call(c):{next:p(c)};for(a=c.next();!a.done;a=c.next())switch(a=a.value,a[0]){default:var k=b[a];null!=k&&"object"!==typeof k&&d.setAttribute(a,k);case "_":case void 0:}}for(a=0;void 0!==(c=b[a++]);)d.appendChild(c[""]?g(c):0>c.indexOf("&")? | ||
h.createTextNode(c):(l.innerHTML=c,l.firstChild));return d}function e(b){f.assign(b,m);return m}var f=Object,h=document,m={abstract2dom:function(b,a){b=g(b);a&&(a.appendChild(b),b=a);return b}};f.assign||f.defineProperty(f,"assign",{value:function(b,a,d){if(a)for(d in a)b[d]=a[d];return b}});var l=h.createElement("textarea");if("function"==typeof define&&define.amd)define("remixml-dom",["remixml"],e);else if("object"==typeof exports)f.assign(exports,e(require("remixml")));else{var n=window;n.RemixmlDOM= | ||
e(n.Remixml)}}).call(this); | ||
}).call(this); |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
20168
168
2
2