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

@nx/devkit

Package Overview
Dependencies
Maintainers
4
Versions
704
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 16.0.1 to 16.0.2

2

nx.d.ts

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

export declare function requireNx(): typeof import('nx/src/devkit-exports');
export declare function requireNx(): typeof import('nx/src/devkit-exports') & Partial<typeof import('nx/src/devkit-internals')>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.requireNx = void 0;
// After Nx v18, this can be removed and replaced with either:
// - import {} from 'nx/src/devkit-exports'
// - import {} from 'nx/src/devkit-internals'
function requireNx() {
try {
return require('nx/src/devkit-exports');
let result = Object.assign({}, require('nx/src/devkit-exports'));
try {
result = Object.assign(Object.assign({}, result), require('nx/src/devkit-internals'));
}
catch (_a) { }
return result;
}
catch (_a) {
catch (_b) {
// Remove in Nx V17, devkit should not support Nx < 16 at that point.
return require('./nx-reexports-pre16');

@@ -10,0 +19,0 @@ }

{
"name": "@nx/devkit",
"version": "16.0.1",
"version": "16.0.2",
"private": false,

@@ -31,3 +31,3 @@ "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.",

"dependencies": {
"@nrwl/devkit": "16.0.1",
"@nrwl/devkit": "16.0.2",
"ejs": "^3.1.7",

@@ -49,3 +49,3 @@ "ignore": "^5.0.4",

"types": "./index.d.ts",
"gitHead": "b06bc241eab3a41dd189cf62d334a14745fc29ee"
"gitHead": "e48d7d1835c13b23df9515bea186722d47a15ba5"
}

@@ -11,3 +11,3 @@ "use strict";

const path_1 = require("path");
const { readJson, updateJson, getPackageManagerCommand, workspaceRoot, detectPackageManager, } = (0, nx_1.requireNx)();
const { readJson, updateJson, getPackageManagerCommand, workspaceRoot, detectPackageManager, createTempNpmDirectory, } = (0, nx_1.requireNx)();
const UNIDENTIFIED_VERSION = 'UNIDENTIFIED_VERSION';

@@ -235,2 +235,3 @@ const NON_SEMVER_TAGS = {

function ensurePackage(pkgOrTree, requiredVersionOrPackage, maybeRequiredVersion, _) {
var _a;
let pkg;

@@ -261,3 +262,5 @@ let requiredVersion;

}
const tempDir = (0, tmp_1.dirSync)().name;
const { dir: tempDir } = (_a = createTempNpmDirectory === null || createTempNpmDirectory === void 0 ? void 0 : createTempNpmDirectory()) !== null && _a !== void 0 ? _a : {
dir: (0, tmp_1.dirSync)().name,
};
console.log(`Fetching ${pkg}...`);

@@ -264,0 +267,0 @@ const packageManager = detectPackageManager();

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