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

sk-element-webpack

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sk-element-webpack - npm Package Compare versions

Comparing version 0.0.1-alpha.12 to 0.0.1-alpha.13

2

dist/sk-element.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("axios")):"function"==typeof define&&define.amd?define(["vue","axios"],t):"object"==typeof exports?exports["sk-element"]=t(require("vue"),require("axios")):e.SKElement=t(e.Vue,e.axios)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){e.exports=n.p+"assets/img.a89803b.jpeg"},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"sk-text-background"},[r("div",[e._v(e._s(e.msg))]),e._v(" "),r("div",[e._v("i18n: "+e._s(e.emptyText))]),e._v(" "),r("img",{attrs:{src:n(2),alt:"上海鲜花港 - 郁金香"}})])};r._withStripped=!0;var o=n(0),i=n.n(o),u=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===a}(e)}(e)};var a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function f(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||u;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=c(e[t],n)}),Object.keys(t).forEach(function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=s(e[o],t[o],n):r[o]=c(t[o],n)}),r}(e,t,n):c(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};var l=s;function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=/(%|)\{([0-9a-zA-Z_]+)\}/g,d=function(e){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return 1===n.length&&"object"===p(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(y,function(t,r,o,i){var u;return"{"===e[i-1]&&"}"===e[i+t.length]?o:null===(u=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(n,o)?n[o]:null)||void 0===u?"":u})}}(i.a),b={sk:{text:{emptyText:"中文"}}},m=!1,v=function(){var e=Object.getPrototypeOf(this||i.a).$t;if("function"==typeof e&&i.a.locale)return m||(m=!0,i.a.locale(i.a.config.lang,l(b,i.a.locale(i.a.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=function(e,t){var n=v.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),o=b,i=0,u=r.length;i<u;i++){if(n=o[r[i]],i===u-1)return d(n,t);if(!n)return"";o=n}return""},_={use:function(e){b=e||b},t:g,i18n:function(e){v=e||v}},h={methods:{t:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g.apply(this,t)}}},x=n(1),j=n.n(x).a.create({timeout:3e4,withCredentials:!0});j.interceptors.request.use(function(e){return e},function(e){Promise.reject(e)}),j.interceptors.response.use(function(e){return e.data},function(e){return Promise.reject(e)});var S=j;var O=function(e,t,n,r,o,i,u,a){var c,f="function"==typeof e?e.options:e;if(t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),u?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(u)},f._ssrRegister=c):o&&(c=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(f.functional){f._injectStyles=c;var s=f.render;f.render=function(e,t){return c.call(t),s(e,t)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:f}}({name:"SkText",mixins:[h],props:{msg:{default:"test",type:String}},computed:{emptyText:function(){return this.t("sk.text.emptyText")}},created:function(){S({url:"/api",method:"GET"})}},r,[],!1,null,null,null);O.options.__file="packages/text/src/main.vue";var w=O.exports;w.install=function(e){e.component(w.name,w)};var T=w,M=[T],A=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.installed||(_.use(n.locale),_.i18n(n.i18n),M.map(function(e){t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&A(window.Vue);t.default={install:A,locale:_.use,i18n:_.i18n,Text:T}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("axios")):"function"==typeof define&&define.amd?define(["vue","axios"],t):"object"==typeof exports?exports["sk-element"]=t(require("vue"),require("axios")):e.SKElement=t(e.Vue,e.axios)}(window,function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports="./assets/img.a89803b.jpeg"},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"sk-text-background"},[r("div",[e._v(e._s(e.msg))]),e._v(" "),r("div",[e._v("i18n: "+e._s(e.emptyText))]),e._v(" "),r("img",{attrs:{src:n(2),alt:"上海鲜花港 - 郁金香"}})])};r._withStripped=!0;var o=n(0),i=n.n(o),u=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===a}(e)}(e)};var a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function f(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function s(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||u;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=c(e[t],n)}),Object.keys(t).forEach(function(o){n.isMergeableObject(t[o])&&e[o]?r[o]=s(e[o],t[o],n):r[o]=c(t[o],n)}),r}(e,t,n):c(t,n)}s.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return s(e,n,t)},{})};var l=s;function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var y=/(%|)\{([0-9a-zA-Z_]+)\}/g,d=function(e){return function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return 1===n.length&&"object"===p(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(y,function(t,r,o,i){var u;return"{"===e[i-1]&&"}"===e[i+t.length]?o:null===(u=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(n,o)?n[o]:null)||void 0===u?"":u})}}(i.a),b={sk:{text:{emptyText:"中文"}}},m=!1,v=function(){var e=Object.getPrototypeOf(this||i.a).$t;if("function"==typeof e&&i.a.locale)return m||(m=!0,i.a.locale(i.a.config.lang,l(b,i.a.locale(i.a.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=function(e,t){var n=v.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),o=b,i=0,u=r.length;i<u;i++){if(n=o[r[i]],i===u-1)return d(n,t);if(!n)return"";o=n}return""},_={use:function(e){b=e||b},t:g,i18n:function(e){v=e||v}},h={methods:{t:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g.apply(this,t)}}},x=n(1),j=n.n(x).a.create({timeout:3e4,withCredentials:!0});j.interceptors.request.use(function(e){return e},function(e){Promise.reject(e)}),j.interceptors.response.use(function(e){return e.data},function(e){return Promise.reject(e)});var S=j;var O=function(e,t,n,r,o,i,u,a){var c,f="function"==typeof e?e.options:e;if(t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),u?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(u)},f._ssrRegister=c):o&&(c=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(f.functional){f._injectStyles=c;var s=f.render;f.render=function(e,t){return c.call(t),s(e,t)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:f}}({name:"SkText",mixins:[h],props:{msg:{default:"test",type:String}},computed:{emptyText:function(){return this.t("sk.text.emptyText")}},created:function(){S({url:"/api",method:"GET"})}},r,[],!1,null,null,null);O.options.__file="packages/text/src/main.vue";var w=O.exports;w.install=function(e){e.component(w.name,w)};var T=w,M=[T],A=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.installed||(_.use(n.locale),_.i18n(n.i18n),M.map(function(e){t.component(e.name,e)}))};"undefined"!=typeof window&&window.Vue&&A(window.Vue);t.default={install:A,locale:_.use,i18n:_.i18n,Text:T}}])});

@@ -1,1 +0,1 @@

module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(e,t){e.exports=require("sk-element-webpack/dist/mixins/locale")},function(e,t){e.exports=require("sk-element-webpack/dist/api/demo")},function(e,t,n){e.exports=n.p+"assets/img.a89803b.jpeg"},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"sk-text-background"},[r("div",[e._v(e._s(e.msg))]),e._v(" "),r("div",[e._v("i18n: "+e._s(e.emptyText))]),e._v(" "),r("img",{attrs:{src:n(2),alt:"上海鲜花港 - 郁金香"}})])};r._withStripped=!0;var o=n(0),i=n.n(o),s=n(1);var u=function(e,t,n,r,o,i,s,u){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):o&&(a=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),a)if(c.functional){c._injectStyles=a;var l=c.render;c.render=function(e,t){return a.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:c}}({name:"SkText",mixins:[i.a],props:{msg:{default:"test",type:String}},computed:{emptyText:function(){return this.t("sk.text.emptyText")}},created:function(){Object(s.fetchDemo)()}},r,[],!1,null,null,null);u.options.__file="packages/text/src/main.vue";var a=u.exports;a.install=function(e){e.component(a.name,a)};t.default=a}]);
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(e,t){e.exports=require("sk-element-webpack/dist/mixins/locale")},function(e,t){e.exports=require("sk-element-webpack/dist/api/demo")},function(e,t){e.exports="./assets/img.a89803b.jpeg"},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"sk-text-background"},[r("div",[e._v(e._s(e.msg))]),e._v(" "),r("div",[e._v("i18n: "+e._s(e.emptyText))]),e._v(" "),r("img",{attrs:{src:n(2),alt:"上海鲜花港 - 郁金香"}})])};r._withStripped=!0;var o=n(0),i=n.n(o),s=n(1);var u=function(e,t,n,r,o,i,s,u){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):o&&(a=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),a)if(c.functional){c._injectStyles=a;var l=c.render;c.render=function(e,t){return a.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:c}}({name:"SkText",mixins:[i.a],props:{msg:{default:"test",type:String}},computed:{emptyText:function(){return this.t("sk.text.emptyText")}},created:function(){Object(s.fetchDemo)()}},r,[],!1,null,null,null);u.options.__file="packages/text/src/main.vue";var a=u.exports;a.install=function(e){e.component(a.name,a)};t.default=a}]);
{
"name": "sk-element-webpack",
"version": "0.0.1-alpha.12",
"version": "0.0.1-alpha.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/sk-element.min.js",

Sorry, the diff of this file is too big to display

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