New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nx/devkit

Package Overview
Dependencies
Maintainers
0
Versions
898
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx/devkit - npm Package Compare versions

Comparing version 0.0.0-pr-29314-e664f92 to 0.0.0-pr-29636-0cd26ed

2

package.json
{
"name": "@nx/devkit",
"version": "0.0.0-pr-29314-e664f92",
"version": "0.0.0-pr-29636-0cd26ed",
"private": false,

@@ -5,0 +5,0 @@ "description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.",

@@ -58,4 +58,8 @@ "use strict";

// Errors are okay for this because we're only running 1 plugin
if (e instanceof devkit_internals_1.ProjectConfigurationsError) {
if ((0, devkit_internals_1.isProjectConfigurationsError)(e)) {
projConfigs = e.partialProjectConfigurationsResult;
// ignore errors from projects with no name
if (!e.errors.every(devkit_internals_1.isProjectsWithNoNameError)) {
throw e;
}
}

@@ -93,4 +97,8 @@ else {

// Errors are okay for this because we're only running 1 plugin
if (e instanceof devkit_internals_1.ProjectConfigurationsError) {
if ((0, devkit_internals_1.isProjectConfigurationsError)(e)) {
projConfigs = e.partialProjectConfigurationsResult;
// ignore errors from projects with no name
if (!e.errors.every(devkit_internals_1.isProjectsWithNoNameError)) {
throw e;
}
}

@@ -135,2 +143,3 @@ else {

let hasChanges = false;
targetCommands.sort((a, b) => b.command.split(/\s/).length - a.command.split(/\s/).length);
for (const targetCommand of targetCommands) {

@@ -202,3 +211,4 @@ const { command, target, configuration } = targetCommand;

// they are the same, replace with the command removing the args
packageJson.scripts[scriptName] = packageJson.scripts[scriptName].replace(match, match.replace(commandRegex, configuration
const script = packageJson.scripts[scriptName];
packageJson.scripts[scriptName] = script.replace(match, match.replace(commandRegex, configuration
? `$1nx ${target} --configuration=${configuration}$4`

@@ -205,0 +215,0 @@ : `$1nx ${target}$4`));

@@ -1,1 +0,1 @@

export declare const typescriptVersion = "~5.6.2";
export declare const typescriptVersion = "~5.7.2";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.typescriptVersion = void 0;
exports.typescriptVersion = '~5.6.2';
exports.typescriptVersion = '~5.7.2';

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