@testing-library/svelte 4.0.1 → 4.0.3

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,11 +1,11 @@
1
1
  {
2
2
  "name": "@testing-library/svelte",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "Simple and complete Svelte testing utilities that encourage good testing practices.",
5
5
  "exports": {
6
6
  ".": {
7
- "default": "./src/index.js",
8
- "types": "./types/index.d.ts"
7
+ "types": "./types/index.d.ts",
8
+ "default": "./src/index.js"
9
9
  }
10
10
  },
11
11
  "type": "module",
@@ -53,32 +53,32 @@
53
53
  "svelte": "^3 || ^4"
54
54
  },
55
55
  "dependencies": {
56
- "@testing-library/dom": "^8.1.0"
56
+ "@testing-library/dom": "^9.3.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@commitlint/cli": "^13.1.0",
60
- "@commitlint/config-conventional": "^13.1.0",
61
- "@sveltejs/vite-plugin-svelte": "^2.4.1",
59
+ "@commitlint/cli": "^17.6.6",
60
+ "@commitlint/config-conventional": "^17.6.6",
61
+ "@sveltejs/vite-plugin-svelte": "^2.4.2",
62
62
  "@testing-library/jest-dom": "^5.16.5",
63
- "@vitest/coverage-c8": "^0.32.0",
64
- "all-contributors-cli": "^6.9.0",
65
- "doctoc": "^2.0.0",
66
- "eslint": "^8.42.0",
63
+ "@vitest/coverage-c8": "^0.32.2",
64
+ "all-contributors-cli": "^6.26.0",
65
+ "doctoc": "^2.2.1",
66
+ "eslint": "^8.43.0",
67
+ "eslint-config-standard": "^17.1.0",
67
68
  "eslint-plugin-import": "^2.27.5",
68
- "eslint-plugin-n": "^16.0.0",
69
+ "eslint-plugin-n": "^16.0.1",
69
70
  "eslint-plugin-promise": "^6.1.1",
70
71
  "eslint-plugin-simple-import-sort": "^10.0.0",
71
- "eslint-config-standard": "^17.1.0",
72
- "eslint-plugin-svelte": "^2.30.0",
72
+ "eslint-plugin-svelte": "^2.32.0",
73
73
  "eslint-plugin-vitest-globals": "^1.3.1",
74
- "husky": "^7.0.1",
74
+ "husky": "^8.0.3",
75
75
  "jsdom": "^22.1.0",
76
- "lint-staged": "^11.1.1",
76
+ "lint-staged": "^13.2.3",
77
77
  "npm-run-all": "^4.1.5",
78
- "prettier": "^2.0.1",
79
- "svelte": "^3.59.1",
78
+ "prettier": "^2.8.8",
79
+ "svelte": "^4.0.1",
80
80
  "vite": "^4.3.9",
81
- "vitest": "^0.32.0"
81
+ "vitest": "^0.32.2"
82
82
  },
83
83
  "husky": {
84
84
  "hooks": {
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { act, cleanup } from './pure'
1
+ import { act, cleanup } from './pure.js'
2
2
 
3
3
  // If we're running in a test runner that supports afterEach
4
4
  // then we'll automatically run cleanup afterEach test
@@ -12,4 +12,4 @@ if (typeof afterEach === 'function' && !process.env.STL_SKIP_AUTO_CLEANUP) {
12
12
  })
13
13
  }
14
14
 
15
- export * from './pure'
15
+ export * from './pure.js'
package/src/test-setup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as matchers from '@testing-library/jest-dom/dist/matchers'
2
2
  import { afterEach, expect } from 'vitest'
3
3
 
4
- import { act, cleanup } from './pure'
4
+ import { act, cleanup } from './pure.js'
5
5
 
6
6
  expect.extend(matchers)
7
7