"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/packages.ts" between
angular-cli-12.0.3.tar.gz and angular-cli-12.0.4.tar.gz

About: Angular CLI is a command line interface for Angular.

packages.ts  (angular-cli-12.0.3):packages.ts  (angular-cli-12.0.4)
skipping to change at line 88 skipping to change at line 88
return acc; return acc;
}, {}), }, {}),
); );
pkg[key] = b; pkg[key] = b;
break; break;
// Overwrite engines to a common default. // Overwrite engines to a common default.
case 'engines': case 'engines':
pkg['engines'] = { pkg['engines'] = {
'node': '^12.14.1 || ^14.0.0', 'node': '^12.14.1 || >=14.0.0',
'npm': '^6.11.0 || ^7.5.6', 'npm': '^6.11.0 || ^7.5.6',
'yarn': '>= 1.13.0', 'yarn': '>= 1.13.0',
}; };
break; break;
// Overwrite the package's key with to root one. // Overwrite the package's key with to root one.
default: default:
pkg[key] = root[key]; pkg[key] = root[key];
} }
} }
skipping to change at line 241 skipping to change at line 241
// Update with dependencies. // Update with dependencies.
for (const pkgName of Object.keys(packages)) { for (const pkgName of Object.keys(packages)) {
const pkg = packages[pkgName]; const pkg = packages[pkgName];
const pkgJson = require(path.join(pkg.root, 'package.json')); const pkgJson = require(path.join(pkg.root, 'package.json'));
pkg.dependencies = Object.keys(packages).filter((name) => { pkg.dependencies = Object.keys(packages).filter((name) => {
return name in (pkgJson.dependencies || {}) || name in (pkgJson.devDependenc ies || {}); return name in (pkgJson.dependencies || {}) || name in (pkgJson.devDependenc ies || {});
}); });
pkg.dependencies.forEach((depName) => packages[depName].reverseDependencies.pu sh(pkgName)); pkg.dependencies.forEach((depName) => packages[depName].reverseDependencies.pu sh(pkgName));
} }
/** The set of packages which are built and released. */
export const releasePackages = Object.fromEntries(
Object.entries(packages).filter(([_, pkg]) => !pkg.private),
);
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)