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

@launchtray/hatch-util

Package Overview
Dependencies
Maintainers
2
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchtray/hatch-util - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

12

CHANGELOG.json

@@ -5,2 +5,14 @@ {

{
"version": "0.1.2",
"tag": "@launchtray/hatch-util_v0.1.2",
"date": "Tue, 14 Jan 2020 09:51:30 GMT",
"comments": {
"patch": [
{
"comment": "Bug fixes following initial test release"
}
]
}
},
{
"version": "0.1.1",

@@ -7,0 +19,0 @@ "tag": "@launchtray/hatch-util_v0.1.1",

9

CHANGELOG.md
# Change Log - @launchtray/hatch-util
This log was last generated on Tue, 14 Jan 2020 09:17:35 GMT and should not be manually modified.
This log was last generated on Tue, 14 Jan 2020 09:51:30 GMT and should not be manually modified.
## 0.1.2
Tue, 14 Jan 2020 09:51:30 GMT
### Patches
- Bug fixes following initial test release
## 0.1.1

@@ -6,0 +13,0 @@ Tue, 14 Jan 2020 09:17:35 GMT

2

package.json
{
"name": "@launchtray/hatch-util",
"version": "0.1.1",
"version": "0.1.2",
"description": "Utilities used by several other hatch modules",

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

@@ -105,2 +105,10 @@ import 'reflect-metadata';

const resolveAll = (container: DependencyContainer, token: InjectionToken<any>) => {
try {
return container.resolveAll(token)
} catch {
return [];
}
};
// This is adapted from tsyringe's autoInjectable

@@ -120,3 +128,3 @@ export const resolveArgs = (

return type.multiple
? container.resolveAll(type.token)
? resolveAll(container, type.token)
: container.resolve(type.token);

@@ -123,0 +131,0 @@ }

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