New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/wavesurfer.js

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/wavesurfer.js - npm Package Compare versions

Comparing version 4.6.0 to 5.0.0

wavesurfer.js/src/plugin/playhead.d.ts

8

wavesurfer.js/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for wavesurfer.js 4.6
// Type definitions for wavesurfer.js 5.0
// Project: https://github.com/katspaugh/wavesurfer.js

@@ -15,2 +15,3 @@ // Definitions by: Yusuke Higuchi <https://github.com/higuri>

import MinimapPlugin = require("./src/plugin/minimap");
import PlayheadPlugin = require("./src/plugin/playhead");
import RegionsPlugin = require("./src/plugin/regions");

@@ -64,2 +65,4 @@ import SpectogramPlugin = require("./src/plugin/spectogram");

minimap: MinimapPlugin;
/** Only available in WaveSurfer instances with PlayheadPlugin. */
playhead: PlayheadPlugin;
/** Only available in WaveSurfer instances with RegionsPlugin. */

@@ -80,3 +83,3 @@ regions: RegionsPlugin;

exportImage(format?: string, quality?: number, type?: "dataURL" | "blob"): string | string[] | Promise<Blob[]>;
exportPCM(length?: number, accuracy?: number, noWindow?: boolean, start?: number, end?: number): Promise<string>;
exportPCM(length?: number, accuracy?: number, noWindow?: boolean, start?: number, end?: number): Promise<Peaks>;
getActivePlugins(): { [pluginName: string]: boolean };

@@ -192,2 +195,3 @@ getBackgroundColor(): string;

splitChannelsOptions?: SplitChannelsOptions;
vertical?: boolean;
waveColor?: string | CanvasGradient;

@@ -194,0 +198,0 @@ xhr?: XHROptions;

{
"name": "@types/wavesurfer.js",
"version": "4.6.0",
"version": "5.0.0",
"description": "TypeScript definitions for wavesurfer.js",

@@ -37,4 +37,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "4377f1a1f5e1bf7c36ef48497f1a33ef60fdec3bafec88786f3ee5d0e6b5e8bd",
"typesPublisherContentHash": "27a407a484641a826bfec469a936fc8f6f800b3ced62cf32a7f5c57db4569711",
"typeScriptVersion": "3.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 28 Apr 2021 13:01:22 GMT
* Last updated: Mon, 03 May 2021 14:31:25 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `WaveSurfer`

@@ -117,2 +117,3 @@ import {

preventContextMenu?: boolean;
showTooltip?: boolean;
}

@@ -119,0 +120,0 @@

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