From d524a5290f25dc543f73aa64fe181141b4fb9bb4 Mon Sep 17 00:00:00 2001 From: Miika Alonen Date: Wed, 16 Aug 2023 20:39:22 +0300 Subject: [PATCH] update zifferjs --- package.json | 2 +- src/Pattern.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index ded6859..059587d 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "superdough": "^0.9.3", "tailwindcss": "^3.3.3", "tone": "^14.8.49", - "zifferjs": "^0.0.4", + "zifferjs": "^0.0.5", "zzfx": "^1.2.0" } } diff --git a/src/Pattern.ts b/src/Pattern.ts index d9f3bab..ecede2f 100644 --- a/src/Pattern.ts +++ b/src/Pattern.ts @@ -4,7 +4,7 @@ export class Pattern { _current : Event | undefined = undefined; constructor(values: number[]) { - this.events = values.map((value, index) => new Event(value)); + this.events = values.map((value) => new Event(value)); this.buildLinks(); } diff --git a/yarn.lock b/yarn.lock index cbc32f2..eac6f08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1148,10 +1148,10 @@ yaml@^2.1.1: resolved "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -zifferjs@^0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.4.tgz#e6a2055bca9b60a22db9ac88a2bce777ce08945a" - integrity sha512-p+i8y4Edq8V1tp9+eEtUvCcNTQQfLHjiMrDAB9NS/62c3bPi0eZ5VujHLmNdTwjK8ZT5nzElLRq7hA5C7YRplQ== +zifferjs@^0.0.5: + version "0.0.5" + resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.5.tgz#b641e6d960e1b24389feacc0d975262af63cb75e" + integrity sha512-8IfsiiWigHLh1h7SaBtXe0Cig8bbvCR6mI4P/0n3j/oedY8WQcu5gj+v1q+VcQW0D2zfTvGGKrWZdqCjXrKRfw== dependencies: lru-cache "^10.0.0"