metascraper-amazon 5.40.0 → 5.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,8 +2,9 @@
2
2
  "name": "metascraper-amazon",
3
3
  "description": "Metascraper integration with Amazon",
4
4
  "homepage": "https://nicedoc.io/microlinkhq/metascraper/packages/metascraper-amazon",
5
- "version": "5.40.0",
6
- "main": "index.js",
5
+ "version": "5.42.0",
6
+ "main": "src/index.js",
7
+ "types": "src/index.d.ts",
7
8
  "author": {
8
9
  "email": "hello@microlink.io",
9
10
  "name": "microlink.io",
@@ -37,5 +38,5 @@
37
38
  "test": "NODE_PATH=.. TZ=UTC ava --timeout 15s"
38
39
  },
39
40
  "license": "MIT",
40
- "gitHead": "b4ec42d7dd7f1bae77c60d60dd8aed4bc5a44fa9"
41
+ "gitHead": "c0b0686683249610f570c8f58ef4f6b77c824d0d"
41
42
  }
@@ -11,7 +11,8 @@ const {
11
11
  url
12
12
  } = require('@metascraper/helpers')
13
13
 
14
- const REGEX_AMAZON_URL = /https?:\/\/(.*amazon\..*\/.*|.*amzn\..*\/.*|.*a\.co\/.*)/i
14
+ const REGEX_AMAZON_URL =
15
+ /https?:\/\/(.*amazon\..*\/.*|.*amzn\..*\/.*|.*a\.co\/.*)/i
15
16
 
16
17
  const test = memoizeOne(url => REGEX_AMAZON_URL.test(url))
17
18