Socket
Socket
Sign inDemoInstall

yaspeller

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaspeller - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

3

CHANGELOG.md
# Changelog
# 3.2.0
- File extension with multiple dots #66, #67 @levonet
# 3.1.0

@@ -4,0 +7,0 @@ - Remove acute accent, shy and other symbols #65

6

lib/utils.js

@@ -130,6 +130,4 @@ 'use strict';

isReqFileExtension(file, fileExtensions) {
let ext = pth.extname(file);
return !fileExtensions.length ||
(fileExtensions.length === 1 && !fileExtensions[0]) ||
fileExtensions.indexOf(ext) !== -1;
const buf = fileExtensions.filter(ext => ext.trim());
return !buf.length || buf.some(ext => ext === file.slice(ext.length * -1));
},

@@ -136,0 +134,0 @@ /**

@@ -13,3 +13,3 @@ {

"description": "Search tool typos in the text, files and websites",
"version": "3.1.0",
"version": "3.2.0",
"license": "MIT",

@@ -16,0 +16,0 @@ "homepage": "https://github.com/hcodes/yaspeller",

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