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

auto-watch-pages

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-watch-pages - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "auto-watch-pages",
"version": "1.1.6",
"version": "1.1.7",
"description": "",

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

@@ -20,4 +20,9 @@ const path = require('path');

let hash = '';
let fileKeyLength = fileKey.length;
routerNmae = '/' + routerNmae.substring(0, routerNmae.length - fileKey.length).toLowerCase();
if (fileKey.toLowerCase().indexOf('index') !== -1) {
fileKeyLength = fileKeyLength + 1;
}
routerNmae = '/' + routerNmae.substring(0, routerNmae.length - fileKeyLength).toLowerCase();

@@ -24,0 +29,0 @@ importName = importName.substring(0, importName.length - 3);

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