@stimulus_reflex/polyfills
Advanced tools
@@ -1,2 +0,2 @@ | ||
| require("@stimulus/polyfills"),require("core-js/es/array/for-each"),require("core-js/es/array/includes"),require("core-js/es/string/starts-with"),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}}(); | ||
| require("@stimulus/polyfills"),require("core-js/es/array/for-each"),require("core-js/es/array/includes"),require("core-js/es/string/starts-with"),require("formdata-polyfill"),require("@webcomponents/template"),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}}(); | ||
| //# sourceMappingURL=polyfills.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"polyfills.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"kJAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} | ||
| {"version":3,"file":"polyfills.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"kNAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} |
@@ -1,2 +0,2 @@ | ||
| import"@stimulus/polyfills";import"core-js/es/array/for-each";import"core-js/es/array/includes";import"core-js/es/string/starts-with";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),o}}(); | ||
| import"@stimulus/polyfills";import"core-js/es/array/for-each";import"core-js/es/array/includes";import"core-js/es/string/starts-with";import"formdata-polyfill";import"@webcomponents/template";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,o){o=o||{bubbles:!1,cancelable:!1,detail:null};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,o.bubbles,o.cancelable,o.detail),e}}(); | ||
| //# sourceMappingURL=polyfills.modern.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"polyfills.modern.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"sIAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} | ||
| {"version":3,"file":"polyfills.modern.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"gMAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} |
@@ -1,2 +0,2 @@ | ||
| import"@stimulus/polyfills";import"core-js/es/array/for-each";import"core-js/es/array/includes";import"core-js/es/string/starts-with";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),o}}(); | ||
| import"@stimulus/polyfills";import"core-js/es/array/for-each";import"core-js/es/array/includes";import"core-js/es/string/starts-with";import"formdata-polyfill";import"@webcomponents/template";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(t,o){o=o||{bubbles:!1,cancelable:!1,detail:null};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,o.bubbles,o.cancelable,o.detail),e}}(); | ||
| //# sourceMappingURL=polyfills.module.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"polyfills.module.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"sIAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} | ||
| {"version":3,"file":"polyfills.module.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"gMAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} |
@@ -1,2 +0,2 @@ | ||
| !function(e){"function"==typeof define&&define.amd?define(["@stimulus/polyfills","core-js/es/array/for-each","core-js/es/array/includes","core-js/es/string/starts-with"],e):e()}(function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o}}()}); | ||
| !function(e){"function"==typeof define&&define.amd?define(["@stimulus/polyfills","core-js/es/array/for-each","core-js/es/array/includes","core-js/es/string/starts-with","formdata-polyfill","@webcomponents/template"],e):e()}(function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o}}()}); | ||
| //# sourceMappingURL=polyfills.umd.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"polyfills.umd.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"6LAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} | ||
| {"version":3,"file":"polyfills.umd.js","sources":["../polyfills/node-list/for-each.js","../polyfills/custom-event/custom-event.js"],"sourcesContent":["// https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill\n\n(function () {\n if (window.NodeList && !NodeList.prototype.forEach) {\n NodeList.prototype.forEach = Array.prototype.forEach;\n }\n})();\n","// https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill\n\n(function () {\n if ( typeof window.CustomEvent === \"function\" ) return false;\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: null };\n var evt = document.createEvent( 'CustomEvent' );\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n return evt;\n }\n\n window.CustomEvent = CustomEvent;\n})();\n"],"names":["window","NodeList","prototype","forEach","Array","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent"],"mappings":"2OAGMA,OAAOC,WAAaA,SAASC,UAAUC,UACzCF,SAASC,UAAUC,QAAUC,MAAMF,UAAUC,SCFjD,WACE,GAAmC,mBAAvBH,OAAOK,YAA6B,SAShDL,OAAOK,YAPP,SAAuBC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,OAAQ,MAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBR,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DC,GAPX"} |
+3
-0
@@ -9,1 +9,4 @@ import '@stimulus/polyfills' | ||
| import './polyfills/custom-event/custom-event' | ||
| import 'formdata-polyfill' | ||
| import '@webcomponents/template' |
+8
-4
| { | ||
| "name": "@stimulus_reflex/polyfills", | ||
| "version": "3.4.0-dev.0", | ||
| "version": "3.4.0-dev.1", | ||
| "description": "Polyfills to support StimulusReflex in older browsers", | ||
@@ -29,4 +29,5 @@ "homepage": "https://docs.stimulusreflex.com/", | ||
| "@stimulus/polyfills": "^1.1.1", | ||
| "@webcomponents/template": "^1.4.4", | ||
| "core-js": "^3.4.0", | ||
| "stimulus": "^1.1.1" | ||
| "formdata-polyfill": "^3.0.20" | ||
| }, | ||
@@ -41,5 +42,8 @@ "publishConfig": { | ||
| "assert": "^2.0.0", | ||
| "mocha": "^8.2.0" | ||
| "microbundle": "^0.12.4", | ||
| "mocha": "^8.2.0", | ||
| "prettier-standard": "^16.4.1", | ||
| "rimraf": "^3.0.2" | ||
| }, | ||
| "gitHead": "231054fe4b916b0dfa4e96003d71f5e080d98d75" | ||
| "gitHead": "b605647c42d0766054fc839a239decd3fee989d2" | ||
| } |
11509
3.86%47
11.9%4
33.33%8
60%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed