@localnerve/get-attribute 1.1.0 → 1.2.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/eslint.config.js CHANGED
@@ -7,7 +7,8 @@ const ignores = {
7
7
  ignores: [
8
8
  'bin/**',
9
9
  'node_modules/**',
10
- 'tmp/**'
10
+ 'tmp/**',
11
+ 'coverage/**'
11
12
  ]
12
13
  };
13
14
 
@@ -52,6 +52,7 @@ async function getAttribute (url, selector, attribute, {
52
52
  if (!(e instanceof TimeoutError)) {
53
53
  throw e;
54
54
  }
55
+ debug('received TimeoutError', e.message);
55
56
  } finally {
56
57
  await browser.close();
57
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localnerve/get-attribute",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Get an attribute from a webpage, echo to stdout",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "homepage": "https://github.com/localnerve/get-attribute#readme",
29
29
  "dependencies": {
30
- "puppeteer": "^22.6.5",
30
+ "puppeteer": "^22.7.0",
31
31
  "yargs": "^17.7.2",
32
32
  "debug": "^4.3.4"
33
33
  },
34
34
  "devDependencies": {
35
- "eslint": "^9.1.0",
35
+ "eslint": "^9.1.1",
36
36
  "@eslint/js": "^9.1.1",
37
37
  "eslint-plugin-jest": "^28.2.0",
38
38
  "express": "^4.19.2",