New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

is-lite

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-lite - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

29

package.json
{
"name": "is-lite",
"version": "0.5.0",
"version": "0.5.1",
"description": "A tiny javascript type testing tool",

@@ -26,13 +26,14 @@ "author": "Gil Barbara <gilbarbara@gmail.com>",

"devDependencies": {
"@size-limit/preset-small-lib": "^2.0.2",
"@gilbarbara/tsconfig": "^0.1.0",
"@size-limit/preset-small-lib": "^2.1.0",
"@types/jest": "^24.0.17",
"@types/node": "^12.7.1",
"@types/node": "^12.7.2",
"@types/yargs": "^13.0.2",
"chalk": "^2.4.2",
"cross-env": "^5.2.0",
"husky": "^3.0.3",
"jest": "^24.8.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"size-limit": "^2.0.2",
"repo-tools": "^0.2.0",
"rimraf": "^3.0.0",
"size-limit": "^2.1.0",
"ts-jest": "^24.0.2",

@@ -42,4 +43,3 @@ "ts-node": "^8.3.0",

"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3",
"yargs": "^13.3.0"
"typescript": "^3.5.3"
},

@@ -52,6 +52,7 @@ "scripts": {

"lint": "tslint 'src/**/*.ts' 'tools/**/*.ts'",
"test": "jest --coverage",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"validate": "npm run lint && npm run test && npm run build && npm run size",
"validate": "npm run lint && npm run test:coverage && npm run build && npm run size",
"size": "size-limit",

@@ -108,6 +109,6 @@ "prepublishOnly": "npm run validate"

"hooks": {
"post-merge": "ts-node tools update",
"pre-commit": "ts-node tools has-commits && npm run validate"
"pre-commit": "repo-tools check-remote && npm run validate",
"post-merge": "repo-tools install-packages"
}
}
}

@@ -33,5 +33,5 @@ # is-lite

####is.array(value)
#### is.array(value)
####is.asyncFunction(value)
#### is.asyncFunction(value)

@@ -45,19 +45,19 @@ Check if `value` is an `async` function that can be called with `await`

####is.boolean(value)
#### is.boolean(value)
####is.date(value)
#### is.date(value)
####is.domElement(value)
#### is.domElement(value)
Check if `value` is a DOM Element.
####is.error(value)
#### is.error(value)
####is.function(value)
#### is.function(value)
####is.generator(value)
#### is.generator(value)
Check for an object that has its own .next() and .throw() methods and has a function definition for `Symbol.iterator`
####is.generatorFunction(value)
#### is.generatorFunction(value)
####is.instanceOf(value, class)
#### is.instanceOf(value, class)
Check if `value` is a direct instance of `class`

@@ -74,40 +74,40 @@

####is.iterable(value)
#### is.iterable(value)
####is.map(value)
#### is.map(value)
####is.nan(value)
#### is.nan(value)
####is.null(value)
#### is.null(value)
####is.nullOrUndefined(value)
#### is.nullOrUndefined(value)
####is.number(value)
#### is.number(value)
Note: `is.number(NaN)` returns `false`
####is.numericString(value)
#### is.numericString(value)
Check for a string that represents a number. For example, '42' and '-8'.
Note: 'NaN' returns false, but 'Infinity' and '-Infinity' return true
####is.object(value)
#### is.object(value)
Remember that functions and arrays are objects too.
####is.plainObject(value)
#### is.plainObject(value)
Check if the object is created by either `{}`, `new Object()`, or `Object.create(null)`.
####is.promise(value)
#### is.promise(value)
####is.regexp(value)
#### is.regexp(value)
####is.set(value)
#### is.set(value)
####is.string(value)
#### is.string(value)
####is.symbol(value)
#### is.symbol(value)
####is.undefined(value)
#### is.undefined(value)
####is.weakMap(value)
#### is.weakMap(value)
####is.weakSet(value)
#### is.weakSet(value)

@@ -114,0 +114,0 @@ ## FAQ

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc