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

ssl-random-bgcolor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssl-random-bgcolor - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "ssl-random-bgcolor",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "ssl-random-bgcolor.common.js",

# ssl-random-bgcolor
Click on the box to replace the random background
[![version](https://badgen.net/badge/version/v1.0.3/green)](https://npmjs.com/package/your-package-name)
[![version](https://badgen.net/badge/version/v1.0.4/green)](https://npmjs.com/package/your-package-name)

@@ -6,0 +6,0 @@ # Install

@@ -289,6 +289,3 @@ /******/ (function() { // webpackBootstrap

const package_component = {
RandomBgcolor: randomBgcolor,
RandomFontSize: randomFontSize
};
const package_component = [randomBgcolor, randomFontSize];
const package_randomBgcolor = {

@@ -295,0 +292,0 @@ // 定义install方法,接收vue作为参数,如果使用use注册插件,则组价都将被注册

@@ -299,6 +299,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

const package_component = {
RandomBgcolor: randomBgcolor,
RandomFontSize: randomFontSize
};
const package_component = [randomBgcolor, randomFontSize];
const package_randomBgcolor = {

@@ -305,0 +302,0 @@ // 定义install方法,接收vue作为参数,如果使用use注册插件,则组价都将被注册

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

(function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["ssl-random-bgcolor"]=n():e["ssl-random-bgcolor"]=n()})("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var e={};!function(){e.d=function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})}}(),function(){e.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){e.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){e.p=""}();var n={};if(e.r(n),e.d(n,{default:function(){return C}}),"undefined"!==typeof window){var t=window.document.currentScript,o=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(e.p=o[1])}var r=function(){var e=this,n=e._self._c;return n("div",{staticClass:"container random-bgcolor",on:{click:e.changeBgColor}},[n("h1",[e._v(" "+e._s(e.message)+" ")])])},i=[];function s(e,n){return Math.round(Math.random()*(e-n)+n)}var a={data(){return{message:"点我呀"}},methods:{changeBgColor(){const e=s(0,255),n=s(0,255),t=s(0,255),o=`rgb(${e},${n},${t})`;document.body.style.backgroundColor=o}}},c=a;function d(e,n,t,o,r,i,s,a){var c,d="function"===typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=c):r&&(c=a?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var f=d.render;d.render=function(e,n){return c.call(n),f(e,n)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}var f=d(c,r,i,!1,null,"82f2afe6",null),u=f.exports,l=function(){var e=this,n=e._self._c;return n("div",{staticClass:"container random-fontsize",on:{click:e.changeBgColor}},[n("h1",[e._v(" "+e._s(e.message)+" ")])])},p=[],g={data(){return{message:"点我改变字体大小",bigFont:!1}},methods:{changeFontSize(){const e=s(0,30)+"px";this.bigFont=!this.bigFont,document.body.style.fontSize=this.bigFont?e:""}}},h=g,m=d(h,l,p,!1,null,"f7abe4e6",null),_=m.exports;const b={RandomBgcolor:u,RandomFontSize:_},v={install:function(e){b.forEach((n=>{e.component(n.name,n)}))}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(v);var y=v,C=y;return n}()}));
(function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["ssl-random-bgcolor"]=n():e["ssl-random-bgcolor"]=n()})("undefined"!==typeof self?self:this,(function(){return function(){"use strict";var e={};!function(){e.d=function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})}}(),function(){e.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){e.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){e.p=""}();var n={};if(e.r(n),e.d(n,{default:function(){return C}}),"undefined"!==typeof window){var t=window.document.currentScript,o=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(e.p=o[1])}var r=function(){var e=this,n=e._self._c;return n("div",{staticClass:"container random-bgcolor",on:{click:e.changeBgColor}},[n("h1",[e._v(" "+e._s(e.message)+" ")])])},i=[];function s(e,n){return Math.round(Math.random()*(e-n)+n)}var a={data(){return{message:"点我呀"}},methods:{changeBgColor(){const e=s(0,255),n=s(0,255),t=s(0,255),o=`rgb(${e},${n},${t})`;document.body.style.backgroundColor=o}}},c=a;function d(e,n,t,o,r,i,s,a){var c,d="function"===typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=c):r&&(c=a?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var f=d.render;d.render=function(e,n){return c.call(n),f(e,n)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}var f=d(c,r,i,!1,null,"82f2afe6",null),u=f.exports,l=function(){var e=this,n=e._self._c;return n("div",{staticClass:"container random-fontsize",on:{click:e.changeBgColor}},[n("h1",[e._v(" "+e._s(e.message)+" ")])])},p=[],h={data(){return{message:"点我改变字体大小",bigFont:!1}},methods:{changeFontSize(){const e=s(0,30)+"px";this.bigFont=!this.bigFont,document.body.style.fontSize=this.bigFont?e:""}}},g=h,_=d(g,l,p,!1,null,"f7abe4e6",null),m=_.exports;const b=[u,m],v={install:function(e){b.forEach((n=>{e.component(n.name,n)}))}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(v);var y=v,C=y;return n}()}));
//# sourceMappingURL=ssl-random-bgcolor.umd.min.js.map

Sorry, the diff of this file is not supported yet

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