Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shuhtestrollup

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shuhtestrollup - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

dist/test.esm.js

@@ -388,5 +388,6 @@ import Vue from 'vue';

install.installed = true;
Object.entries(components).forEach(([componentName, component]) => {
Vue.component(componentName, component);
});
for (let componentKey in components) {
Vue.use(components[componentKey]);
}
}; // Create module definition for Vue.use()

@@ -393,0 +394,0 @@

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

var Test=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(t);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==s.return||s.return()}finally{if(i)throw r}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var a=o.default.extend({name:"TestSample",data:function(){return{counter:5,initCounter:5,message:{action:null,amount:null}}},computed:{changedBy:function(){var e,t=this.message;return t.action?"".concat(null==t?void 0:t.action," ").concat(null!==(e=t.amount)&&void 0!==e?e:"").trim():"initialized"}},methods:{increment:function(e){var t="number"!=typeof e?1:e;this.counter+=t,this.message.action="incremented by",this.message.amount=t},decrement:function(e){var t="number"!=typeof e?1:e;this.counter-=t,this.message.action="decremented by",this.message.amount=t},reset:function(){this.counter=this.initCounter,this.message.action="reset",this.message.amount=null}}});function s(e,t,n,o,i,r,a,s,c,u){"boolean"!=typeof a&&(c=s,s=a,a=!1);const l="function"==typeof n?n.options:n;let d;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),o&&(l._scopeId=o),r?(d=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__),t&&t.call(this,c(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=d):t&&(d=a?function(e){t.call(this,u(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),d)if(l.functional){const e=l.render;l.render=function(t,n){return d.call(n),e(t,n)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,d):[d]}return n}const c="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function u(e){return(e,t)=>function(e,t){const n=c?t.media||"default":e,o=d[n]||(d[n]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",t.media&&o.element.setAttribute("media",t.media),void 0===l&&(l=document.head||document.getElementsByTagName("head")[0]),l.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(n),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{const e=o.ids.size-1,t=document.createTextNode(n),i=o.element.childNodes;i[e]&&o.element.removeChild(i[e]),i.length?o.element.insertBefore(t,i[e]):o.element.appendChild(t)}}}(e,t)}let l;const d={};var m=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"test-sample"},[n("p",[e._v("The counter was "+e._s(e.changedBy)+" to "),n("b",[e._v(e._s(e.counter))]),e._v(".")]),e._v(" "),n("button",{on:{click:e.increment}},[e._v("\n Click +1\n ")]),e._v(" "),n("button",{on:{click:e.decrement}},[e._v("\n Click -1\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.increment(5)}}},[e._v("\n Click +5\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.decrement(5)}}},[e._v("\n Click -5\n ")]),e._v(" "),n("button",{on:{click:e.reset}},[e._v("\n Reset\n ")])])},staticRenderFns:[]},(function(e){e&&e("data-v-757de161_0",{source:".test-sample[data-v-757de161]{display:block;width:400px;margin:25px auto;border:1px solid #ccc;background:#eaeaea;text-align:center;padding:25px}.test-sample p[data-v-757de161]{margin:0 0 1em}",map:void 0,media:void 0})}),a,"data-v-757de161",!1,void 0,!1,u,void 0,void 0),f=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"test-sample"},[n("p",[e._v("The counter was "+e._s(e.changedBy)+" to "),n("b",[e._v(e._s(e.counter))]),e._v(".")]),e._v(" "),n("button",{on:{click:e.increment}},[e._v("\n Click +1\n ")]),e._v(" "),n("button",{on:{click:e.decrement}},[e._v("\n Click -1\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.increment(5)}}},[e._v("\n Click +5\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.decrement(5)}}},[e._v("\n Click -5\n ")]),e._v(" "),n("button",{on:{click:e.reset}},[e._v("\n Reset\n ")])])},staticRenderFns:[]},(function(e){e&&e("data-v-dc0968e6_0",{source:".test-sample[data-v-dc0968e6]{display:block;width:400px;margin:25px auto;border:1px solid #ccc;background:#eaeaea;text-align:center;padding:25px}.test-sample p[data-v-dc0968e6]{margin:0 0 1em}",map:void 0,media:void 0})}),o.default.extend({name:"TestSampleNew",data:function(){return{counter:5,initCounter:5,message:{action:null,amount:null}}},computed:{changedBy:function(){var e,t=this.message;return t.action?"".concat(null==t?void 0:t.action," ").concat(null!==(e=t.amount)&&void 0!==e?e:"").trim():"initialized"}},methods:{increment:function(e){var t="number"!=typeof e?1:e;this.counter+=t,this.message.action="incremented by",this.message.amount=t},decrement:function(e){var t="number"!=typeof e?1:e;this.counter-=t,this.message.action="decremented by",this.message.amount=t},reset:function(){this.counter=this.initCounter,this.message.action="reset",this.message.amount=null}}}),"data-v-dc0968e6",!1,void 0,!1,u,void 0,void 0),v=Object.freeze({__proto__:null,TestSample:m,TestSampleNew:f}),p=function(e){p.installed||(p.installed=!0,Object.entries(v).forEach((function(t){var n=i(t,2),o=n[0],r=n[1];e.component(o,r)})))},h={install:p},_=null;return"undefined"!=typeof window?_=window.Vue:"undefined"!=typeof global&&(_=global.Vue),_&&_.use(h),e.TestSample=m,e.TestSampleNew=f,e.default=h,Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);
var Test=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(t),o=i.default.extend({name:"TestSample",data:function(){return{counter:5,initCounter:5,message:{action:null,amount:null}}},computed:{changedBy:function(){var e,t=this.message;return t.action?"".concat(null==t?void 0:t.action," ").concat(null!==(e=t.amount)&&void 0!==e?e:"").trim():"initialized"}},methods:{increment:function(e){var t="number"!=typeof e?1:e;this.counter+=t,this.message.action="incremented by",this.message.amount=t},decrement:function(e){var t="number"!=typeof e?1:e;this.counter-=t,this.message.action="decremented by",this.message.amount=t},reset:function(){this.counter=this.initCounter,this.message.action="reset",this.message.amount=null}}});function s(e,t,n,i,o,s,a,c,r,d){"boolean"!=typeof a&&(r=c,c=a,a=!1);const u="function"==typeof n?n.options:n;let l;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,o&&(u.functional=!0)),i&&(u._scopeId=i),s?(l=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__),t&&t.call(this,r(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):t&&(l=a?function(e){t.call(this,d(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,c(e))}),l)if(u.functional){const e=u.render;u.render=function(t,n){return l.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,l):[l]}return n}const a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function c(e){return(e,t)=>function(e,t){const n=a?t.media||"default":e,i=d[n]||(d[n]={ids:new Set,styles:[]});if(!i.ids.has(e)){i.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",t.media&&i.element.setAttribute("media",t.media),void 0===r&&(r=document.head||document.getElementsByTagName("head")[0]),r.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const e=i.ids.size-1,t=document.createTextNode(n),o=i.element.childNodes;o[e]&&i.element.removeChild(o[e]),o.length?i.element.insertBefore(t,o[e]):i.element.appendChild(t)}}}(e,t)}let r;const d={};var u=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"test-sample"},[n("p",[e._v("The counter was "+e._s(e.changedBy)+" to "),n("b",[e._v(e._s(e.counter))]),e._v(".")]),e._v(" "),n("button",{on:{click:e.increment}},[e._v("\n Click +1\n ")]),e._v(" "),n("button",{on:{click:e.decrement}},[e._v("\n Click -1\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.increment(5)}}},[e._v("\n Click +5\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.decrement(5)}}},[e._v("\n Click -5\n ")]),e._v(" "),n("button",{on:{click:e.reset}},[e._v("\n Reset\n ")])])},staticRenderFns:[]},(function(e){e&&e("data-v-757de161_0",{source:".test-sample[data-v-757de161]{display:block;width:400px;margin:25px auto;border:1px solid #ccc;background:#eaeaea;text-align:center;padding:25px}.test-sample p[data-v-757de161]{margin:0 0 1em}",map:void 0,media:void 0})}),o,"data-v-757de161",!1,void 0,!1,c,void 0,void 0),l=s({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"test-sample"},[n("p",[e._v("The counter was "+e._s(e.changedBy)+" to "),n("b",[e._v(e._s(e.counter))]),e._v(".")]),e._v(" "),n("button",{on:{click:e.increment}},[e._v("\n Click +1\n ")]),e._v(" "),n("button",{on:{click:e.decrement}},[e._v("\n Click -1\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.increment(5)}}},[e._v("\n Click +5\n ")]),e._v(" "),n("button",{on:{click:function(t){return e.decrement(5)}}},[e._v("\n Click -5\n ")]),e._v(" "),n("button",{on:{click:e.reset}},[e._v("\n Reset\n ")])])},staticRenderFns:[]},(function(e){e&&e("data-v-dc0968e6_0",{source:".test-sample[data-v-dc0968e6]{display:block;width:400px;margin:25px auto;border:1px solid #ccc;background:#eaeaea;text-align:center;padding:25px}.test-sample p[data-v-dc0968e6]{margin:0 0 1em}",map:void 0,media:void 0})}),i.default.extend({name:"TestSampleNew",data:function(){return{counter:5,initCounter:5,message:{action:null,amount:null}}},computed:{changedBy:function(){var e,t=this.message;return t.action?"".concat(null==t?void 0:t.action," ").concat(null!==(e=t.amount)&&void 0!==e?e:"").trim():"initialized"}},methods:{increment:function(e){var t="number"!=typeof e?1:e;this.counter+=t,this.message.action="incremented by",this.message.amount=t},decrement:function(e){var t="number"!=typeof e?1:e;this.counter-=t,this.message.action="decremented by",this.message.amount=t},reset:function(){this.counter=this.initCounter,this.message.action="reset",this.message.amount=null}}}),"data-v-dc0968e6",!1,void 0,!1,c,void 0,void 0),m=Object.freeze({__proto__:null,TestSample:u,TestSampleNew:l}),v=function(e){if(!v.installed)for(var t in v.installed=!0,m)e.use(m[t])},p={install:v},f=null;return"undefined"!=typeof window?f=window.Vue:"undefined"!=typeof global&&(f=global.Vue),f&&f.use(p),e.TestSample=u,e.TestSampleNew=l,e.default=p,Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue);

@@ -1,56 +0,2 @@

'use strict';Object.defineProperty(exports,'__esModule',{value:true});var Vue=require('vue');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var Vue__default=/*#__PURE__*/_interopDefaultLegacy(Vue);function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}var script = Vue__default['default'].extend({
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var Vue=require('vue');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var Vue__default=/*#__PURE__*/_interopDefaultLegacy(Vue);var script = Vue__default['default'].extend({
name: 'TestSample',

@@ -338,3 +284,4 @@ // vue component name

staticRenderFns: __vue_staticRenderFns__$1
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, createInjectorSSR, undefined);/* eslint-disable import/prefer-default-export */var components=/*#__PURE__*/Object.freeze({__proto__:null,TestSample: __vue_component__,TestSampleNew: __vue_component__$1});// eslint-disable-next-line @typescript-eslint/no-explicit-any
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, createInjectorSSR, undefined);/* eslint-disable import/prefer-default-export */var components=/*#__PURE__*/Object.freeze({__proto__:null,TestSample: __vue_component__,TestSampleNew: __vue_component__$1});// Import vue components
// eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -345,9 +292,6 @@ // install function executed by Vue.use()

install.installed = true;
Object.entries(components).forEach(function (_ref) {
var _ref2 = _slicedToArray(_ref, 2),
componentName = _ref2[0],
component = _ref2[1];
Vue.component(componentName, component);
});
for (var componentKey in components) {
Vue.use(components[componentKey]);
}
}; // Create module definition for Vue.use()

@@ -354,0 +298,0 @@

{
"name": "shuhtestrollup",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@

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