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

@ogre-tools/injectable

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ogre-tools/injectable - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

4

package.json
{
"name": "@ogre-tools/injectable",
"private": false,
"version": "1.4.1",
"version": "1.4.2",
"description": "A brutal dependency injection container",

@@ -25,3 +25,3 @@ "repository": {

},
"gitHead": "b81b2b92b74798d94c8b38a249ab56e435d6c020",
"gitHead": "78746cbc745e83c905ec1c20e17988a11c9c5bc4",
"bugs": {

@@ -28,0 +28,0 @@ "url": "https://github.com/ogre-works/ogre-tools/issues"

@@ -11,6 +11,7 @@ import conforms from 'lodash/fp/conforms';

import invoke from 'lodash/fp/invoke';
import lifecycleEnum from './lifecycleEnum';
import map from 'lodash/fp/map';
import noop from 'lodash/fp/noop';
import reject from 'lodash/fp/reject';
import { pipeline } from '@ogre-tools/fp';
import reject from 'lodash/fp/reject';
import lifecycleEnum from './lifecycleEnum';

@@ -103,2 +104,3 @@ export default (...listOfGetRequireContexts) => {

...originalInjectable,
getDependencies: noop,
causesSideEffects: false,

@@ -105,0 +107,0 @@ instantiate: () => overrideValue,

@@ -160,2 +160,6 @@ import createContainer from './createContainer';

const childInjectable = {
getDependencies: () => {
throw Error('Should not come here');
},
instantiate: () => 'irrelevant',

@@ -162,0 +166,0 @@ };

Sorry, the diff of this file is too big to display

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