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

@wessberg/di-compiler

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/di-compiler - npm Package Compare versions

Comparing version 1.0.44 to 1.0.45

9

CHANGELOG.md

@@ -0,1 +1,10 @@

<a name="1.0.45"></a>
## 1.0.45 (2017-08-28)
* 1.0.45 ([d48376a](https://github.com/wessberg/di-compiler/commit/d48376a))
* Bumped version ([edbf7aa](https://github.com/wessberg/di-compiler/commit/edbf7aa))
* Qualified call expressions ([298768c](https://github.com/wessberg/di-compiler/commit/298768c))
<a name="1.0.44"></a>

@@ -2,0 +11,0 @@ ## 1.0.44 (2017-08-28)

3

dist/es2015/ServiceExpressionFinder/ServiceExpressionFinder.js
import { isFormattedIdentifier, isFormattedPropertyAccessExpression } from "@wessberg/type";
import { diConfig } from "../DIConfig/DIConfig";
/**

@@ -16,3 +17,3 @@ * Finds all expressions in the given statements related to the DIContainer.

find({ host, identifiers, filepath }) {
const expressions = host.getCallExpressionsForFile(filepath);
const expressions = host.findMatchingCallExpressionsForFile(filepath, diConfig.exportName);
return expressions.filter(exp => {

@@ -19,0 +20,0 @@ // We only support call expressions for now

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@wessberg/type"], factory);
define(["require", "exports", "@wessberg/type", "../DIConfig/DIConfig"], factory);
}

@@ -14,2 +14,3 @@ })(function (require, exports) {

const type_1 = require("@wessberg/type");
const DIConfig_1 = require("../DIConfig/DIConfig");
/**

@@ -29,3 +30,3 @@ * Finds all expressions in the given statements related to the DIContainer.

find({ host, identifiers, filepath }) {
const expressions = host.getCallExpressionsForFile(filepath);
const expressions = host.findMatchingCallExpressionsForFile(filepath, DIConfig_1.diConfig.exportName);
return expressions.filter(exp => {

@@ -32,0 +33,0 @@ // We only support call expressions for now

{
"name": "@wessberg/di-compiler",
"version": "1.0.44",
"version": "1.0.45",
"description": "The compiler for https://www.npmjs.com/package/@wessberg/di",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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