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

lazy-assert

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lazy-assert - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

2

package.json
{
"name": "lazy-assert",
"version": "0.2.9",
"version": "0.2.10",
"description": "An way of doing assertion for lazy people ...",

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

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

#!/bin/env node
#!/usr/bin/env node

@@ -7,2 +7,2 @@ var utils = require('../utils');

var basePath = utils.j('.');
lib.refreshAll(basePath);
lib.refreshAll(basePath, true);

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

#!/bin/env node
#!/usr/bin/env node

@@ -7,2 +7,2 @@ var utils = require('../utils');

var basePath = utils.j('.');
lib.removeAll(basePath);
lib.removeAll(basePath, true);

@@ -45,5 +45,6 @@ var utils = require('../utils');

refreshAll: function (basePath) {
refreshAll: function (basePath, output) {
lib.forEachActual(basePath, function (actualPath, expectedPath) {
// console.log('@@d', actualPath, expectedPath);
output && console.log('[INFO] refreshing ' + actualPath);
utils.write(actualPath,

@@ -55,4 +56,5 @@ utils.read(expectedPath)

removeAll: function (basePath) {
removeAll: function (basePath, output) {
lib.forEachActual(basePath, function (actualPath) {
output && console.log('[INFO] removing ' + actualPath);
fs.unlink(actualPath);

@@ -59,0 +61,0 @@ });

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