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

@material/auto-init

Package Overview
Dependencies
Maintainers
13
Versions
1664
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/auto-init - npm Package Compare versions

Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1

8

dist/mdc.autoInit.js

@@ -51,5 +51,5 @@ /**

__webpack_require__.p = "";
return __webpack_require__(__webpack_require__.s = 112);
return __webpack_require__(__webpack_require__.s = 115);
}({
112: function(module, exports, __webpack_require__) {
115: function(module, exports, __webpack_require__) {
"use strict";

@@ -72,3 +72,3 @@ var __values = this && this.__values || function(o) {

});
var constants_1 = __webpack_require__(113);
var constants_1 = __webpack_require__(116);
var AUTO_INIT_ATTR = constants_1.strings.AUTO_INIT_ATTR, AUTO_INIT_STATE_ATTR = constants_1.strings.AUTO_INIT_STATE_ATTR, INITIALIZED_STATE = constants_1.strings.INITIALIZED_STATE;

@@ -161,3 +161,3 @@ var registry = {};

},
113: function(module, exports, __webpack_require__) {
116: function(module, exports, __webpack_require__) {
"use strict";

@@ -164,0 +164,0 @@ Object.defineProperty(exports, "__esModule", {

@@ -8,3 +8,3 @@ /**

*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.autoInit=e():(t.mdc=t.mdc||{},t.mdc.autoInit=e())}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=112)}({112:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=!1);var r;"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:n,detail:e}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,n,!1,e)),document.dispatchEvent(r)}function o(t){void 0===t&&(t=document);var e,n,o=[],u=[].slice.call(t.querySelectorAll("["+c+"]"));u=u.filter(function(t){return t.getAttribute(a)!==f});try{for(var d=i(u),l=d.next();!l.done;l=d.next()){var v=l.value,p=v.getAttribute(c);if(!p)throw new Error("(mdc-auto-init) Constructor name must be given.");var m=s[p];if("function"!=typeof m)throw new Error("(mdc-auto-init) Could not find constructor in registry for "+p);var T=m.attachTo(v);Object.defineProperty(v,p,{configurable:!0,enumerable:!1,value:T,writable:!1}),o.push(T),v.setAttribute(a,f)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return r("MDCAutoInit:End",{}),o}var i=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var u=n(113),c=u.strings.AUTO_INIT_ATTR,a=u.strings.AUTO_INIT_STATE_ATTR,f=u.strings.INITIALIZED_STATE,s={},d=console.warn.bind(console);e.mdcAutoInit=o,o.register=function(t,e,n){if(void 0===n&&(n=d),"function"!=typeof e)throw new Error("(mdc-auto-init) Invalid Constructor value: "+e+". Expected function.");var r=s[t];r&&n("(mdc-auto-init) Overriding registration for "+t+" with "+e+". Was: "+r),s[t]=e},o.deregister=function(t){delete s[t]},o.deregisterAll=function(){Object.keys(s).forEach(this.deregister,this)},e.default=o},113:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}}})});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.autoInit=e():(t.mdc=t.mdc||{},t.mdc.autoInit=e())}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=115)}({115:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=!1);var r;"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:n,detail:e}):(r=document.createEvent("CustomEvent"),r.initCustomEvent(t,n,!1,e)),document.dispatchEvent(r)}function o(t){void 0===t&&(t=document);var e,n,o=[],u=[].slice.call(t.querySelectorAll("["+c+"]"));u=u.filter(function(t){return t.getAttribute(a)!==f});try{for(var d=i(u),l=d.next();!l.done;l=d.next()){var v=l.value,p=v.getAttribute(c);if(!p)throw new Error("(mdc-auto-init) Constructor name must be given.");var m=s[p];if("function"!=typeof m)throw new Error("(mdc-auto-init) Could not find constructor in registry for "+p);var T=m.attachTo(v);Object.defineProperty(v,p,{configurable:!0,enumerable:!1,value:T,writable:!1}),o.push(T),v.setAttribute(a,f)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return r("MDCAutoInit:End",{}),o}var i=this&&this.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var u=n(116),c=u.strings.AUTO_INIT_ATTR,a=u.strings.AUTO_INIT_STATE_ATTR,f=u.strings.INITIALIZED_STATE,s={},d=console.warn.bind(console);e.mdcAutoInit=o,o.register=function(t,e,n){if(void 0===n&&(n=d),"function"!=typeof e)throw new Error("(mdc-auto-init) Invalid Constructor value: "+e+". Expected function.");var r=s[t];r&&n("(mdc-auto-init) Overriding registration for "+t+" with "+e+". Was: "+r),s[t]=e},o.deregister=function(t){delete s[t]},o.deregisterAll=function(){Object.keys(s).forEach(this.deregister,this)},e.default=o},116:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.strings={AUTO_INIT_ATTR:"data-mdc-auto-init",AUTO_INIT_STATE_ATTR:"data-mdc-auto-init-state",INITIALIZED_STATE:"initialized"}}})});
//# sourceMappingURL=mdc.autoInit.min.js.map
{
"name": "@material/auto-init",
"description": "Declarative, easy-to-use auto-initialization for Material Components for the web",
"version": "3.0.0-alpha.0",
"version": "3.0.0-alpha.1",
"main": "dist/mdc.autoInit.js",

@@ -18,3 +18,3 @@ "module": "index.js",

},
"gitHead": "094e507fcfb488303e5adec97f7f985b30e8567e"
"gitHead": "dae97b98c21bb93075a9688cf1f9076a4fe5a85d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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