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

@nx-tools/core

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nx-tools/core - npm Package Compare versions

Comparing version 3.0.1 to 4.0.0-alpha.1

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## [3.0.1](https://github.com/gperdomor/nx-tools/compare/core@3.0.0...core@3.0.1) (2022-07-11)
### Bug Fixes
- **core:** move from chalk to colorette ([5a5e7fa](https://github.com/gperdomor/nx-tools/commit/5a5e7facf1d47fb8b547fc2f5bf7ea0a9bc914ab))
## [3.0.0](https://github.com/gperdomor/nx-tools/compare/core@3.0.0-alpha.3...core@3.0.0) (2022-06-14)

@@ -7,0 +13,0 @@

12

package.json
{
"name": "@nx-tools/core",
"version": "3.0.1",
"version": "4.0.0-alpha.1",
"type": "commonjs",
"author": "gperdomor <gperdomor@gmail.com>",
"repository": "https://github.com/nx-tools/nx-tools",
"bugs": "https://github.com/nx-tools/nx-tools/issues",
"repository": "https://github.com/gperdomor/nx-tools",
"bugs": "https://github.com/gperdomor/nx-tools/issues",
"license": "MIT",

@@ -13,5 +13,5 @@ "engines": {

"dependencies": {
"@actions/exec": "^1.1.1",
"@swc/helpers": "^0.4.3",
"colorette": "^2.0.19"
"@actions/exec": "1.1.1",
"@swc/helpers": "0.4.9",
"colorette": "2.0.19"
},

@@ -18,0 +18,0 @@ "peerDependencies": {

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

"use strict";
/**
* Iterate an array in an asynchronous way
* @param array The array to iterate
* @param callback Callback
*/ "use strict";
Object.defineProperty(exports, "asyncForEach", {

@@ -3,0 +7,0 @@ enumerable: true,

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

"use strict";
/**
* Insert variables directly in the string.
* @param string String to interpolate.
* @returns Interpolated string.
*/ "use strict";
Object.defineProperty(exports, "interpolate", {

@@ -3,0 +7,0 @@ enumerable: true,

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

export declare function loadPackage(packageName: string, context: string, loaderFn?: Function): any;
export declare function loadPackage(packageName: string, context: string, loaderFn?: Function): Promise<any>;

@@ -8,5 +8,5 @@ "use strict";

const MISSING_REQUIRED_DEPENDENCY = (name, reason)=>`The "${name}" package is missing. Please, make sure to install this library ($ npm install ${name}) to take advantage of ${reason}.`;
function loadPackage(packageName, context, loaderFn) {
async function loadPackage(packageName, context, loaderFn) {
try {
return loaderFn ? loaderFn() : require(packageName);
return loaderFn ? loaderFn() : await Promise.resolve(packageName).then((p)=>require(p));
} catch (e) {

@@ -13,0 +13,0 @@ _devkit.logger.error(`PackageLoader - ${MISSING_REQUIRED_DEPENDENCY(packageName, context)}`);

@@ -21,3 +21,4 @@ "use strict";

function isDebug() {
return process.env['RUNNER_DEBUG'] === '1';
const debug = process.env['RUNNER_DEBUG'];
return debug === 'true' || debug === '1';
}

@@ -24,0 +25,0 @@ function debug(message) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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