Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump rollup from 2.79.2 to 4.30.1 #740

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
286 changes: 281 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@
"jest-environment-jsdom": "^29.3.1",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup": "^4.30.1",
"standard-version": "^9.5.0",
"swiftlint": "^1.0.1",
"ts-jest": "^29.0.3",

Unchanged files with check annotations Beta

};
mockBluetooth.requestDevice.mockReturnValue(mockDevice);
await BluetoothLe.requestDevice();
await BluetoothLe.connect({ deviceId: mockDevice.id! });

Check warning on line 173 in src/web.spec.ts

GitHub Actions / lint

Forbidden non-null assertion
expect(mockDevice.removeEventListener).toHaveBeenCalledWith(
'gattserverdisconnected',
(BluetoothLe as unknown as BluetoothLeWithPrivate).onDisconnectedCallback
'gattserverdisconnected',
(BluetoothLe as unknown as BluetoothLeWithPrivate).onDisconnectedCallback
);
expect(mockDevice.gatt!.connect).toHaveBeenCalledTimes(1);

Check warning on line 182 in src/web.spec.ts

GitHub Actions / lint

Forbidden non-null assertion
});
});
return { devices: bleDevices };
}
async getConnectedDevices(_options: GetConnectedDevicesOptions): Promise<GetDevicesResult> {

Check warning on line 163 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
const devices = await navigator.bluetooth.getDevices();
const bleDevices = devices
.filter((device) => {
this.notifyListeners(key, null);
}
async createBond(_options: DeviceIdOptions): Promise<void> {

Check warning on line 212 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('createBond is not available on web.');
}
async isBonded(_options: DeviceIdOptions): Promise<BooleanResult> {

Check warning on line 216 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('isBonded is not available on web.');
}
return characteristic?.getDescriptor(options?.descriptor);
}
async discoverServices(_options: DeviceIdOptions): Promise<void> {

Check warning on line 281 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('discoverServices is not available on web.');
}
async getMtu(_options: DeviceIdOptions): Promise<GetMtuResult> {

Check warning on line 285 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('getMtu is not available on web.');
}
async requestConnectionPriority(_options: RequestConnectionPriorityOptions): Promise<void> {

Check warning on line 289 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('requestConnectionPriority is not available on web.');
}
async readRssi(_options: DeviceIdOptions): Promise<ReadRssiResult> {

Check warning on line 293 in src/web.ts

GitHub Actions / lint

'_options' is defined but never used
throw this.unavailable('readRssi is not available on web.');
}