html-get 2.22.0 → 2.22.2

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/LICENSE CHANGED
File without changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "html-get",
3
3
  "description": "Get the HTML from any website, fine-tuned for correction & speed",
4
4
  "homepage": "https://nicedoc.com/microlinkhq/html-get",
5
- "version": "2.22.0",
5
+ "version": "2.22.2",
6
6
  "types": "index.d.ts",
7
7
  "main": "src/index.js",
8
8
  "bin": {
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "dependencies": {
48
48
  "@kikobeats/time-span": "~1.0.5",
49
- "@metascraper/helpers": "~5.49.1",
49
+ "@metascraper/helpers": "~5.50.0",
50
50
  "cheerio": "~1.2.0",
51
51
  "content-type": "~1.0.5",
52
52
  "css-url-regex": "~4.0.0",
@@ -95,18 +95,6 @@
95
95
  "scripts",
96
96
  "src"
97
97
  ],
98
- "scripts": {
99
- "clean": "rm -rf node_modules",
100
- "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
101
- "lint": "standard",
102
- "postinstall": "node scripts/postinstall",
103
- "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
104
- "pretest": "npm run lint",
105
- "release": "standard-version -a",
106
- "release:github": "github-generate-release",
107
- "release:tags": "git push --follow-tags origin HEAD:master",
108
- "test": "c8 ava"
109
- },
110
98
  "license": "MIT",
111
99
  "ava": {
112
100
  "files": [
@@ -135,11 +123,20 @@
135
123
  "finepack"
136
124
  ]
137
125
  },
138
- "pnpm": {
139
- "neverBuiltDependencies": []
140
- },
141
126
  "simple-git-hooks": {
142
127
  "commit-msg": "npx commitlint --edit",
143
128
  "pre-commit": "npx nano-staged"
129
+ },
130
+ "scripts": {
131
+ "clean": "rm -rf node_modules",
132
+ "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
133
+ "lint": "standard",
134
+ "postinstall": "node scripts/postinstall",
135
+ "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
136
+ "pretest": "npm run lint",
137
+ "release": "standard-version -a",
138
+ "release:github": "github-generate-release",
139
+ "release:tags": "git push --follow-tags origin HEAD:master",
140
+ "test": "c8 ava"
144
141
  }
145
- }
142
+ }
File without changes
package/src/index.js CHANGED
@@ -308,7 +308,7 @@ module.exports = PCancelable.fn(
308
308
 
309
309
  onCancel(() => promise.cancel())
310
310
 
311
- const { mode, $, ...payload } = await promise
311
+ const { mode, html, $, ...payload } = await promise
312
312
 
313
313
  return Object.assign(payload, {
314
314
  ...serializeHtml($),