Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

dependency-injection-cat

Package Overview
Dependencies
34
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.18-beta to 0.0.19-beta

4

core/build-context/transformers/getBeanConfigObjectLiteral.js

@@ -5,2 +5,3 @@ "use strict";

var typescript_1 = require("typescript");
var lodash_1 = require("lodash");
var BeanRepository_1 = require("../../bean/BeanRepository");

@@ -10,3 +11,4 @@ function getBeanConfigObjectLiteral(contextDescriptor) {

var contextBeans = (_a = BeanRepository_1.BeanRepository.contextIdToBeanDescriptorsMap.get(contextDescriptor.id)) !== null && _a !== void 0 ? _a : [];
var objectLiteralMembers = contextBeans.map(function (bean) { return (typescript_1.factory.createPropertyAssignment(typescript_1.factory.createComputedPropertyName(typescript_1.factory.createStringLiteral(bean.classMemberName)), typescript_1.factory.createObjectLiteralExpression([
var uniqContextBeans = (0, lodash_1.uniqBy)(contextBeans, function (it) { return it.classMemberName; });
var objectLiteralMembers = uniqContextBeans.map(function (bean) { return (typescript_1.factory.createPropertyAssignment(typescript_1.factory.createComputedPropertyName(typescript_1.factory.createStringLiteral(bean.classMemberName)), typescript_1.factory.createObjectLiteralExpression([
typescript_1.factory.createPropertyAssignment(typescript_1.factory.createIdentifier('scope'), typescript_1.factory.createStringLiteral(bean.scope)),

@@ -13,0 +15,0 @@ bean.isPublic && typescript_1.factory.createPropertyAssignment(typescript_1.factory.createIdentifier('isPublic'), typescript_1.factory.createTrue()),

{
"name": "dependency-injection-cat",
"version": "0.0.18-beta",
"version": "0.0.19-beta",
"main": "index.js",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc