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

@coreui/icons-angular

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coreui/icons-angular - npm Package Compare versions

Comparing version 5.1.10 to 5.1.11

schematics/ng-add/package-config.d.ts

2

package.json
{
"name": "@coreui/icons-angular",
"version": "5.1.10",
"version": "5.1.11",
"description": "CoreUI Icons Angular component and service",

@@ -5,0 +5,0 @@ "copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ngAdd = void 0;
const schematics_1 = require("@angular-devkit/schematics");
const tasks_1 = require("@angular-devkit/schematics/tasks");
const dependencies_1 = require("@schematics/angular/utility/dependencies");
const package_config_1 = require("./package-config");
const pkgJson = require("../../package.json");
function ngAdd() {
return (tree, context) => {
context.logger.info('Installing @coreui/icons-angular ...');
const pkg = pkgJson;
context.logger.info(``);
context.logger.info(`Installing ${pkg.name} dependencies...`);
const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(tree, '@angular/core');
context.logger.info(`@angular/core version ${ngCoreVersionTag}`);
if (!ngCoreVersionTag) {
throw new schematics_1.SchematicsException('@angular/core version not found');
}
const projectDeps = [
{ name: '@angular/common', type: dependencies_1.NodeDependencyType.Default, version: ngCoreVersionTag, overwrite: false },
{ name: '@angular/core', type: dependencies_1.NodeDependencyType.Default, version: ngCoreVersionTag, overwrite: false },
{
name: '@angular/platform-browser',
type: dependencies_1.NodeDependencyType.Default,
version: ngCoreVersionTag,
overwrite: false
}
];
projectDeps.forEach((dep) => {
(0, dependencies_1.addPackageJsonDependency)(tree, dep);
context.logger.info(`Added dependency: ${dep.name}@${dep.version}`);
});
const library = {
name: pkg.name,
type: dependencies_1.NodeDependencyType.Default,
version: `~${pkg.version}`,
overwrite: true
};
(0, dependencies_1.addPackageJsonDependency)(tree, library);
context.logger.info(`Installing ${library.name}@${library.version}`);
context.addTask(new tasks_1.NodePackageInstallTask());

@@ -9,0 +42,0 @@ return tree;

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