nuxt-dev-ready 5.0.1 → 6.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
@@ -14,17 +14,17 @@ MIT License
14
14
 
15
15
  Copyright (c) <year> <copyright holders>
16
16
 
17
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
18
- associated documentation files (the "Software"), to deal in the Software without restriction, including
19
- without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
- copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
18
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
19
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
21
21
  following conditions:
22
22
 
23
- The above copyright notice and this permission notice shall be included in all copies or substantial
23
+ The above copyright notice and this permission notice shall be included in all copies or substantial
24
24
  portions of the Software.
25
25
 
26
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
27
- LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
28
- EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
29
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
27
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
28
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
29
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
30
30
  USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ export default async (port = 3e3, {
14
14
  });
15
15
  return !data.includes('id="nuxt_loading_screen"');
16
16
  } catch (error) {
17
- return error.code !== "ECONNABORTED" && error.response !== void 0 && error.response.status !== 503;
17
+ return !(error instanceof axios.AxiosError) || error.code !== "ECONNABORTED" && error.response !== void 0 && error.response.status !== 503;
18
18
  }
19
19
  }, {
20
20
  interval
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-dev-ready",
3
- "version": "5.0.1",
3
+ "version": "6.0.0",
4
4
  "description": "Waits until the Nuxt dev server is loaded. Mainly useful for testing.",
5
5
  "keywords": [
6
6
  "wait"
@@ -12,10 +12,8 @@
12
12
  "type": "module",
13
13
  "exports": {
14
14
  ".": {
15
- "import": {
16
- "default": "./dist/index.js",
17
- "types": "./dist/index.d.ts"
18
- }
15
+ "default": "./dist/index.js",
16
+ "types": "./dist/index.d.ts"
19
17
  }
20
18
  },
21
19
  "main": "dist/index.js",
@@ -35,24 +33,27 @@
35
33
  "verify": "base verify"
36
34
  },
37
35
  "dependencies": {
38
- "axios": "^1.3.6",
39
- "p-wait-for": "^5.0.2",
40
- "port-ready": "^0.1.0"
36
+ "axios": "^1.13.5",
37
+ "p-wait-for": "^6.0.0",
38
+ "port-ready": "npm:@dword-design/port-ready-fork@^0.0.3"
41
39
  },
42
40
  "devDependencies": {
43
- "@dword-design/base": "^15.0.0",
44
- "@playwright/test": "^1.53.0",
45
- "endent": "npm:@dword-design/endent@^1.4.1",
46
- "execa": "^9.6.0",
47
- "fs-extra": "^11.1.1",
41
+ "@dword-design/base": "^16.2.2",
42
+ "@playwright/test": "^1.58.2",
43
+ "@types/fs-extra": "^11.0.4",
44
+ "@types/jsdom": "^27.0.0",
45
+ "@types/node": "^25.2.3",
46
+ "endent": "npm:@dword-design/endent@^1.4.7",
47
+ "execa": "^9.6.1",
48
+ "fs-extra": "^11.3.3",
48
49
  "get-port": "^7.1.0",
49
- "jsdom": "^26.0.0",
50
- "nuxt": "^4.0.0",
51
- "tree-kill-promise": "^4.0.0"
50
+ "jsdom": "^28.0.0",
51
+ "nuxt": "^4.3.1",
52
+ "tree-kill-promise": "^5.0.0"
52
53
  },
53
54
  "packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
54
55
  "engines": {
55
- "node": ">=20"
56
+ "node": ">=22"
56
57
  },
57
58
  "publishConfig": {
58
59
  "access": "public"