@metascraper/helpers 5.46.0 → 5.46.4
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/index.js +3 -0
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -346,6 +346,9 @@ const isMime = (contentType, type) =>
|
|
|
346
346
|
memoizeOne.EqualityUrlAndHtmlDom = (newArgs, oldArgs) =>
|
|
347
347
|
newArgs[0] === oldArgs[0] && newArgs[1].html() === oldArgs[1].html()
|
|
348
348
|
|
|
349
|
+
memoizeOne.EqualityFirstArgument = (newArgs, oldArgs) =>
|
|
350
|
+
newArgs[0] === oldArgs[0]
|
|
351
|
+
|
|
349
352
|
const jsonld = memoizeOne(
|
|
350
353
|
$ =>
|
|
351
354
|
$('script[type="application/ld+json"]')
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@metascraper/helpers",
|
|
3
3
|
"description": "Collection of helper functions used by metascraper",
|
|
4
4
|
"homepage": "https://github.com/microlinkhq/metascraper/packages/metascraper-helpers",
|
|
5
|
-
"version": "5.46.
|
|
5
|
+
"version": "5.46.4",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": {
|
|
8
8
|
"email": "hello@microlink.io",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"chrono-node": "~2.7.7",
|
|
27
27
|
"condense-whitespace": "~2.0.0",
|
|
28
28
|
"data-uri-utils": "~1.0.8",
|
|
29
|
+
"debug-logfmt": "~1.2.3",
|
|
29
30
|
"entities": "~6.0.0",
|
|
30
31
|
"file-extension": "~4.0.5",
|
|
31
32
|
"has-values": "~2.0.1",
|
|
@@ -63,5 +64,5 @@
|
|
|
63
64
|
"publishConfig": {
|
|
64
65
|
"access": "public"
|
|
65
66
|
},
|
|
66
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "04cb4826cc42f95e86014ac17e2b16ecfa3d1858"
|
|
67
68
|
}
|