Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 3a1274f

Browse files
chore: updates and fixes
1 parent 69d65da commit 3a1274f

File tree

14 files changed

+24
-102
lines changed

14 files changed

+24
-102
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# the repo. Unless a later match takes precedence,
66
# @global-owner1 and @global-owner2 will be requested for
77
# review when someone opens a pull request.
8-
* @lob/growth-and-core-experience
8+
* @lob/growth-and-core-experience
9+
* @lob/self-serve-growth
910

1011
# Order is important; the last matching pattern takes the most
1112
# precedence. When someone opens a pull request that only

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: 'CodeQL'
12+
name: '🕵️ CodeQL'
1313

1414
on:
1515
push:
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: ['javascript']
35+
language: ['javascript', 'typescript']
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3838

.github/workflows/lint-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint and Test
1+
name: 🧪 Lint and Test
22

33
on:
44
push:
@@ -22,7 +22,7 @@ jobs:
2222
uses: './.github/actions/install-node-and-npm'
2323

2424
- name: Install dependencies
25-
run: npm ci --legacy-peer-deps
25+
run: npm ci
2626

2727
- name: Run lint
2828
run: npm run format-check

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## v2.0.98
4+
5+
- Dependency upgrades
6+
- Code cleanup
7+
38
## v2.0.97
49

510
- Storybook upgrade

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lob/ui-components",
3-
"version": "2.0.97",
3+
"version": "2.0.98",
44
"engines": {
55
"node": ">=20.2.0",
66
"npm": ">=10.2.0"

src/components/ColorPicker/__tests__/ColorPicker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const renderComponent = (options: RenderOptions = {}) =>
2626

2727
describe('ColorPicker', () => {
2828
it('should render correctly', async () => {
29-
const { baseElement, getByTestId } = renderComponent({
29+
const { getByTestId } = renderComponent({
3030
props: initialProps
3131
});
3232

src/components/Dropdown/Dropdown.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,10 @@
135135
import { ChevronDown } from '@/components/Icons';
136136
import DropdownItemGroup from './DropdownItemGroup';
137137
import DropdownItem from './DropdownItem';
138-
import { findLastIndex, shallowEquals } from '@/utils';
138+
import { shallowEquals } from '@/utils';
139139
import LobLabel from '../Label/Label.vue';
140140
import ConfirmChangeModal from './ConfirmChangeModal';
141141
142-
if (!Array.prototype.findLastIndex) {
143-
Array.prototype.findLastIndex = findLastIndex; //eslint-disable-line
144-
}
145-
146142
const Keys = {
147143
Backspace: 'Backspace',
148144
Clear: 'Clear',

src/components/Dropdown/__tests__/DropdownItem.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('DropdownItem', () => {
7474
expect(emittedEvents).toHaveProperty('click');
7575

7676
// eslint-disable-next-line no-unused-vars
77-
const [event, index] = emittedEvents.click[0];
77+
const [_, index] = emittedEvents.click[0];
7878
expect(index).toEqual(0);
7979
});
8080

@@ -90,7 +90,7 @@ describe('DropdownItem', () => {
9090
expect(emittedEvents).toHaveProperty('mouseenter');
9191

9292
// eslint-disable-next-line no-unused-vars
93-
const [event, index] = emittedEvents.mouseenter[0];
93+
const [_, index] = emittedEvents.mouseenter[0];
9494
expect(index).toEqual(0);
9595
});
9696
});

src/components/Dropdown/__tests__/DropdownItemGroup.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('DropdownItemGroup', () => {
5555
expect(emittedEvents).toHaveProperty('click');
5656

5757
// eslint-disable-next-line no-unused-vars
58-
const [event, index] = emittedEvents.click[0];
58+
const [_, index] = emittedEvents.click[0];
5959
expect(index).toEqual(0);
6060
});
6161

@@ -71,7 +71,7 @@ describe('DropdownItemGroup', () => {
7171
expect(emittedEvents).toHaveProperty('mouseenter');
7272

7373
// eslint-disable-next-line no-unused-vars
74-
const [event, index] = emittedEvents.mouseenter[0];
74+
const [_, index] = emittedEvents.mouseenter[0];
7575
expect(index).toEqual(0);
7676
});
7777
});

0 commit comments

Comments
 (0)