@localnerve/get-attribute 2.11.1 → 3.0.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/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2024 Alex Grant, LocalNerve LLC, https://www.localnerve.com
1
+ Copyright 2025 Alex Grant, LocalNerve LLC, https://www.localnerve.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
package/lib/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Args are url, selector, attribute, and [useprop].
5
5
  *
6
- * Copyright (c) 2024, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
6
+ * Copyright (c) 2025, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
7
7
  * Licensed under the MIT license.
8
8
  */
9
9
  const yargs = require('yargs/yargs');
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Get an attribute from a web page given url, selector, and attributeName.
3
3
  *
4
- * Copyright (c) 2024, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
4
+ * Copyright (c) 2025, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
5
5
  * Licensed under the MIT license.
6
6
  */
7
7
  const {default: puppeteer, TimeoutError} = require('puppeteer');
package/lib/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * get-attribute --url=<url> --selector=<selector> --attribute=<attribute-name> [--useprop=false] [--timeout=10000]
5
5
  *
6
- * Copyright (c) 2024, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
6
+ * Copyright (c) 2025, Alex Grant <alex@localNerve.com> (https://www.localnerve.com)
7
7
  * Licensed under the MIT license.
8
8
  */
9
9
  const getArgs = require('./cli');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localnerve/get-attribute",
3
- "version": "2.11.1",
3
+ "version": "3.0.0",
4
4
  "description": "Get an attribute from a webpage, echo to stdout",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/localnerve/get-attribute#readme",
29
29
  "dependencies": {
30
- "puppeteer": "^23.11.1",
30
+ "puppeteer": "^24.0.0",
31
31
  "yargs": "^17.7.2",
32
32
  "debug": "^4.4.0"
33
33
  },