Socket
Socket
Sign inDemoInstall

idmp

Package Overview
Dependencies
0
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.1 to 1.6.2

26

dist/index.js

@@ -146,14 +146,18 @@ const DEFAULT_MAX_AGE = 3e3;

let idx = Infinity;
for (let key of [
"idmp/src/index.ts",
"idmp/",
"idmp\\",
"idmp"
]) {
const _idx = arr.findLastIndex((o) => o.includes(key));
if (_idx > -1) {
idx = _idx;
break;
$0:
for (let key of [
"idmp/src/index.ts",
"idmp/",
"idmp\\",
"idmp"
]) {
let _idx = arr.length - 1;
$1:
for (; _idx >= 0; --_idx) {
if (arr[_idx].indexOf(key) > -1) {
idx = _idx;
break $0;
}
}
}
}
const line = arr[idx + 1] || "";

@@ -160,0 +164,0 @@ return line;

{
"name": "idmp",
"version": "1.6.1",
"version": "1.6.2",
"keywords": [

@@ -5,0 +5,0 @@ "cache response",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc