Skip to content

Commit

Permalink
update dependency on kitchensink_ts to v0.7.2
Browse files Browse the repository at this point in the history
purge functions provided by the new version of `kitchensink_ts`
bump minor patch version to `0.1.2-c`
  • Loading branch information
omar-azmi committed Oct 18, 2023
1 parent 8334340 commit d250037
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
5 changes: 3 additions & 2 deletions build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
]
Expand Down Expand Up @@ -120,4 +120,5 @@ docs/
docs_config/
test/
tsconfig.json
typedoc.json
`, { append: true })
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -21,7 +21,7 @@
"allowJs": true
},
"dependencies": {
"kitchensink_ts": "^0.7.1"
"kitchensink_ts": "^0.7.2"
},
"devDependencies": {
"typescript": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/async_signal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
15 changes: 5 additions & 10 deletions src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <T>(value: T) => Promise.resolve(value)
export const promise_reject = <T>(value: T) => Promise.reject(value)
export const promise_forever = <T>() => new Promise<T>(noop)

0 comments on commit d250037

Please sign in to comment.