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

@deepdub/peaks.js

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepdub/peaks.js - npm Package Compare versions

Comparing version 1.2.15 to 1.2.16

6

package.json
{
"name": "@deepdub/peaks.js",
"version": "1.2.15",
"version": "1.2.16",
"description": "JavaScript UI component for displaying audio waveforms",

@@ -38,6 +38,6 @@ "main": "./peaks.js",

"prebuild": "npm run lint",
"bump-prerelease": "npm version prerelease --preid=yalc --no-git-tag-version && cp ./package.json ../deepdubapp/node_modules/@deepdub/peaks.js/",
"bump-prerelease": "npm version prerelease --preid=yalc --no-git-tag-version && cp ./package.json ../deepdubapp-dev/node_modules/@deepdub/peaks.js/",
"build": "browserify -d -e ./src/main.js -t deamdify -s peaks | exorcist peaks.js.map | derequire - > peaks.js",
"build:watch": "watchify -d -e ./src/main.js -t deamdify -s peaks -o ./demo/peaks.js",
"build:watch-deepdub": "watchify -d -e ./src/main.js -t deamdify -s peaks -o ../deepdubapp/node_modules/@deepdub/peaks.js/peaks.js",
"build:watch-deepdub": "watchify -d -e ./src/main.js -t deamdify -s peaks -o ../deepdubapp-dev/node_modules/@deepdub/peaks.js/peaks.js",
"postbuild": "copyfiles peaks.js peaks.js.map demo",

@@ -44,0 +44,0 @@ "doc": "jsdoc --private --destination docs --recurse src",

@@ -322,3 +322,15 @@ /**

SegmentsLayer.prototype.getView = function() {
return this._view;
};
SegmentsLayer.prototype.getStage = function() {
return this._layer.parent;
};
SegmentsLayer.prototype.getPeaks = function() {
return this._peaks;
};
return SegmentsLayer;
});

@@ -187,3 +187,3 @@ /**

}
} else if (this._segment.type !== 'SELECTION_REGION') {
} else if (this._segment.type !== 'SELECTION_REGION' && this._segment.type !== 'CROSSFADE') {
const segmentStartPixel = this._view.timeToPixels(this._segment.startTime);

@@ -190,0 +190,0 @@ if (endPixels > segmentStartPixel + waveformData.length) {

@@ -757,2 +757,3 @@ /**

this._updateWaveform(this.timeToPixels(time), cuase || 'set-start-time');
this._stage.draw();
};

@@ -818,2 +819,10 @@

WaveformZoomView.prototype.getVisibleStartTime = function () {
return this.pixelsToTime(this._frameOffset);
};
WaveformZoomView.prototype.getVisibleEndTime = function () {
return this.pixelsToTime(this._frameOffset + this._width);
};
WaveformZoomView.prototype.setFrameOffset = function (frameOffset) {

@@ -820,0 +829,0 @@ this._updateWaveform(frameOffset, 'explicit-set-frame-offset');

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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