Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typical

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typical - npm Package Compare versions

Comparing version 7.1.1 to 7.2.0

dist/index.cjs

2

index.js

@@ -6,3 +6,3 @@ /**

* @example
* import * as t from 'typical'
* import t from 'typical'
* const allDefined = array.every(t.isDefined)

@@ -9,0 +9,0 @@ */

{
"name": "typical",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "7.1.1",
"version": "7.2.0",
"description": "Isomorphic, functional type-checking for Javascript",
"repository": "https://github.com/75lb/typical",
"repository": {
"type": "git",
"url": "git+https://github.com/75lb/typical.git"
},
"license": "MIT",
"type": "module",
"exports": "./index.js",
"exports": {
"import": "./index.js",
"require": "./dist/index.cjs"
},
"keywords": [

@@ -41,20 +47,12 @@ "type",

"scripts": {
"test": "npm run test:cli && npm run test:web",
"test:cli": "test-runner test/*.js",
"test:web": "web-runner test/test.js",
"docs": "jsdoc2md -c jsdoc.conf -t README.hbs index.js > README.md",
"cover": "c8 npm test && c8 report --reporter=text-lcov | coveralls"
"test": "npm run dist && npm run test:ci",
"test:ci": "75lb-nature test-runner test/*.js",
"docs": "75lb-nature jsdoc2md -t README.hbs index.js > README.md",
"dist": "75lb-nature cjs-build index.js"
},
"devDependencies": {
"@test-runner/web": "^0.4.4",
"c8": "^7.8.0",
"coveralls": "^3.1.1",
"isomorphic-assert": "^1.0.0",
"jsdoc-to-markdown": "^7.0.1",
"rollup": "^2.56.2",
"test-object-model": "^0.7.1"
},
"devDependencies": {},
"files": [
"index.js"
"index.js",
"dist"
]
}

@@ -1,3 +0,1 @@

head
[![view on npm](https://badgen.net/npm/v/typical)](https://www.npmjs.org/package/typical)

@@ -8,4 +6,2 @@ [![npm module downloads](https://badgen.net/npm/dt/typical)](https://www.npmjs.org/package/typical)

[![Node.js CI](https://github.com/75lb/typical/actions/workflows/node.js.yml/badge.svg)](https://github.com/75lb/typical/actions/workflows/node.js.yml)
[![Coverage Status](https://coveralls.io/repos/github/75lb/typical/badge.svg)](https://coveralls.io/github/75lb/typical)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

@@ -20,3 +16,3 @@

```js
import * as t from 'typical'
import t from 'typical'
const allDefined = array.every(t.isDefined)

@@ -317,3 +313,3 @@ ```

```js
import * as typical from 'typical'
import t from 'typical'
```

@@ -327,6 +323,12 @@

CommonJS:
```js
const { isNumber } = require('typical')
```
Within a modern browser ECMAScript Module:
```js
import typical from './node_modules/typical/index.mjs'
import typical from './node_modules/typical/index.js'
```

@@ -336,4 +338,4 @@

&copy; 2014-21 Lloyd Brookes \<75pound@gmail.com\>.
&copy; 2014-25 Lloyd Brookes \<75pound@gmail.com\>.
Isomorphic test suite by [test-runner](https://github.com/test-runner-js/test-runner) and [web-runner](https://github.com/test-runner-js/web-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).
Test suite by [test-runner](https://github.com/test-runner-js/test-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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