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.43 to 1.0.44

9

CHANGELOG.md

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

<a name="1.0.44"></a>
## 1.0.44 (2017-08-28)
* 1.0.44 ([137d913](https://github.com/wessberg/di-compiler/commit/137d913))
* Added the possibility of excluding files ([f449c6e](https://github.com/wessberg/di-compiler/commit/f449c6e))
* Bumped version ([25e24f5](https://github.com/wessberg/di-compiler/commit/25e24f5))
<a name="1.0.43"></a>

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

2

dist/es2015/Compiler/Compiler.d.ts

@@ -49,3 +49,3 @@ import { ICompiler, ICompilerResult } from "./Interface/ICompiler";

*/
excludeFiles(match: RegExp | RegExp[] | Set<RegExp>): void;
excludeFiles(match: RegExp | Iterable<RegExp>): void;
/**

@@ -52,0 +52,0 @@ * Validates that all constructor references to services are actually being registered as services

@@ -32,6 +32,9 @@ import { PathValidator } from "@wessberg/compiler-common";

excludeFiles(match) {
if (match instanceof Set || Array.isArray(match))
// Exclude internally
if (match instanceof RegExp)
this.excludedFiles.add(match);
else
[...match].forEach(regExpItem => this.excludedFiles.add(regExpItem));
else
this.excludedFiles.add(match);
// Exclude externally
this.host.excludeFiles(match);
}

@@ -38,0 +41,0 @@ /**

@@ -11,6 +11,6 @@ import { IHasAlteredable } from "./Compiler/Interface/ICompiler";

* @param {string} code
* @param {RegExp|RegExp[]|Set<RegExp>} [excludePaths]
* @param {RegExp|RegExp[]|Iterable<RegExp>} [excludePaths]
* @returns {ICompileFileResult}
*/
export declare function compile(id: string, code: string, excludePaths?: RegExp | RegExp[] | Set<RegExp>): ICompileFileResult;
export declare function compile(id: string, code: string, excludePaths?: RegExp | Iterable<RegExp>): ICompileFileResult;
/**

@@ -17,0 +17,0 @@ * Retrieves and returns a stringified map between class identifiers and their constructor arguments.

@@ -18,3 +18,3 @@ import { CodeAnalyzer } from "@wessberg/codeanalyzer";

* @param {string} code
* @param {RegExp|RegExp[]|Set<RegExp>} [excludePaths]
* @param {RegExp|RegExp[]|Iterable<RegExp>} [excludePaths]
* @returns {ICompileFileResult}

@@ -21,0 +21,0 @@ */

@@ -49,3 +49,3 @@ import { ICompiler, ICompilerResult } from "./Interface/ICompiler";

*/
excludeFiles(match: RegExp | RegExp[] | Set<RegExp>): void;
excludeFiles(match: RegExp | Iterable<RegExp>): void;
/**

@@ -52,0 +52,0 @@ * Validates that all constructor references to services are actually being registered as services

@@ -43,6 +43,9 @@ (function (factory) {

excludeFiles(match) {
if (match instanceof Set || Array.isArray(match))
// Exclude internally
if (match instanceof RegExp)
this.excludedFiles.add(match);
else
[...match].forEach(regExpItem => this.excludedFiles.add(regExpItem));
else
this.excludedFiles.add(match);
// Exclude externally
this.host.excludeFiles(match);
}

@@ -49,0 +52,0 @@ /**

@@ -11,6 +11,6 @@ import { IHasAlteredable } from "./Compiler/Interface/ICompiler";

* @param {string} code
* @param {RegExp|RegExp[]|Set<RegExp>} [excludePaths]
* @param {RegExp|RegExp[]|Iterable<RegExp>} [excludePaths]
* @returns {ICompileFileResult}
*/
export declare function compile(id: string, code: string, excludePaths?: RegExp | RegExp[] | Set<RegExp>): ICompileFileResult;
export declare function compile(id: string, code: string, excludePaths?: RegExp | Iterable<RegExp>): ICompileFileResult;
/**

@@ -17,0 +17,0 @@ * Retrieves and returns a stringified map between class identifiers and their constructor arguments.

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

* @param {string} code
* @param {RegExp|RegExp[]|Set<RegExp>} [excludePaths]
* @param {RegExp|RegExp[]|Iterable<RegExp>} [excludePaths]
* @returns {ICompileFileResult}

@@ -32,0 +32,0 @@ */

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

@@ -56,3 +56,3 @@ "scripts": {

"dependencies": {
"@wessberg/codeanalyzer": "^1.0.56",
"@wessberg/codeanalyzer": "^1.0.57",
"@wessberg/compiler-common": "^1.0.0",

@@ -59,0 +59,0 @@ "@wessberg/globalobject": "^1.0.7",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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