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

@invrs/npm-tasks

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invrs/npm-tasks - npm Package Compare versions

Comparing version 0.8.27 to 0.8.28

25

dist/index.js

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

const pkgPath = `${cwd}/packages`;
const pkgGlob = `${pkgPath}/*/package.json`;
const pkgGlob = `{${pkgPath}/*,}/package.json`;
const paths = yield (0, _util.promisify)(_glob.default)(pkgGlob);

@@ -122,5 +122,2 @@

const rm = ["rm", ["-rf", "node_modules", "package-lock.json"]];
yield run(...rm, {
cwd
});
yield eachPackage(cwd,

@@ -262,3 +259,3 @@ /*#__PURE__*/

var _ref2 = (0, _asyncToGenerator2.default)(function* ({
cwd,
path,
pkg

@@ -268,12 +265,14 @@ }) {

const dev = pkg.devDependencies[update];
const depVersion = dep || dev;
if (depVersion && depVersion != carat) {
yield tasks.npm({
cwd,
dev,
install: `${update}@${version}`,
update: false
});
if (dep && dep != carat) {
pkg.dependencies[update] = carat;
}
if (dev && dev != carat) {
pkg.devDependencies[update] = carat;
}
yield (0, _fsExtra.writeJson)(path, pkg, {
spaces: 2
});
});

@@ -280,0 +279,0 @@

{
"name": "@invrs/npm-tasks",
"version": "0.8.27",
"version": "0.8.28",
"description": "River tasks to run npm commands",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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