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

enum-xyz

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enum-xyz - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

.github/workflows/integrate.yml

2

dist/enum-xyz.modern.js

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

const e=new Proxy({},{get:(e,r)=>r}),r=new Proxy({},{get:(e,r)=>r.toLowerCase()}),t=(()=>{const e=[];return new Proxy({},{get:(r,t)=>(e.push(t),e.indexOf(t))})})();module.exports={String:e,StringLower:r,Numeric:t,NumericAt:e=>{const r=[...Array(e).keys()];return new Proxy({},{get:(e,t)=>(r.push(t),r.indexOf(t))})}};
const e=new Proxy({},{get:(e,r)=>r}),r=new Proxy({},{get:(e,r)=>r.toLowerCase()}),o=e=>{const r=[...Array(e).keys()];return new Proxy({},{get:(e,o)=>(r.push(o),r.indexOf(o))})},t=o(0),n=new Proxy({},{get:(e,r)=>Symbol(r)}),y={String:e,StringLower:r,Numeric:t,NumericAt:o,Symbol:n};export{t as Numeric,o as NumericAt,e as String,r as StringLower,n as Symbol,y as default};
//# sourceMappingURL=enum-xyz.modern.js.map

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

var r,n=new Proxy({},{get:function(r,n){return n}}),e=new Proxy({},{get:function(r,n){return n.toLowerCase()}}),t=(r=[],new Proxy({},{get:function(n,e){return r.push(e),r.indexOf(e)}}));module.exports={String:n,StringLower:e,Numeric:t,NumericAt:function(r){var n=[].concat(Array(r).keys());return new Proxy({},{get:function(r,e){return n.push(e),n.indexOf(e)}})}};
var r=new Proxy({},{get:function(r,n){return n}}),n=new Proxy({},{get:function(r,n){return n.toLowerCase()}}),e=function(r){var n=[].concat(Array(r).keys());return new Proxy({},{get:function(r,e){return n.push(e),n.indexOf(e)}})},t=e(0),o=new Proxy({},{get:function(r,n){return Symbol(n)}}),u={String:r,StringLower:n,Numeric:t,NumericAt:e,Symbol:o};export{t as Numeric,e as NumericAt,r as String,n as StringLower,o as Symbol,u as default};
//# sourceMappingURL=enum-xyz.module.js.map

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

!function(n){"function"==typeof define&&define.amd?define(n):n()}(function(){var n,e=new Proxy({},{get:function(n,e){return e}}),r=new Proxy({},{get:function(n,e){return e.toLowerCase()}}),t=(n=[],new Proxy({},{get:function(e,r){return n.push(r),n.indexOf(r)}}));module.exports={String:e,StringLower:r,Numeric:t,NumericAt:function(n){var e=[].concat(Array(n).keys());return new Proxy({},{get:function(n,r){return e.push(r),e.indexOf(r)}})}}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e||self).enumXyz={})}(this,function(e){var n=new Proxy({},{get:function(e,n){return n}}),t=new Proxy({},{get:function(e,n){return n.toLowerCase()}}),r=function(e){var n=[].concat(Array(e).keys());return new Proxy({},{get:function(e,t){return n.push(t),n.indexOf(t)}})},o=r(0),i=new Proxy({},{get:function(e,n){return Symbol(n)}}),u={String:n,StringLower:t,Numeric:o,NumericAt:r,Symbol:i};e.Numeric=o,e.NumericAt=r,e.String=n,e.StringLower=t,e.Symbol=i,e.default=u});
//# sourceMappingURL=enum-xyz.umd.js.map
{
"name": "enum-xyz",
"type": "module",
"version": "0.0.6",
"version": "0.1.0",
"description": "JavaScript enums using proxies.",

@@ -22,3 +22,3 @@ "homepage": "https://github.com/chasefleming/enum-xyz",

"dev": "microbundle watch",
"test": "jest",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"build": "microbundle",

@@ -25,0 +25,0 @@ "publish": "npm run build && npm publish"

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

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