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

@metascraper/helpers

Package Overview
Dependencies
Maintainers
1
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metascraper/helpers - npm Package Compare versions

Comparing version 5.4.1 to 5.4.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [5.4.2](https://github.com/microlinkhq/metascraper/tree/master/packages/metascraper-helpers/compare/v5.4.1...v5.4.2) (2019-06-05)
**Note:** Version bump only for package @metascraper/helpers
## [5.4.1](https://github.com/microlinkhq/metascraper/tree/master/packages/metascraper-helpers/compare/v5.4.0...v5.4.1) (2019-06-05)

@@ -8,0 +16,0 @@

7

index.js

@@ -16,3 +16,4 @@ 'use strict'

lte,
size
size,
isNumber
} = require('lodash')

@@ -174,6 +175,6 @@

const date = value => {
if (!isString(value)) return false
if (!(isString(value) || isNumber(value))) return false
// remove whitespace for easier parsing
value = value.trim()
if (isString(value)) trim(value)

@@ -180,0 +181,0 @@ // convert isodates to restringify, because sometimes they are truncated

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/microlinkhq/metascraper/packages/metascraper-helpers",
"version": "5.4.1",
"version": "5.4.2",
"main": "index.js",

@@ -63,3 +63,3 @@ "repository": {

},
"gitHead": "d7093767283b5895a2eccaeb95b1defe80cac587"
"gitHead": "3d9f0aefaa5023eecb550e358fca58b3f02458be"
}
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