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

check-side-effects

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-side-effects - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

5

dist/cli.js

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

diff = diff_1.createPatch(expectedOutputPath, expectedOutput, result);
failedExpectations.push(diff);
failedExpectations.push({ testDescription: modulesDescription, diff: diff });
if (options.update) {

@@ -150,3 +150,4 @@ _recursiveMkDir(path_1.dirname(expectedOutputPath));

console.log('The following snapshots have changed:\n\n');
console.log(failedExpectations.map(function (diff) { return diff + "\n"; }).join('\n'));
console.log(failedExpectations
.map(function (s) { return "Snapshot for " + s.testDescription + " changed:\n\n" + s.diff + "\n"; }).join('\n'));
if (options.update) {

@@ -153,0 +154,0 @@ console.log(failedExpectations.length + " test expectations updated.\n");

2

package.json
{
"name": "check-side-effects",
"version": "0.0.21",
"version": "0.0.22",
"description": "Check if a ES module has side effects.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/filipesilva/check-side-effects",

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