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 18.0.0 to 18.0.1

2

dist/builders/dev-server/index.d.ts
import { BuilderContext } from "@angular-devkit/architect";
import { DevServerBuilderOptions, DevServerBuilderOutput } from "@angular-devkit/build-angular";
import { JsonObject } from "@angular-devkit/core";
import { Observable } from "rxjs";
import { NgxEnvSchema } from "../ngx-env/ngx-env-schema";
import { JsonObject } from "@angular-devkit/core";
export declare const buildWithPlugin: (options: DevServerBuilderOptions & NgxEnvSchema, context: BuilderContext) => Observable<DevServerBuilderOutput>;
declare const _default: import("@angular-devkit/architect/src/internal").Builder<DevServerBuilderOptions & JsonObject>;
export default _default;

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

}
return (0, rxjs_1.combineLatest)([setup(), builderName(), (0, project_1.getProjectCwd)(context)]).pipe((0, rxjs_1.switchMap)((_b) => __awaiter(void 0, [_b], void 0, function* ([_options, builderName, cwd]) {
return (0, rxjs_1.combineLatest)([setup(), builderName(), (0, project_1.getProjectCwd)(context)]).pipe((0, rxjs_1.switchMap)(([_options, builderName, cwd]) => {
const dotenvRunOptions = Object.assign(Object.assign(Object.assign({}, options.ngxEnv), _options.ngxEnv), { global: "_NGX_ENV_", cwd });

@@ -48,3 +48,3 @@ if (builderName === "@ngx-env/builder:application") {

context.validateOptions = () => __awaiter(void 0, void 0, void 0, function* () { return _options; });
const result = (0, build_angular_1.executeDevServerBuilder)(options, context, {
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, dotenvRunOptions.runtime); }),

@@ -55,3 +55,2 @@ }, {

});
return result.pipe((0, rxjs_1.tap)((res) => { }));
}

@@ -61,5 +60,5 @@ else {

}
})));
}));
};
exports.buildWithPlugin = buildWithPlugin;
exports.default = (0, architect_1.createBuilder)(exports.buildWithPlugin);
{
"name": "@ngx-env/builder",
"version": "18.0.0",
"version": "18.0.1",
"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