@angular/cli
Advanced tools
Comparing version 18.0.6 to 18.0.7
{ | ||
"name": "@angular/cli", | ||
"version": "18.0.6", | ||
"version": "18.0.7", | ||
"description": "CLI tool for Angular", | ||
@@ -28,6 +28,6 @@ "main": "lib/cli/index.js", | ||
"dependencies": { | ||
"@angular-devkit/architect": "0.1800.6", | ||
"@angular-devkit/core": "18.0.6", | ||
"@angular-devkit/schematics": "18.0.6", | ||
"@schematics/angular": "18.0.6", | ||
"@angular-devkit/architect": "0.1800.7", | ||
"@angular-devkit/core": "18.0.7", | ||
"@angular-devkit/schematics": "18.0.7", | ||
"@schematics/angular": "18.0.7", | ||
"@yarnpkg/lockfile": "1.1.0", | ||
@@ -50,10 +50,10 @@ "ansi-colors": "4.1.3", | ||
"packageGroup": { | ||
"@angular/cli": "18.0.6", | ||
"@angular/build": "18.0.6", | ||
"@angular/ssr": "18.0.6", | ||
"@angular-devkit/architect": "0.1800.6", | ||
"@angular-devkit/build-angular": "18.0.6", | ||
"@angular-devkit/build-webpack": "0.1800.6", | ||
"@angular-devkit/core": "18.0.6", | ||
"@angular-devkit/schematics": "18.0.6" | ||
"@angular/cli": "18.0.7", | ||
"@angular/build": "18.0.7", | ||
"@angular/ssr": "18.0.7", | ||
"@angular-devkit/architect": "0.1800.7", | ||
"@angular-devkit/build-angular": "18.0.7", | ||
"@angular-devkit/build-webpack": "0.1800.7", | ||
"@angular-devkit/core": "18.0.7", | ||
"@angular-devkit/schematics": "18.0.7" | ||
} | ||
@@ -60,0 +60,0 @@ }, |
@@ -194,3 +194,3 @@ "use strict"; | ||
function _performUpdate(tree, context, infoMap, logger, migrateOnly) { | ||
const packageJsonContent = tree.read('/package.json'); | ||
const packageJsonContent = tree.read('/package.json')?.toString(); | ||
if (!packageJsonContent) { | ||
@@ -236,6 +236,8 @@ throw new schematics_1.SchematicsException('Could not find a package.json. Are you in a Node project?'); | ||
}); | ||
const newContent = JSON.stringify(packageJson, null, 2); | ||
if (packageJsonContent.toString() != newContent || migrateOnly) { | ||
const eofMatches = packageJsonContent.match(/\r?\n$/); | ||
const eof = eofMatches?.[0] ?? ''; | ||
const newContent = JSON.stringify(packageJson, null, 2) + eof; | ||
if (packageJsonContent != newContent || migrateOnly) { | ||
if (!migrateOnly) { | ||
tree.overwrite('/package.json', JSON.stringify(packageJson, null, 2)); | ||
tree.overwrite('/package.json', newContent); | ||
} | ||
@@ -242,0 +244,0 @@ const externalMigrations = []; |
@@ -28,3 +28,3 @@ "use strict"; | ||
// TODO(bazel): Convert this to use build-time version stamping after flipping the build script to use bazel | ||
// export const VERSION = new Version('18.0.6'); | ||
// export const VERSION = new Version('18.0.7'); | ||
exports.VERSION = new Version(JSON.parse((0, fs_1.readFileSync)((0, path_1.resolve)(__dirname, '../../package.json'), 'utf-8')).version); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
616565
15295
+ Added@angular-devkit/architect@0.1800.7(transitive)
+ Added@angular-devkit/core@18.0.7(transitive)
+ Added@angular-devkit/schematics@18.0.7(transitive)
+ Added@schematics/angular@18.0.7(transitive)
- Removed@angular-devkit/architect@0.1800.6(transitive)
- Removed@angular-devkit/core@18.0.6(transitive)
- Removed@angular-devkit/schematics@18.0.6(transitive)
- Removed@schematics/angular@18.0.6(transitive)
Updated@angular-devkit/core@18.0.7
Updated@schematics/angular@18.0.7