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

@briza/wegood

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@briza/wegood - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

changelog.md
# wegood changelog
## 1.0.2
* Add support for isolated start and end dates.
## 1.0.1

@@ -4,0 +8,0 @@

9

lib/wegood.esm.js

@@ -182,3 +182,3 @@ function _typeof(obj) {

return function () {
return false;
return true;
};

@@ -216,3 +216,8 @@ } // Boundary offset in days

} else if (['-1', '1'].includes(filter)) {
offset = Infinity * parseInt(filter); // Illegal offset
offset = Infinity * parseInt(filter); // Flip of the offset for flipped boundaries
if (dir === BoundaryType.Start && offset > 0 || dir === BoundaryType.End && offset < 0) {
offset *= -1;
} // Illegal offset
} else if (filter !== '0') {

@@ -219,0 +224,0 @@ throw new Error("illegal \"".concat(filter, "\" date boundary"));

@@ -186,3 +186,3 @@ 'use strict';

return function () {
return false;
return true;
};

@@ -220,3 +220,8 @@ } // Boundary offset in days

} else if (['-1', '1'].includes(filter)) {
offset = Infinity * parseInt(filter); // Illegal offset
offset = Infinity * parseInt(filter); // Flip of the offset for flipped boundaries
if (dir === BoundaryType.Start && offset > 0 || dir === BoundaryType.End && offset < 0) {
offset *= -1;
} // Illegal offset
} else if (filter !== '0') {

@@ -223,0 +228,0 @@ throw new Error("illegal \"".concat(filter, "\" date boundary"));

{
"name": "@briza/wegood",
"version": "1.0.1",
"version": "1.0.2",
"description": "Tiny validation library, so wegood with data.",

@@ -5,0 +5,0 @@ "main": "lib/wegood.js",

# wegood
Tiny validation library, so wegood with data.
> Revision: October 25, 2019.
> Revision: January 16, 2020.

@@ -6,0 +6,0 @@ ## About

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