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

restrict-imports-loader

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

restrict-imports-loader - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

3

dist/deciders.js

@@ -25,5 +25,6 @@ "use strict";

const maxClimbs = maxLength / UP_ONE_LEVEL_LENGTH;
const s = maxClimbs === 1 ? "" : "s";
return Promise.resolve({
restricted: maxClimbs > levels,
info: `(consecutive "../"s: ${maxClimbs})`,
info: `(contains ${maxClimbs} consecutive occurrence${s} of "../"; max ${levels} allowed)`,
});

@@ -30,0 +31,0 @@ };

{
"name": "restrict-imports-loader",
"version": "3.1.0",
"version": "3.2.0",
"description": "A Webpack loader to restrict imports in ES and TypeScript",

@@ -5,0 +5,0 @@ "keywords": [

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc