Socket
Socket
Sign inDemoInstall

@nx/devkit

Package Overview
Dependencies
Maintainers
5
Versions
611
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 17.0.0-beta.2 to 17.0.0-beta.4

5

index.d.ts

@@ -13,8 +13,3 @@ /**

*/
// TODO(v17): remove this file, we can use the normally generated index.d.ts from index.ts
/* eslint-disable @typescript-eslint/no-restricted-imports */
export * from 'nx/src/devkit-exports';
export * from './public-api';

21

index.js

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

"use strict";
/**

@@ -13,16 +14,6 @@ * The Nx Devkit is the underlying technology used to customize Nx to support

*/
try {
// TODO(v17): We will not need to maintain this file anymore, change this to a regular export statement
// This file was introduced in the nx package in v15.7 but devkit is compatible down to v14.1 which doesn't have this file.
module.exports = require('nx/src/devkit-exports');
} catch {
// These are the nx-reexports from before v16
// TODO(v17): This can be removed once the above is done.
module.exports = require('./nx-reexports-pre16');
}
module.exports = {
...module.exports,
...require('./public-api'),
};
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
tslib_1.__exportStar(require("nx/src/devkit-exports"), exports);
tslib_1.__exportStar(require("./public-api"), exports);
/**
* @category Ng CLI Adapter
*/
export { wrapAngularDevkitSchematic, overrideCollectionResolutionForTesting, mockSchematicsForTesting, NxScopedHost, } from 'nx/src/adapter/ngcli-adapter';
export { wrapAngularDevkitSchematic, mockSchematicsForTesting, NxScopedHost, } from 'nx/src/adapter/ngcli-adapter';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NxScopedHost = exports.mockSchematicsForTesting = exports.overrideCollectionResolutionForTesting = exports.wrapAngularDevkitSchematic = void 0;
exports.NxScopedHost = exports.mockSchematicsForTesting = exports.wrapAngularDevkitSchematic = void 0;
/**

@@ -10,4 +10,3 @@ * @category Ng CLI Adapter

Object.defineProperty(exports, "wrapAngularDevkitSchematic", { enumerable: true, get: function () { return ngcli_adapter_1.wrapAngularDevkitSchematic; } });
Object.defineProperty(exports, "overrideCollectionResolutionForTesting", { enumerable: true, get: function () { return ngcli_adapter_1.overrideCollectionResolutionForTesting; } });
Object.defineProperty(exports, "mockSchematicsForTesting", { enumerable: true, get: function () { return ngcli_adapter_1.mockSchematicsForTesting; } });
Object.defineProperty(exports, "NxScopedHost", { enumerable: true, get: function () { return ngcli_adapter_1.NxScopedHost; } });

@@ -8,19 +8,13 @@ "use strict";

function requireNx() {
let result = { ...require('nx/src/devkit-exports') };
try {
let result = { ...require('nx/src/devkit-exports') };
try {
result = {
...result,
// Remove in Nx v18, devkit should not support Nx v16.0.2 at that point.
...require('nx/src/devkit-internals'),
};
}
catch { }
return result;
result = {
...result,
// Remove in Nx v18, devkit should not support Nx v16.0.2 at that point.
...require('nx/src/devkit-internals'),
};
}
catch {
// Remove in Nx V17, devkit should not support Nx < 16 at that point.
return require('./nx-reexports-pre16');
}
catch { }
return result;
}
exports.requireNx = requireNx;
{
"name": "@nx/devkit",
"version": "17.0.0-beta.2",
"version": "17.0.0-beta.4",
"private": false,

@@ -37,6 +37,6 @@ "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.",

"semver": "7.5.3",
"@nrwl/devkit": "17.0.0-beta.2"
"@nrwl/devkit": "17.0.0-beta.4"
},
"peerDependencies": {
"nx": ">= 15 <= 17"
"nx": ">= 16 <= 18"
},

@@ -43,0 +43,0 @@ "publishConfig": {

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

// eslint-disable-next-line @typescript-eslint/no-restricted-imports
export * from 'nx/src/devkit-testing-exports';

@@ -1,9 +0,5 @@

try {
// TODO(v17): We will not need to maintain this file anymore, change this to a regular export statement
// This file was introduced in the nx package in v15.7 but devkit is compatible down to v14.1 which doesn't have this file.
module.exports = require('nx/src/devkit-testing-exports');
} catch {
// These are the nx-reexports from before v16
// TODO(v17): This can be removed once the above is done.
module.exports = require('./testing-pre16');
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
tslib_1.__exportStar(require("nx/src/devkit-testing-exports"), exports);
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