From d25003738d04cf123bb180a3bfc6277bce51d1eb Mon Sep 17 00:00:00 2001 From: Omar Azmi <64020006+omar-azmi@users.noreply.github.com> Date: Wed, 18 Oct 2023 01:22:30 -0400 Subject: [PATCH] update dependency on `kitchensink_ts` to `v0.7.2` purge functions provided by the new version of `kitchensink_ts` bump minor patch version to `0.1.2-c` --- build_npm.ts | 5 +++-- deno.json | 4 ++-- src/async_signal.ts | 2 +- src/deps.ts | 15 +++++---------- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/build_npm.ts b/build_npm.ts index 1ca9b23..1b12bb5 100644 --- a/build_npm.ts +++ b/build_npm.ts @@ -88,10 +88,10 @@ await build({ mappings: Object.fromEntries( ["binder", "builtin_aliases_deps", "lambda", "struct", "typedefs",].map((submodule_path) => { return [ - "https://deno.land/x/kitchensink_ts@v0.7.1/" + submodule_path + ".ts", + "https://deno.land/x/kitchensink_ts@v0.7.2/" + submodule_path + ".ts", { name: "kitchensink_ts", - version: "^v0.7.1", + version: "^v0.7.2", subPath: submodule_path, } ] @@ -120,4 +120,5 @@ docs/ docs_config/ test/ tsconfig.json +typedoc.json `, { append: true }) diff --git a/deno.json b/deno.json index be9f5a8..5c215a7 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "tsignal_ts", - "version": "0.1.2-b", + "version": "0.1.2-c", "description": "a topological order respecting signals library inspired by SolidJS", "author": "Omar Azmi", "license": "Lulz plz don't steal yet", @@ -21,7 +21,7 @@ "allowJs": true }, "dependencies": { - "kitchensink_ts": "^0.7.1" + "kitchensink_ts": "^0.7.2" }, "devDependencies": { "typescript": "^5.0.0", diff --git a/src/async_signal.ts b/src/async_signal.ts index 84902a3..4d2c3a0 100644 --- a/src/async_signal.ts +++ b/src/async_signal.ts @@ -3,7 +3,7 @@ */ import { Context } from "./context.ts" -import { noop, promise_forever, promise_reject, promise_resolve } from "./deps.ts" +import { promise_forever, promise_reject, promise_resolve } from "./deps.ts" import { SimpleSignalConfig, SimpleSignal_Factory } from "./signal.ts" import { Accessor, AsyncSetter, ID, SignalUpdateStatus, Updater } from "./typedefs.ts" diff --git a/src/deps.ts b/src/deps.ts index 456ee57..3116ec0 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -10,17 +10,12 @@ export { bind_set_clear, bind_set_delete, bind_set_has -} from "https://deno.land/x/kitchensink_ts@v0.7.1/binder.ts" -export { array_isArray, noop, object_assign, object_keys, object_values } from "https://deno.land/x/kitchensink_ts@v0.7.1/builtin_aliases_deps.ts" -export { THROTTLE_REJECT, throttle, throttleAndTrail } from "https://deno.land/x/kitchensink_ts@v0.7.1/lambda.ts" -export { prototypeOfClass } from "https://deno.land/x/kitchensink_ts@v0.7.1/struct.ts" -export type { CallableFunctionsOf, ConstructorOf, MethodsOf, StaticImplements } from "https://deno.land/x/kitchensink_ts@v0.7.1/typedefs.ts" +} from "https://deno.land/x/kitchensink_ts@v0.7.2/binder.ts" +export { array_isArray, noop, object_assign, object_keys, object_values, promise_forever, promise_reject, promise_resolve } from "https://deno.land/x/kitchensink_ts@v0.7.2/builtin_aliases_deps.ts" +export { THROTTLE_REJECT, throttle, throttleAndTrail } from "https://deno.land/x/kitchensink_ts@v0.7.2/lambda.ts" +export { prototypeOfClass } from "https://deno.land/x/kitchensink_ts@v0.7.2/struct.ts" +export type { CallableFunctionsOf, ConstructorOf, MethodsOf, StaticImplements } from "https://deno.land/x/kitchensink_ts@v0.7.2/typedefs.ts" export const enum DEBUG { LOG = 0, } - -import { noop } from "https://deno.land/x/kitchensink_ts@v0.7.1/builtin_aliases_deps.ts" -export const promise_resolve = (value: T) => Promise.resolve(value) -export const promise_reject = (value: T) => Promise.reject(value) -export const promise_forever = () => new Promise(noop)