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

badgee

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badgee - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

build/badgee.js
var n=function(){},t=function(n,t){for(var r in n)t(n[r],r)},r=function(n,t){for(var r in t)n[r]=t[r];return n},u=function(n){return r({},n)},e=function(n,t){return r(u(n),t)},i=("undefined"!=typeof window?window:global).console||{},o=["debug","error","group","groupCollapsed","info","log","warn"],l=["clear","dir","groupEnd"],c=function(n){t(o,n)},f=function(n){t(l,n)},a=function(n){c(n),f(n)};a(function(t){i[t]=i[t]||n});var d={enabled:!0,styled:!0},s=u(d),b=function(n){return n&&(s=e(d,n)),s},p={},g={"border-radius":"2px",padding:"1px 3px",margin:"0 1px",color:"white"},v=function(n,t){if(null!=n&&null!=t)t=e(g,t),p[n]=t;else if(null!=n)return p[n];return Object.keys(p)},h=function(n){return null!=n&&(g=n),g},y=function(n){var r="";return t(p[n],function(n,t){r+=t+":"+n+";"}),r},w=function(n,t){return e(n,{background:t})};t(["green","red"],function(n){v(n,w({},n))}),v("orange",w({color:"black"},"orange"));var x=null,k=null,j=function(n){return null!=x&&!x.test(n)||null!=k&&k.test(n)},m=function(n){return{none:function(){return x=null,k=null,n(),this},include:function(t){return t!==x&&(x=t,n()),this},exclude:function(t){return t!==k&&(k=t,n()),this}}},C={},E=function(n,t,r){var u=[];if(r){var e=C[r],i=e[0],o=e[1],l=e[2];u=E(i.label,o,l)}if(n){var c=t?"%c"+n:"["+n+"]";u[0]=""+(u[0]||"")+c}return t&&u.push(y(t)),u},O=function(t,r){var u=this,e=E(this.label,!!s.styled&&t,r);!s.enabled||j(e[0])?a(function(t){return u[t]=n}):(c(function(n){u[n]=(t=i[n]).bind.apply(t,[i].concat(e));var t}),f(function(n){u[n]=i[n].bind(i)}))},S=function(n,t,r){this.label=n,O.bind(this,t,r)(),C[n]=[this,t,r]};S.prototype.define=function(n,t){return new S(n,t,this.label)};var q=function(){t(C,function(n){var t=n[0],r=n[1],u=n[2];O.bind(t,r,u)()})},z=new S;z.get=function(n){return(C[n]||{})[0]};try{z.log()}catch(n){z=e(i,{define:function(){return z},get:function(){return z}})}z.style=v,z.defaultStyle=h,z.filter=m(q),z.config=function(n){return n&&"object"==typeof n&&(b(n),q()),s};var A=z;module.exports=A;
//# sourceMappingURL=badgee.js.map
//# sourceMappingURL=build/badgee.js.map

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

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.badgee=t()}(this,function(){var n=function(){},t=function(n,t){for(var e in n)t(n[e],e)},e=function(n,t){for(var e in t)n[e]=t[e];return n},r=function(n){return e({},n)},u=function(n,t){return e(r(n),t)},o=("undefined"!=typeof window?window:global).console||{},i=["debug","error","group","groupCollapsed","info","log","warn"],f=["clear","dir","groupEnd"],c=function(n){t(i,n)},l=function(n){t(f,n)},a=function(n){c(n),l(n)};a(function(t){o[t]=o[t]||n});var d={enabled:!0,styled:!0},s=r(d),p=function(n){return n&&(s=u(d,n)),s},b={},g={"border-radius":"2px",padding:"1px 3px",margin:"0 1px",color:"white"},h=function(n,t){if(null!=n&&null!=t)t=u(g,t),b[n]=t;else if(null!=n)return b[n];return Object.keys(b)},v=function(n){return null!=n&&(g=n),g},y=function(n){var e="";return t(b[n],function(n,t){e+=t+":"+n+";"}),e},w=function(n,t){return u(n,{background:t})};t(["green","red"],function(n){h(n,w({},n))}),h("orange",w({color:"black"},"orange"));var x=null,m=null,j=function(n){return null!=x&&!x.test(n)||null!=m&&m.test(n)},k={},C=function(n,t,e){var r=[];if(e){var u=k[e],o=u[0],i=u[1],f=u[2];r=C(o.label,i,f)}if(n){var c=t?"%c"+n:"["+n+"]";r[0]=""+(r[0]||"")+c}return t&&r.push(y(t)),r},E=function(t,e){var r=this,u=C(this.label,!!s.styled&&t,e);!s.enabled||j(u[0])?a(function(t){return r[t]=n}):(c(function(n){r[n]=(t=o[n]).bind.apply(t,[o].concat(u));var t}),l(function(n){r[n]=o[n].bind(o)}))},O=function(n,t,e){this.label=n,E.bind(this,t,e)(),k[n]=[this,t,e]};O.prototype.define=function(n,t){return new O(n,t,this.label)};var S=function(){t(k,function(n){var t=n[0],e=n[1],r=n[2];E.bind(t,e,r)()})},q=new O;q.get=function(n){return(k[n]||{})[0]};try{q.log()}catch(n){q=u(o,{define:function(){return q},get:function(){return q}})}return q.style=h,q.defaultStyle=v,q.filter=function(n){return{none:function(){return x=null,m=null,n(),this},include:function(t){return t!==x&&(x=t,n()),this},exclude:function(t){return t!==m&&(m=t,n()),this}}}(S),q.config=function(n){return n&&"object"==typeof n&&(p(n),S()),s},q});
//# sourceMappingURL=badgee.umd.js.map
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.badgee=t()}(this,function(){var n=function(){},t=function(n,t){for(var e in n)t(n[e],e)},e=function(n,t){for(var e in t)n[e]=t[e];return n},r=function(n){return e({},n)},u=function(n,t){return e(r(n),t)},o=("undefined"!=typeof window?window:global).console||{},i=["debug","error","group","groupCollapsed","info","log","warn"],f=["clear","dir","groupEnd"],c=function(n){t(i,n)},l=function(n){t(f,n)},a=function(n){c(n),l(n)};a(function(t){o[t]=o[t]||n});var d={enabled:!0,styled:!0},s=r(d),p=function(n){return n&&(s=u(d,n)),s},b={},g={"border-radius":"2px",padding:"1px 3px",margin:"0 1px",color:"white"},h=function(n,t){if(null!=n&&null!=t)t=u(g,t),b[n]=t;else if(null!=n)return b[n];return Object.keys(b)},v=function(n){var e="";return t(b[n],function(n,t){e+=t+":"+n+";"}),e},y=function(n,t){return u(n,{background:t})};t(["green","red"],function(n){h(n,y({},n))}),h("orange",y({color:"black"},"orange"));var w=null,x=null,m=function(n){return null!=w&&!w.test(n)||null!=x&&x.test(n)},j={},k=function(n,t,e){var r=[];if(e){var u=j[e],o=u[0],i=u[1],f=u[2];r=k(o.label,i,f)}if(n){var c=t?"%c"+n:"["+n+"]";r[0]=""+(r[0]||"")+c}return t&&r.push(v(t)),r},C=function(t,e){var r=this,u=k(this.label,!!s.styled&&t,e);!s.enabled||m(u[0])?a(function(t){return r[t]=n}):(c(function(n){r[n]=(t=o[n]).bind.apply(t,[o].concat(u));var t}),l(function(n){r[n]=o[n].bind(o)}))},E=function(n,t,e){this.label=n,C.bind(this,t,e)(),j[n]=[this,t,e]};E.prototype.define=function(n,t){return new E(n,t,this.label)};var O=function(){t(j,function(n){var t=n[0],e=n[1],r=n[2];C.bind(t,e,r)()})},S=new E;S.get=function(n){return(j[n]||{})[0]};try{S.log()}catch(n){S=u(o,{define:function(){return S},get:function(){return S}})}return S.style=h,S.defaultStyle=function(n){return null!=n&&(g=n),g},S.filter=function(n){return{none:function(){return w=null,x=null,n(),this},include:function(t){return t!==w&&(w=t,n()),this},exclude:function(t){return t!==x&&(x=t,n()),this}}}(O),S.config=function(n){return n&&"object"==typeof n&&(p(n),O()),s},S});
//# sourceMappingURL=build/badgee.umd.js.map
{
"name": "badgee",
"author": "Olivier Audard <audard@gmail.com>",
"version": "2.0.2",
"version": "2.0.3",
"description": "a browser console improvement",

@@ -29,4 +29,4 @@ "main": "build/badgee.js",

"clean": "rimraf build && mkdirp build",
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel --output $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map",
"minify:umd": "uglifyjs $npm_package_umd_main -cm --output $npm_package_umd_main -p relative --in-source-map ${npm_package_umd_main}.map --source-map ${npm_package_umd_main}.map",
"minify:cjs": "uglifyjs $npm_package_main -cm toplevel --output $npm_package_main --source-map content=${npm_package_main}.map,url=${npm_package_main}.map",
"minify:umd": "uglifyjs $npm_package_umd_main -cm --output $npm_package_umd_main --source-map content=${npm_package_umd_main}.map,url=${npm_package_umd_main}.map",
"preversion": "npm run test",

@@ -55,7 +55,7 @@ "version": "npm run build && git add -A build",

"rimraf": "^2.6.1",
"rollup": "^0.45.2",
"rollup": "^0.49.0",
"rollup-plugin-buble": "^0.15.0",
"sinon": "^2.0.0",
"sinon": "^3.0.0",
"strip-json-comments-cli": "^1.0.1",
"uglify-js": "^2.8.29",
"uglify-js": "^3.0.28",
"watch": "^1.0.2"

@@ -62,0 +62,0 @@ },

import buble from 'rollup-plugin-buble';
export default {
useStrict: false,
sourceMap: true,
entry: 'src/badgee.js',
strict: false,
sourcemap: true,
input: 'src/badgee.js',
moduleContext: {

@@ -8,0 +8,0 @@ 'src/console.js': '(typeof window !== "undefined" ? window : global)'

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