forked from orbit-oss/is
Meta tweaks
This commit is contained in:
parent
e9418fe1b9
commit
07ea404e86
4 changed files with 3 additions and 13 deletions
2
.github/funding.yml
vendored
2
.github/funding.yml
vendored
|
|
@ -1,2 +0,0 @@
|
|||
github: sindresorhus
|
||||
tidelift: npm/@sindresorhus/is
|
||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -11,11 +11,9 @@ jobs:
|
|||
matrix:
|
||||
node-version:
|
||||
- 20
|
||||
- 18
|
||||
- 16
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"type": "module",
|
||||
"exports": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"sideEffects": false,
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
},
|
||||
|
|
@ -64,7 +65,6 @@
|
|||
"zen-observable": "^0.10.0",
|
||||
"expect-type": "^0.16.0"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"ava": {
|
||||
"extensions": {
|
||||
"ts": "module"
|
||||
|
|
|
|||
|
|
@ -732,12 +732,6 @@ The most common mistakes I noticed in these modules was using `instanceof` for t
|
|||
|
||||
`instanceof` does not work correctly for all types and it does not work across [realms](https://stackoverflow.com/a/49832343/64949). Examples of realms are iframes, windows, web workers, and the `vm` module in Node.js.
|
||||
|
||||
## For enterprise
|
||||
|
||||
Available as part of the Tidelift Subscription.
|
||||
|
||||
The maintainers of @sindresorhus/is and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-sindresorhus-is?utm_source=npm-sindresorhus-is&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|
||||
|
||||
## Related
|
||||
|
||||
- [ow](https://github.com/sindresorhus/ow) - Function argument validation for humans
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue