@metascraper/helpers 5.58.7 → 5.58.11

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@metascraper/helpers",
3
3
  "description": "Shared helper utilities used across metascraper rules for parsing and normalizing metadata.",
4
4
  "homepage": "https://github.com/microlinkhq/metascraper/packages/metascraper-helpers",
5
- "version": "5.58.7",
5
+ "version": "5.58.11",
6
6
  "main": "src/index.js",
7
7
  "author": {
8
8
  "email": "hello@microlink.io",
@@ -46,13 +46,13 @@
46
46
  "jsdom": "~30.1.2",
47
47
  "jsonrepair": "~3.15.0",
48
48
  "lodash": "~4.18.1",
49
- "memoize-one": "~6.0.0",
49
+ "memoize-one": "~7.0.0",
50
50
  "microsoft-capitalize": "~1.0.8",
51
51
  "mime": "4",
52
52
  "normalize-url": "9",
53
53
  "re2": "~1.27.0",
54
54
  "smartquotes": "~2.3.2",
55
- "tldts": "~7.5.4",
55
+ "tldts": "~7.6.1",
56
56
  "url-regex-safe": "~4.0.0",
57
57
  "video-extensions": "2"
58
58
  },
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "55327bdb0d00ce621f3a654b35e5010aabc1eb2e"
76
+ "gitHead": "a2ecd6e713de304442a78ae127f5aefeaefb89cf"
77
77
  }
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- const memoizeOne = require('memoize-one').default || require('memoize-one')
3
+ const { memoizeOne } = require('memoize-one')
4
4
  const debug = require('debug-logfmt')('metascraper:find-rule')
5
5
  const condenseWhitespace = require('condense-whitespace').default
6
6
  const mime = require('mime').default