Skip to content

Commit

Permalink
chore: upgrade dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrythomas committed Jun 5, 2024
1 parent 2ffa868 commit 244c509
Show file tree
Hide file tree
Showing 24 changed files with 709 additions and 988 deletions.
2 changes: 1 addition & 1 deletion adapters/amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@kavach/core": "workspace:*",
"aws-amplify": "^6.3.4"
"aws-amplify": "^6.3.5"
},
"exports": {
"./package.json": "./package.json",
Expand Down
4 changes: 2 additions & 2 deletions adapters/supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/ramda": "^0.29.12",
"@types/ramda": "^0.30.0",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"eslint-config-shared": "workspace:*",
Expand All @@ -43,7 +43,7 @@
"dependencies": {
"@kavach/core": "workspace:*",
"@supabase/supabase-js": "^2.43.4",
"ramda": "^0.29.1"
"ramda": "^0.30.1"
},
"exports": {
"./package.json": "./package.json",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"eslint-config-shared": "workspace:*",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"turbo": "^1.13.3"
"turbo": "^2.0.1"
},
"lint-staged": {
"*.{js,svelte}": "eslint --cache --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@types/node": "^20.12.13",
"@types/node": "^20.14.2",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"eslint-config-shared": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"@kavach/cookie": "workspace:*",
"@kavach/hashing": "workspace:*",
"@kavach/logger": "workspace:*",
"ramda": "^0.29.1"
"ramda": "^0.30.1"
},
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@types/node": "^20.12.13",
"@types/node": "^20.14.2",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"eslint-config-shared": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/deflector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
},
"dependencies": {
"@kavach/logger": "workspace:*",
"ramda": "^0.29.1"
"ramda": "^0.30.1"
},
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@types/node": "^20.12.13",
"@types/ramda": "^0.29.12",
"@types/node": "^20.14.2",
"@types/ramda": "^0.30.0",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"shared-config": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/hashing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@types/node": "^20.12.13",
"@types/node": "^20.14.2",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"eslint-config-shared": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@types/node": "^20.12.13",
"@types/node": "^20.14.2",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/ui": "~1.6.0",
"eslint-config-shared": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"devDependencies": {
"@jerrythomas/prettier-config": "^1.0.2",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@testing-library/svelte": "^4.2.3",
"@testing-library/svelte": "^5.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/ramda": "^0.29.12",
"@types/ramda": "^0.30.0",
"@vitest/coverage-istanbul": "^1.6.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/expect": "^1.6.0",
Expand All @@ -60,9 +60,9 @@
"@kavach/core": "workspace:*",
"@kavach/deflector": "workspace:*",
"@kavach/logger": "workspace:*",
"@rokkit/atoms": "1.0.0-next.92",
"@rokkit/molecules": "1.0.0-next.92",
"@rokkit/organisms": "1.0.0-next.92",
"ramda": "^0.29.1"
"@rokkit/atoms": "1.0.0-next.96",
"@rokkit/molecules": "1.0.0-next.96",
"@rokkit/organisms": "1.0.0-next.96",
"ramda": "^0.30.1"
}
}
32 changes: 16 additions & 16 deletions packages/svelte/spec/ui/AuthPassword.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,24 @@ describe('AuthPassword.svelte', () => {
password: ''
})
})
it('should render phone/password auth', () => {
const { container } = render(AuthPassword, {
it('should render phone/password auth', async () => {
const { container, component } = render(AuthPassword, {
props: { type: 'phone' }
})
expect(container).toMatchSnapshot()
// component.$on('click', handle)

// const phoneInput = container.querySelector('input[type="phone"]')
// const passwordInput = container.querySelector('input[type="password"]')
// const button = container.querySelector('button')

// await fireEvent.input(phoneInput, { target: { value: '+1 555-555-555' } })
// await fireEvent.input(passwordInput, { target: { value: 'password' } })
// await fireEvent.click(button)
// await tick()
// expect(handle).toHaveBeenDispatchedWith({
// phone: '+1 555-555-555',
// password: ''
// })
component.$on('click', handle)

const phoneInput = container.querySelector('input[type="tel"]')
const passwordInput = container.querySelector('input[type="password"]')
const button = container.querySelector('button')

await fireEvent.input(phoneInput, { target: { value: '+1 555-555-555' } })
await fireEvent.input(passwordInput, { target: { value: 'password' } })
await fireEvent.click(button)
await tick()
expect(handle).toHaveBeenDispatchedWith({
tel: '+1 555-555-555',
password: ''
})
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ exports[`AuthPassword.svelte > should render phone/password auth 1`] = `
autocomplete="on"
id="email"
name="email"
type="url"
type="tel"
/>
Expand Down
Loading

0 comments on commit 244c509

Please sign in to comment.