Skip to content

Commit 6f9557f

Browse files
authored
Merge pull request #5 from nberlette/fix/function
fix: type errors with isFunction
2 parents 93987da + a8f1bf8 commit 6f9557f

File tree

329 files changed

+372
-344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+372
-344
lines changed

deno.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nick/is",
3-
"version": "0.2.0-rc.4",
3+
"version": "0.2.0-rc.5",
44
"license": "MIT",
55
"author": {
66
"name": "Nicholas Berlette",
@@ -350,11 +350,20 @@
350350
"prepublish": "deno lint --fix && deno fmt --check && deno task test && deno task check:licenses && deno publish --dry-run",
351351
"publish": "deno task prepublish && deno publish"
352352
},
353-
"exclude": ["docs", "node_modules", ".coverage"],
354-
"unstable": ["node-globals", "temporal"],
353+
"exclude": [
354+
"docs",
355+
"node_modules",
356+
".coverage"
357+
],
355358
"publish": {
356-
"include": ["mod.ts", "deno.json", "README.md", "src/**/*", "LICENSE"],
359+
"include": [
360+
"**/*.ts",
361+
"deno.json",
362+
"README.md",
363+
"LICENSE"
364+
],
357365
"exclude": [
366+
"scripts",
358367
"**/.*",
359368
"**/*.test.*",
360369
"**/*.bench.*"

mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/
4+
* @see https://jsr.io/@nick/[email protected].4/doc/
55
*/
66
export * as is from "./src/namespace.ts";
77
export * as default from "./src/namespace.ts";

src/_internal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/_internal
4+
* @see https://jsr.io/@nick/[email protected].4/doc/_internal
55
*/
66

77
export * from "./_internal/expect_type.ts";

src/_internal/expect_type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/expect-type
4+
* @see https://jsr.io/@nick/[email protected].4/doc/expect-type
55
*/
66

77
export const expectType: <T>(value: T) => void = (_) => {};

src/_internal/global_this.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/global-this
4+
* @see https://jsr.io/@nick/[email protected].4/doc/global-this
55
*/
66
declare const root: typeof globalThis | undefined;
77
declare const self: typeof globalThis | undefined;

src/_internal/has_methods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
44
* @license MIT (https://nick.mit-license.org/2024)
5-
* @see https://jsr.io/@nick/[email protected].3/doc/has-methods
5+
* @see https://jsr.io/@nick/[email protected].4/doc/has-methods
66
*/
77

88
import { Object } from "./primordials.ts";

src/_internal/is_tagged_native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
44
* @license MIT (https://nick.mit-license.org/2024)
5-
* @see https://jsr.io/@nick/[email protected].3/doc/is-tagged-native
5+
* @see https://jsr.io/@nick/[email protected].4/doc/is-tagged-native
66
*/
77

88
import { Object, SymbolToStringTag } from "./primordials.ts";

src/_internal/primordials.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
44
* @license MIT (https://nick.mit-license.org/2024)
5-
* @see https://jsr.io/@nick/[email protected].3/doc/primordials
5+
* @see https://jsr.io/@nick/[email protected].4/doc/primordials
66
*/
77
import { $globalThis } from "./global_this.ts";
88
import type * as T from "./types.ts";

src/_internal/to_string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/to-string
4+
* @see https://jsr.io/@nick/[email protected].4/doc/to-string
55
*/
66

77
import { uncurryThis } from "./uncurry_this.ts";

src/_internal/try_method.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Copyright (c) 2024-2025 Nicholas Berlette. All rights reserved.
33
* @license MIT (https://nick.mit-license.org/2024)
4-
* @see https://jsr.io/@nick/[email protected].3/doc/try-method
4+
* @see https://jsr.io/@nick/[email protected].4/doc/try-method
55
*/
66

77
import { FunctionPrototypeCall } from "./primordials.ts";

0 commit comments

Comments
 (0)