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

di-hard

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

di-hard - npm Package Compare versions

Comparing version 2.0.0-0 to 2.0.0-1

4

dist/modules.js

@@ -144,4 +144,4 @@ "use strict";

}
if (!/^\w*$/.test(id)) {
throw new Error(`Cannot register '${id}' - invalid characters. Allowed characters: 'a-z', 'A-Z', '0-9' and '_'`);
if (!/^[a-z](?:[_-]?[a-z0-9]+)*$/i.test(id)) {
throw new Error(`Cannot register '${id}' - invalid ID. Allowed characters: 'a-z', 'A-Z', '0-9', '-' and '_'. Must begin with a letter, and end with a letter or number`);
}

@@ -148,0 +148,0 @@ }

{
"name": "di-hard",
"version": "2.0.0-0",
"version": "2.0.0-1",
"description": "Dependency injection",

@@ -5,0 +5,0 @@ "main": "./dist",

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