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

@ngx-env/builder

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-env/builder - npm Package Compare versions

Comparing version 17.2.2 to 17.2.3

6

dist/builders/dev-server/index.js

@@ -34,3 +34,3 @@ "use strict";

if ((yield builderName()) === "@ngx-env/builder:application") {
// Because of validateOptions being ignored, we need to validate options manually
// Because of ngxEnv being removed from the options, we need to validate it here
yield context.validateOptions(targetOptions, "@ngx-env/builder:application");

@@ -46,3 +46,5 @@ }

const { full, raw } = (0, core_1.env)(Object.assign(Object.assign({}, ngxEnvOptions), { environment: (0, get_environment_1.getEnvironment)(buildTarget.configuration) }));
return (0, build_angular_1.executeDevServerBuilder)(options, Object.assign(Object.assign({}, context), { validateOptions: (options) => __awaiter(void 0, void 0, void 0, function* () { return options; }) }), {
delete _options.ngxEnv;
context.getTargetOptions = () => __awaiter(void 0, void 0, void 0, function* () { return _options; });
return (0, build_angular_1.executeDevServerBuilder)(options, context, {
indexHtml: (content) => __awaiter(void 0, void 0, void 0, function* () { return (0, esbuild_index_html_1.devServerIndexHtml)(content, raw); }),

@@ -49,0 +51,0 @@ }, {

import { BuilderContext } from "@angular-devkit/architect";
import { ExtractI18nBuilderOptions } from "@angular-devkit/build-angular";
import { NgxEnvSchema } from "../ngx-env/ngx-env-schema";
import { JsonObject } from "@angular-devkit/core";
export declare const buildWithPlugin: (options: ExtractI18nBuilderOptions & NgxEnvSchema, context: BuilderContext) => import("rxjs").Observable<import("@angular-devkit/architect").BuilderOutput>;
declare const _default: import("@angular-devkit/architect/src/internal").Builder<ExtractI18nBuilderOptions & import("@angular-devkit/core").JsonObject>;
declare const _default: import("@angular-devkit/architect/src/internal").Builder<ExtractI18nBuilderOptions & JsonObject>;
export default _default;

@@ -24,3 +24,3 @@ "use strict";

if ((yield builderName()) === "@ngx-env/builder:application") {
// Because of validateOptions being ignored, we need to validate options manually
// Because of ngxEnv being removed from the options, we need to validate it here
yield context.validateOptions(targetOptions, "@ngx-env/builder:application");

@@ -41,3 +41,5 @@ }

else {
return (0, build_angular_1.executeExtractI18nBuilder)(options, Object.assign(Object.assign({}, context), { getBuilderNameForTarget: () => __awaiter(void 0, void 0, void 0, function* () { return "@angular-devkit/build-angular:" + builderName.split(":")[1]; }), validateOptions: (options) => __awaiter(void 0, void 0, void 0, function* () { return options; }) }));
delete _options.ngxEnv;
context.getTargetOptions = () => __awaiter(void 0, void 0, void 0, function* () { return _options; });
return (0, build_angular_1.executeExtractI18nBuilder)(options, Object.assign(Object.assign({}, context), { getBuilderNameForTarget: () => __awaiter(void 0, void 0, void 0, function* () { return "@angular-devkit/build-angular:" + builderName.split(":")[1]; }) }));
}

@@ -44,0 +46,0 @@ }));

{
"name": "@ngx-env/builder",
"version": "17.2.2",
"version": "17.2.3",
"description": "Easily inject environment variables into your Angular applications",

@@ -5,0 +5,0 @@ "author": "chihab <chihab@gmail.com>",

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