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

@js-bits/enumerate

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-bits/enumerate - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

2

index.js

@@ -31,3 +31,3 @@ const converters = new Map();

}
return result;
return Object.freeze(result);
};

@@ -34,0 +34,0 @@

@@ -115,2 +115,11 @@ import enumerate from './index.js';

});
describe('when new property is assigned to the return object', () => {
test('should throw an error', () => {
const result = enumerate`A B C`;
expect(() => {
result.D = 'D';
}).toThrow();
});
});
});
{
"name": "@js-bits/enumerate",
"version": "0.1.2",
"version": "0.2.0",
"description": "Easy to use, Symbol-based enum implementation",

@@ -5,0 +5,0 @@ "keywords": [

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