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

ableton-js

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ableton-js - npm Package Compare versions

Comparing version 1.11.0-0 to 1.11.0

7

CHANGELOG.md

@@ -7,2 +7,9 @@ ### Changelog

#### [v1.11.0](https://github.com/leolabs/ableton.js/compare/v1.11.0-0...v1.11.0)
> 11 October 2020
- :sparkles: Allow passing an array of arguments instead of a map to native functions [`5180d8d`](https://github.com/leolabs/ableton.js/commit/5180d8d8233d6b75d10f126268aa567db78b59df)
- :memo: Add more JS docs [`644dc26`](https://github.com/leolabs/ableton.js/commit/644dc26ae25b2fcd786dc66e738ef10b9171213e)
#### [v1.11.0-0](https://github.com/leolabs/ableton.js/compare/v1.10.2...v1.11.0-0)

@@ -9,0 +16,0 @@

8

index.d.ts

@@ -55,5 +55,7 @@ /// <reference types="node" />

private handleUncompressedMessage;
sendCommand(ns: string, nsid: number | undefined, name: string, args?: {
[k: string]: any;
}, timeout?: number): Promise<any>;
/**
* Sends a raw command to Ableton. Usually, you won't need this.
* A good starting point in general is the `song` prop.
*/
sendCommand(ns: string, nsid: number | undefined, name: string, args?: Record<string, any> | any[], timeout?: number): Promise<any>;
getProp(ns: string, nsid: number | undefined, prop: string): Promise<any>;

@@ -60,0 +62,0 @@ setProp(ns: string, nsid: number | undefined, prop: string, value: any): Promise<any>;

@@ -200,2 +200,6 @@ "use strict";

};
/**
* Sends a raw command to Ableton. Usually, you won't need this.
* A good starting point in general is the `song` prop.
*/
Ableton.prototype.sendCommand = function (ns, nsid, name, args, timeout) {

@@ -202,0 +206,0 @@ if (timeout === void 0) { timeout = 2000; }

@@ -126,3 +126,3 @@ "use strict";

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_audio_track", { index: index })];
return [2 /*return*/, this.sendCommand("create_audio_track", [index])];
});

@@ -134,3 +134,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_midi_track", { index: index })];
return [2 /*return*/, this.sendCommand("create_midi_track", [index])];
});

@@ -142,3 +142,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_return_track", { index: index })];
return [2 /*return*/, this.sendCommand("create_return_track", [index])];
});

@@ -150,3 +150,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("create_scene", { index: index })];
return [2 /*return*/, this.sendCommand("create_scene", [index])];
});

@@ -158,3 +158,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_return_track", { index: index })];
return [2 /*return*/, this.sendCommand("delete_return_track", [index])];
});

@@ -166,3 +166,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_scene", { index: index })];
return [2 /*return*/, this.sendCommand("delete_scene", [index])];
});

@@ -174,3 +174,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("delete_track", { index: index })];
return [2 /*return*/, this.sendCommand("delete_track", [index])];
});

@@ -182,3 +182,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("duplicate_scene", { index: index })];
return [2 /*return*/, this.sendCommand("duplicate_scene", [index])];
});

@@ -190,3 +190,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("duplicate_track", { index: index })];
return [2 /*return*/, this.sendCommand("duplicate_track", [index])];
});

@@ -226,3 +226,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("jump_by", { amount: amount })];
return [2 /*return*/, this.sendCommand("jump_by", [amount])];
});

@@ -255,3 +255,3 @@ });

return __generator(this, function (_a) {
return [2 /*return*/, this.sendCommand("scrub_by", { amount: amount })];
return [2 /*return*/, this.sendCommand("scrub_by", [amount])];
});

@@ -258,0 +258,0 @@ });

{
"name": "ableton-js",
"version": "1.11.0-0",
"version": "1.11.0",
"description": "Control Ableton Live from Node",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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