Commit graph

  • 94dc715577 5.5.2 v5.5.2 Sindre Sorhus 2023-07-17 11:42:55 +02:00
  • 20ad8231c2
    Fix is.nonEmptyArray() type narrowing with undefined (#188) Eugene 2023-07-17 10:42:04 +01:00
  • dbe269ff1c Fix non empty array type narrowing with undefined Eugene 2023-07-17 09:00:25 +01:00
  • ad0c3b1429 5.5.1 v5.5.1 Sindre Sorhus 2023-07-16 16:20:29 +02:00
  • 9d26c020ee
    Fix type guards for assert.{truthy,falsy,nan} (#187) hyperbola 2023-07-16 22:19:31 +08:00
  • 18cd1499c1
    Add unittests for assert.{truthy, falsy} hyperbola 2023-07-15 21:05:34 +08:00
  • 078d8a050f
    Remove redundant generic usage for is.falsy hyperbola 2023-07-15 19:33:20 +08:00
  • a614e9dfeb
    Fix type guards for assert.{truthy,falsy,nan} hyperbola 2023-07-15 12:41:24 +08:00
  • 278e0e9696 5.5.0 v5.5.0 Sindre Sorhus 2023-07-15 00:28:14 +02:00
  • 1284da085f
    Add is.positiveNumber and is.negativeNumber (#184) Eugene 2023-07-14 23:26:30 +01:00
  • 3177d11801
    Fix type narrowing for nonEmptyArray (#185) Eugene 2023-07-14 23:24:56 +01:00
  • 35f796d783 Return actual type instead of never Eugene 2023-07-14 17:36:00 +01:00
  • bcd38c5ad6 Fix parameter type for non empty array Eugene 2023-07-14 17:31:42 +01:00
  • 16d8e52e2b Fix type narrowing for non empty array assert Eugene 2023-07-14 15:39:33 +01:00
  • 6d4f32287f Fix type narrowing for non empty array Eugene 2023-07-14 15:07:48 +01:00
  • 320bfdf9b5 Add positive and negative number checks Eugene 2023-07-14 13:03:21 +01:00
  • 9265e9072d Add test for #183 Sindre Sorhus 2023-06-10 11:43:41 +03:00
  • 7d468191f4 5.4.1 v5.4.1 Sindre Sorhus 2023-06-04 11:04:07 +03:00
  • d1574d358d
    Revert exports change in package.json (#180) Bjorn Stromberg 2023-06-04 16:01:35 +08:00
  • 814f10830b move ava's node arguments into NODE_OPTIONS until ts-node is fixed Bjorn Stromberg 2023-06-04 10:25:12 +08:00
  • f8e6ae7aec Drop node v14 support Bjorn Stromberg 2023-06-04 10:01:26 +08:00
  • 5c9fb20918 Add node v20 to the node version matrix in CI Bjorn Stromberg 2023-06-04 09:59:28 +08:00
  • 3c29f6deea fix: revert exports change, it only works in node v20 Bjorn Stromberg 2023-06-04 09:02:47 +08:00
  • 61a437eba3 5.4.0 v5.4.0 Sindre Sorhus 2023-05-30 21:16:59 +07:00
  • 65404fbd8e Meta tweaks Sindre Sorhus 2023-05-30 21:13:40 +07:00
  • 888e145c5a
    Improve type guard/assertion of numericString() (#178) Xananax 2023-05-30 13:43:51 +02:00
  • 4d9c1351ed Discriminate better with numericString Xananax 2023-05-30 13:17:10 +02:00
  • 4e4e52ad62 Fix package.json João Neves 2022-11-22 16:57:48 +00:00
  • a0f5706319 Support custom errors message João Neves 2022-11-22 15:55:08 +00:00
  • e559b37b72 Update dev dependencies Sindre Sorhus 2022-10-17 18:02:01 +07:00
  • f3693674f6 Add failing test for #174 Sindre Sorhus 2022-10-17 17:51:49 +07:00
  • 911f44dc36 5.3.0 v5.3.0 Sindre Sorhus 2022-07-21 16:30:26 +02:00
  • 33cd815503 Meta tweaks Sindre Sorhus 2022-07-21 16:27:57 +02:00
  • 592d9093cd Make nonEmptyArray() more strongly-typed Sindre Sorhus 2022-07-21 16:26:15 +02:00
  • d3ff1fdfce 5.2.0 v5.2.0 Sindre Sorhus 2022-06-21 14:07:38 +02:00
  • 45cae31f4d
    Improve plainObject() (#169) ehmicky 2022-06-21 14:05:40 +02:00
  • 0feca97ec1 Improve plainObject() ehmicky 2022-06-15 19:05:39 +02:00
  • dc99f7cd4a 5.1.0 v5.1.0 Sindre Sorhus 2022-06-13 14:07:07 +07:00
  • e503a9ec49
    Add .weakRef() (#165) Eric(书生) 2022-06-13 15:05:26 +08:00
  • 7aaa4ea6ce
    Update types.ts Sindre Sorhus 2022-06-13 13:58:24 +07:00
  • c27f2465c2 fix: hanlde ci error eric_wang 2022-06-12 18:12:18 +08:00
  • d7c49a5051 fix: ci lint error eric_wang 2022-06-12 18:06:45 +08:00
  • 0e9e7be7f7 fix: handle lint eric_wang 2022-06-12 18:04:01 +08:00
  • ecfe9954c3 Merge branch 'feature/add-weakref' of https://github.com/bigbigDreamer/is into feature/add-weakref eric_wang 2022-06-12 18:01:52 +08:00
  • 4fe89357fc feat: add WeakRef interface eric_wang 2022-06-12 18:01:46 +08:00
  • b3ceb9fe68
    Update tsconfig.json Sindre Sorhus 2022-06-12 16:05:53 +07:00
  • d4749eb32d
    Update test.ts Sindre Sorhus 2022-06-12 16:05:40 +07:00
  • 335c5ee25f feat: del .idea eric_wang 2022-06-12 13:54:19 +08:00
  • bfb2bc0c43 fix: handle lint error eric_wang 2022-06-12 13:53:52 +08:00
  • f9697c42d7 feat: del .idea eric_wang 2022-06-12 13:35:11 +08:00
  • 41f777c39e fix: handle conflict eric_wang 2022-06-12 13:34:00 +08:00
  • 06d217f70c 5.0.1 v5.0.1 Sindre Sorhus 2022-06-11 18:28:13 +07:00
  • ac7c567c2b Fix typo Sindre Sorhus 2022-06-11 18:27:36 +07:00
  • 778c5da5b3 5.0.0 v5.0.0 Sindre Sorhus 2022-06-11 18:19:55 +07:00
  • d6fc1ce0fe Require Node.js 14, TS 4.7, and move to ESM (#167) Sindre Sorhus 2022-06-11 17:44:01 +07:00
  • dd944aac3e fix Sindre Sorhus 2022-06-11 17:38:59 +07:00
  • 7689d89b98
    Merge branch 'main' into esm Sindre Sorhus 2022-06-11 17:28:27 +07:00
  • 2e720ceb4c fix tests Sindre Sorhus 2022-06-11 17:21:47 +07:00
  • c408f5a268
    Fix NaN detection in .is() (#159) Filip Skokan 2022-06-09 19:05:31 +02:00
  • a5fe05a534 chore: update jsdom to 16.5.2 to fix node v10 eric_wang 2022-06-10 00:15:57 +08:00
  • 9a219892e4 feat: rm rf .idea eric_wang 2022-06-09 23:52:10 +08:00
  • 2879dc1470 fix: fix test case eric_wang 2022-06-09 23:51:40 +08:00
  • dc3594db4f Fix building Sindre Sorhus 2022-06-03 15:03:42 +07:00
  • 9bc8f8b655 Require Node.js 14 and move to ESM Sindre Sorhus 2022-06-03 12:14:47 +07:00
  • 39fbd33fe1 style: del .idea file eric_wang 2022-03-09 18:14:41 +08:00
  • 781d891939 fix: Compatible with node low version test eric_wang 2022-03-09 18:14:09 +08:00
  • 6016c3b7b1 feat: remove ./idea eric_wang 2022-03-02 22:35:25 +08:00
  • cd29549037 chore: update package typescript's version eric_wang 2022-03-02 22:34:05 +08:00
  • 8e833cc53c chore: restore ts lib & target config eric_wang 2022-03-02 22:05:50 +08:00
  • 9d2121e436 feat: add .isWeakRef eric_wang 2022-03-02 21:59:19 +08:00
  • 70d0f8fa24 feat: remove .idea of ide eric_wang 2022-03-02 00:11:48 +08:00
  • 58abf2a811 feat: add weakRef eric_wang 2022-03-02 00:11:19 +08:00
  • 65ea91297e 4.6.0 v4.6.0 Sindre Sorhus 2022-02-27 14:21:30 +07:00
  • 5b7ea154e6
    Add .isBlob() (#162) Eric(书生) 2022-02-27 15:16:25 +08:00
  • 587afcfd42
    Update readme.md Sindre Sorhus 2022-02-27 14:13:30 +07:00
  • 6c8cc3fcdc
    Update readme.md Sindre Sorhus 2022-02-27 14:13:06 +07:00
  • 990679fd21
    Update .gitignore Sindre Sorhus 2022-02-27 14:12:43 +07:00
  • 60ee2ba5ec feat: add new ignore file to .gitignore config file eric_wang 2022-02-26 04:52:15 +08:00
  • 07261a9760 feat: support is.blob eric_wang 2022-02-26 04:51:19 +08:00
  • 6cbefb9af7 Meta tweaks Sindre Sorhus 2022-02-25 16:19:29 +07:00
  • dc2dc9a438 4.5.0 v4.5.0 Sindre Sorhus 2022-02-25 16:16:30 +07:00
  • 23cf074a73
    Add .nonEmptyStringAndNotWhitespace() (#161) Ivan Katliarchuk 2022-02-25 09:10:57 +00:00
  • 6999b8eea1
    Update test.ts Sindre Sorhus 2022-02-25 16:09:36 +07:00
  • 4248929445
    Update readme.md Sindre Sorhus 2022-02-25 16:08:14 +07:00
  • 9f59fee0d9
    added test coverage ivan katliarchuk 2022-02-25 08:50:24 +00:00
  • c3605150a9
    reword a doc description ivan katliarchuk 2022-02-22 18:37:04 +00:00
  • 2ae8965f56
    remove test that not provide any value ivan katliarchuk 2022-02-22 18:33:19 +00:00
  • f709a59ec4
    Update readme.md Ivan Katliarchuk 2022-02-22 18:26:43 +00:00
  • 57ba0376c4
    Update readme.md Ivan Katliarchuk 2022-02-22 18:24:39 +00:00
  • ab471ab1c8
    readme updated ivan katliarchuk 2022-02-22 09:16:34 +00:00
  • 7f3eee7a8a
    chore: added nonEmptyStringAndNotWhitespace ivan katliarchuk 2022-02-22 09:09:09 +00:00
  • 3a9761d4af
    chore: added nonEmptyStringAndNotWhitespace ivan katliarchuk 2022-02-22 09:07:55 +00:00
  • 37e097dd5f Fix NaN .is() return Filip Skokan 2022-02-21 18:45:25 +01:00
  • 04ccf21dba Document TypeScript naming limitation Sindre Sorhus 2022-02-01 11:37:28 +07:00
  • 99153d79db Add is.fortyTwo Sindre Sorhus 2022-01-28 01:21:07 +07:00
  • c3d12667fd 4.4.0 v4.4.0 Sindre Sorhus 2022-01-25 17:29:45 +07:00
  • 63d75d68ee
    Add type guard for is.truthy and is.falsy (#151) Zane Shannon 2022-01-25 02:28:33 -08:00
  • ace43e9255 added type narrowing to is.falsy Zane Shannon 2022-01-25 04:49:16 +00:00
  • 73daee6648
    Improve .enumCase doc formatting in readme (#154) Pedro Augusto de Paula Barbosa 2022-01-18 01:48:03 -03:00
  • 53afa44604
    Improve .enumCase doc formatting in readme Pedro Augusto de Paula Barbosa 2022-01-18 01:23:22 -03:00