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

@angular/bazel

Package Overview
Dependencies
Maintainers
2
Versions
566
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/bazel - npm Package Compare versions

Comparing version 15.2.0-next.1 to 15.2.0-next.2

src/ngc-wrapped/utils.d.ts

4

package.json
{
"name": "@angular/bazel",
"version": "15.2.0-next.1",
"version": "15.2.0-next.2",
"description": "Angular - bazel build rules",

@@ -31,3 +31,3 @@ "author": "angular",

"peerDependencies": {
"@angular/compiler-cli": "15.2.0-next.1",
"@angular/compiler-cli": "15.2.0-next.2",
"@bazel/concatjs": "^5.3.0",

@@ -34,0 +34,0 @@ "@bazel/worker": "^5.3.0",

@@ -28,3 +28,2 @@ /**

const bannerFile = TMPL_banner_file;
const stampData = TMPL_stamp_data;
const moduleMappings = TMPL_module_mappings;

@@ -39,3 +38,2 @@ const downlevelToES2015 = TMPL_downlevel_to_es2015;

bannerFile: ${bannerFile}
stampData: ${stampData}
moduleMappings: ${JSON.stringify(moduleMappings)}

@@ -138,15 +136,5 @@ nodeModulesRoot: ${nodeModulesRoot}

let banner = '';
let bannerContent = '';
if (bannerFile) {
banner = fs.readFileSync(bannerFile, {encoding: 'utf-8'});
if (stampData) {
const versionTag = fs.readFileSync(stampData, {encoding: 'utf-8'})
.split('\n')
.find((s) => s.startsWith('STABLE_PROJECT_VERSION'));
// Don't assume STABLE_PROJECT_VERSION exists
if (versionTag) {
const version = versionTag.split(' ')[1].trim();
banner = banner.replace(/15.2.0-next.1/, version);
}
}
bannerContent = fs.readFileSync(bannerFile, {encoding: 'utf-8'});
}

@@ -223,3 +211,3 @@

output: {
banner,
banner: bannerContent,
},

@@ -226,0 +214,0 @@ };

@@ -19,3 +19,2 @@ /**

}): Promise<boolean>;
export declare function relativeToRootDirs(filePath: string, rootDirs: string[]): string;
export declare function compile({ allDepsCompiledWithBazel, useManifestPathsAsModuleName, compilerOpts, tsHost, bazelOpts, files, inputs, expectedOuts, gatherDiagnostics, bazelHost, }: {

@@ -47,10 +46,6 @@ allDepsCompiledWithBazel?: boolean;

/**
* Adds support for the optional `fileNameToModuleName` operation to a given `ng.CompilerHost`.
*
* This is used within `ngc-wrapped` and the Bazel compilation flow, but is exported here to allow
* for other consumers of the compiler to access this same logic. For example, the xi18n operation
* in g3 configures its own `ng.CompilerHost` which also requires `fileNameToModuleName` to work
* correctly.
* @deprecated
* Kept here just for compatibility with 1P tools. To be removed soon after 1P update.
*/
export declare function patchNgHostWithFileNameToModuleName(ngHost: ng.CompilerHost, compilerOpts: ng.CompilerOptions, bazelOpts: BazelOptions, rootDirs: string[], useManifestPathsAsModuleName: boolean): void;
export {};

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