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

@fimbul/wotan

Package Overview
Dependencies
Maintainers
2
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/wotan - npm Package Compare versions

Comparing version 0.22.0-dev.20190619 to 0.22.0-dev.20190620

4

package.json
{
"name": "@fimbul/wotan",
"version": "0.22.0-dev.20190619",
"version": "0.22.0-dev.20190620",
"description": "Pluggable TypeScript and JavaScript linter",

@@ -57,3 +57,3 @@ "bin": "bin/main.js",

"minimatch": "^3.0.4",
"normalize-glob": "^0.0.1",
"normalize-glob": "^0.0.2",
"reflect-metadata": "^0.1.12",

@@ -60,0 +60,0 @@ "resolve": "^1.5.0",

@@ -185,5 +185,10 @@ "use strict";

for (const pattern of patterns) {
if (!pattern.hasMagic)
nonMagicGlobs.push(pattern.normalized[0]);
include.push(...pattern.normalized.map((p) => new minimatch_1.Minimatch(p)));
if (!pattern.hasMagic) {
const mm = new minimatch_1.Minimatch(pattern.normalized[0]);
nonMagicGlobs.push({ raw: pattern.normalized[0], match: mm });
include.push(mm);
}
else {
include.push(...pattern.normalized.map((p) => new minimatch_1.Minimatch(p)));
}
}

@@ -322,4 +327,4 @@ const ex = exclude.map((p) => new minimatch_1.Minimatch(p, { dot: true }));

for (const pattern of include)
if (!files.includes(pattern) && !isExcluded(pattern, exclude))
throw new ymir_1.ConfigurationError(`'${pattern}' is not included in any of the projects: '${projects.join("', '")}'.`);
if (!isExcluded(pattern.raw, exclude) && !files.some((f) => pattern.match.match(f)))
throw new ymir_1.ConfigurationError(`'${pattern.raw}' is not included in any of the projects: '${projects.join("', '")}'.`);
}

@@ -326,0 +331,0 @@ function isExcluded(file, exclude) {

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