@jocmp/mercury-parser 3.0.3 → 3.0.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jocmp/mercury-parser",
3
- "version": "3.0.3",
3
+ "version": "3.0.5",
4
4
  "description": "Mercury Parser transforms web pages into clean text. Publishers and programmers use it to make the web make sense, and readers use it to read any web article comfortably.",
5
5
  "author": "jocmp <hello@jocmp.com>",
6
6
  "homepage": "https://github.com/jocmp/mercury-parser",
@@ -45,8 +45,6 @@
45
45
  "test:node": "jest --json --outputFile test-output.json --forceExit",
46
46
  "test:web": "vitest run --config vitest.config.js",
47
47
  "test:build": "cd ./scripts && jest check-build.test.js",
48
- "test:build:web": "node ./scripts/proxy-browser-test.js",
49
- "test:build:esm": "node ./scripts/proxy-browser-test.js",
50
48
  "watch:test": "jest --watch",
51
49
  "generate-parser": "node ./dist/generate-custom-parser.js"
52
50
  },
@@ -55,33 +53,34 @@
55
53
  },
56
54
  "devDependencies": {
57
55
  "@babel/core": "^7.0.0",
56
+ "@babel/eslint-parser": "^7.28.6",
57
+ "@babel/eslint-plugin": "^7.27.1",
58
58
  "@babel/plugin-transform-runtime": "^7.0.0",
59
59
  "@babel/polyfill": "^7.0.0",
60
60
  "@babel/preset-env": "^7.0.0",
61
61
  "@babel/runtime": "^7.0.0",
62
+ "@eslint/eslintrc": "^3.3.4",
62
63
  "@jesses/circle-github-bot": "^2.1.0",
63
- "@octokit/rest": "^16.9.0",
64
+ "@octokit/rest": "^22.0.1",
64
65
  "@rollup/plugin-babel": "^5.3.1",
65
- "@rollup/plugin-commonjs": "^22.0.2",
66
- "@rollup/plugin-node-resolve": "^13.3.0",
67
- "@rollup/plugin-terser": "^0.4.4",
66
+ "@rollup/plugin-commonjs": "^29.0.0",
67
+ "@rollup/plugin-node-resolve": "^16.0.3",
68
+ "@rollup/plugin-terser": "^1.0.0",
68
69
  "@vitest/browser": "^4.0.17",
69
70
  "@vitest/browser-playwright": "^4.0.17",
70
71
  "babel-core": "^7.0.0-bridge.0",
71
- "babel-eslint": "^10.0.1",
72
72
  "babel-jest": "^30.2.0",
73
73
  "babel-plugin-module-alias": "^1.6.0",
74
74
  "babel-plugin-module-resolver": "^5.0.2",
75
75
  "babelrc-rollup": "^3.0.0",
76
- "eslint": "^5.12.0",
77
- "eslint-config-airbnb": "^17.1.0",
78
- "eslint-config-prettier": "^6.1.0",
76
+ "eslint": "^9.39.2",
77
+ "eslint-config-airbnb": "^19.0.4",
78
+ "eslint-config-prettier": "^10.1.8",
79
79
  "eslint-import-resolver-babel-module": "^5.3.2",
80
- "eslint-plugin-babel": "^5.3.0",
81
- "eslint-plugin-import": "^2.14.0",
82
- "eslint-plugin-jsx-a11y": "^6.1.2",
83
- "eslint-plugin-react": "^7.12.3",
84
- "express": "^4.16.4",
80
+ "eslint-plugin-import": "^2.32.0",
81
+ "eslint-plugin-jsx-a11y": "^6.10.2",
82
+ "eslint-plugin-react": "^7.37.5",
83
+ "eslint-plugin-react-hooks": "^7.0.1",
85
84
  "husky": "^9.1.7",
86
85
  "inquirer": "^13.2.1",
87
86
  "jest": "^30.2.0",
@@ -89,11 +88,10 @@
89
88
  "nock": "^14.0.10",
90
89
  "ora": "^4.0.0",
91
90
  "playwright": "^1.57.0",
92
- "prettier": "^1.15.3",
91
+ "prettier": "^3.8.1",
93
92
  "remark-cli": "^12.0.1",
94
93
  "remark-lint": "^10.0.1",
95
94
  "remark-preset-lint-recommended": "^7.0.0",
96
- "request": "^2.88.2",
97
95
  "rollup": "^2.79.2",
98
96
  "rollup-plugin-node-globals": "^1.4.0",
99
97
  "vite-plugin-node-polyfills": "^0.25.0",
@@ -105,8 +103,8 @@
105
103
  "cheerio": "^1.1.2",
106
104
  "dayjs": "^1.11.19",
107
105
  "difflib": "github:postlight/difflib.js",
108
- "ellipsize": "0.1.0",
109
- "iconv-lite": "0.6.3",
106
+ "ellipsize": "0.7.0",
107
+ "iconv-lite": "0.7.2",
110
108
  "postman-request": "^2.88.1-postman.31",
111
109
  "string-direction": "^0.1.2",
112
110
  "turndown": "^7.1.1",
@@ -121,6 +119,12 @@
121
119
  "postman-request": "browser-request",
122
120
  "iconv-lite": "./src/shims/iconv-lite"
123
121
  },
122
+ "overrides": {
123
+ "eslint-config-airbnb": {
124
+ "eslint": "$eslint",
125
+ "eslint-plugin-react-hooks": "$eslint-plugin-react-hooks"
126
+ }
127
+ },
124
128
  "husky": {
125
129
  "hooks": {
126
130
  "pre-commit": "lint-staged"