Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webrtc-mock

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-mock - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

dist/mediaStreamTrackMock.d.ts

@@ -17,3 +17,7 @@ import { TCapabilities } from './Capabilities';

};
declare class MediaStreamTrackMock<T extends string = 'audio' | 'video'> implements MediaStreamTrack {
type MediaStreamUnionTrack = {
readonly kind: 'video' | 'audio';
clone: () => MediaStreamUnionTrack;
} & MediaStreamTrack;
declare class MediaStreamTrackMock<T extends 'audio' | 'video' = 'video' | 'audio'> implements MediaStreamUnionTrack {
private readonly events;

@@ -20,0 +24,0 @@ id: string;

2

dist/utils/parseTracks.d.ts
import { default as mediaStreamTrackMock } from '../mediaStreamTrackMock';
declare const parseTracks: (array: mediaStreamTrackMock<"audio" | "video">[]) => mediaStreamTrackMock<"audio" | "video">[];
declare const parseTracks: (array: mediaStreamTrackMock<"video" | "audio">[]) => mediaStreamTrackMock<"video" | "audio">[];
export default parseTracks;
{
"name": "webrtc-mock",
"version": "1.1.1",
"version": "1.1.2",
"description": "Classes and functions mock webrtc api for tests",

@@ -57,5 +57,5 @@ "keywords": [

"@types/dom-mediacapture-transform": "^0.1.9",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@types/node": "^20.14.12",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"cross-env": "^7.0.3",

@@ -72,3 +72,3 @@ "eslint": "^8.57.0",

"eslint-plugin-unicorn": "^54.0.0",
"husky": "^9.1.0",
"husky": "^9.1.1",
"lint-staged": "^15.2.7",

@@ -78,3 +78,3 @@ "prettier": "^3.3.3",

"tsc-files": "^1.1.4",
"typescript": "^5.5.3",
"typescript": "^5.5.4",
"vite": "^5.3.4",

@@ -86,3 +86,4 @@ "vite-plugin-dts": "^3.9.1",

"events-constructor": "^1.2.3"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc