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

@bonniernews/fake-tool-api

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonniernews/fake-tool-api - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

10

index.js

@@ -510,3 +510,7 @@ import nock from "nock";

}
return [ 200, content, { "sequence-number": ofType[id].sequenceNumber } ];
const headers = { "sequence-number": ofType[id].sequenceNumber };
if (workingCopiesByType[type]?.[id]) {
headers["working-copy-exists"] = true;
}
return [ 200, content, headers ];
}

@@ -617,3 +621,3 @@

if (body.q) {
const fields = ["title", "text"];
const fields = [ "title", "text" ];
let parts = [];

@@ -623,3 +627,3 @@ if (body.prefixMatchAllTerms) {

.split(" ")
.filter((p) => p.length > 0)
.filter((p) => p.length > 0);
}

@@ -626,0 +630,0 @@

{
"name": "@bonniernews/fake-tool-api",
"version": "1.1.3",
"version": "1.1.4",
"type": "module",

@@ -29,2 +29,2 @@ "description": "Mocked Bonnier News tool api, for use in automated tests",

}
}
}
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