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

generic-type-guard

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generic-type-guard - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

CHANGELOG.md
# generic-type-guard
## 4.0.1
### Patch Changes
- b9487fb: Enable NPM provenance
## 4.0.0

@@ -4,0 +10,0 @@

190

package.json
{
"name": "generic-type-guard",
"version": "4.0.0",
"description": "Generic type guards for TypeScript",
"main": "dist/index.js",
"types": "dist/generic-type-guard.d.ts",
"engines": {
"npm": ">= 7"
},
"scripts": {
"build": "rimraf dist && tsc --target es5 && api-extractor run --local --verbose",
"prepack": "rimraf dist && tsc --target es5 && api-extractor run --local",
"test": "npm run lint && npm run mocha && git diff --name-only --exit-code",
"test-watch": "nodemon -e ts,json --exec npm run test",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"lint-watch": "nodemon -e ts,json --exec eslint . --ext .js,.jsx,.ts,.tsx",
"mocha": "nyc mocha 'src/**/*.spec.ts'",
"mocha-watch": "nodemon -e ts,json --exec npm run mocha 'src/**/*.spec.ts'",
"stryker": "stryker run",
"stryker-watch": "nodemon -e ts,json --exec stryker run",
"codecov-local": "nyc report",
"codecov-report": "nyc report --reporter=json && codecov -f coverage/*.json -F generic_type_guard",
"cs-version": "npm run build && changeset version",
"cs-release": "changeset publish"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"**/*.spec.ts"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true,
"checkCoverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100
},
"repository": {
"type": "git",
"url": "git+https://github.com/mscharley/generic-type-guard.git"
},
"keywords": [
"typescript",
"typeguard",
"type-guard",
"ts"
],
"author": "Matthew Scharley",
"license": "MIT",
"bugs": {
"url": "https://github.com/mscharley/generic-type-guard/issues"
},
"homepage": "https://github.com/mscharley/generic-type-guard/tree/master/packages/generic-type-guard#readme",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/mscharley"
},
"devDependencies": {
"@changesets/cli": "2.26.2",
"@microsoft/api-extractor": "7.38.0",
"@mscharley/eslint-config": "2.0.4",
"@mscharley/prettier-config": "2.0.2",
"@stryker-mutator/core": "7.3.0",
"@stryker-mutator/mocha-runner": "7.3.0",
"@stryker-mutator/typescript-checker": "7.3.0",
"@types/chai": "4.3.9",
"@types/mocha": "10.0.3",
"@types/node": "18.18.6",
"chai": "4.3.10",
"codecov": "3.8.3",
"mocha": "10.2.0",
"nodemon": "3.0.1",
"nyc": "15.1.0",
"rimraf": "5.0.5",
"source-map-support": "0.5.21",
"testdouble": "3.20.0",
"ts-node": "10.9.1",
"typescript": "5.2.2"
}
"name": "generic-type-guard",
"version": "4.0.1",
"publishConfig": {
"provenance": true
},
"description": "Generic type guards for TypeScript",
"main": "dist/index.js",
"types": "dist/generic-type-guard.d.ts",
"engines": {
"node": ">= 16"
},
"scripts": {
"build": "rimraf dist && tsc --target es5 && api-extractor run --local --verbose",
"prepack": "rimraf dist && tsc --target es5 && api-extractor run --local",
"test": "npm run lint && npm run mocha && git diff --name-only --exit-code",
"test-watch": "nodemon -e ts,json --exec npm run test",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"lint-watch": "nodemon -e ts,json --exec eslint . --ext .js,.jsx,.ts,.tsx",
"mocha": "nyc mocha 'src/**/*.spec.ts'",
"mocha-watch": "nodemon -e ts,json --exec npm run mocha 'src/**/*.spec.ts'",
"stryker": "stryker run",
"stryker-watch": "nodemon -e ts,json --exec stryker run",
"codecov-local": "nyc report",
"codecov-report": "nyc report --reporter=json && codecov -f coverage/*.json -F generic_type_guard",
"cs-version": "npm run build && changeset version",
"cs-release": "changeset publish"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"**/*.spec.ts"
],
"extension": [
".ts",
".tsx"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html"
],
"sourceMap": true,
"instrument": true,
"checkCoverage": true,
"lines": 100,
"functions": 100,
"branches": 100,
"statements": 100
},
"repository": {
"type": "git",
"url": "git+https://github.com/mscharley/generic-type-guard.git"
},
"keywords": [
"typescript",
"typeguard",
"type-guard",
"ts"
],
"author": "Matthew Scharley",
"license": "MIT",
"bugs": {
"url": "https://github.com/mscharley/generic-type-guard/issues"
},
"homepage": "https://github.com/mscharley/generic-type-guard/tree/master/packages/generic-type-guard#readme",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/mscharley"
},
"devDependencies": {
"@changesets/cli": "2.26.2",
"@microsoft/api-extractor": "7.38.0",
"@mscharley/eslint-config": "2.0.5",
"@mscharley/prettier-config": "2.0.3",
"@stryker-mutator/core": "7.3.0",
"@stryker-mutator/mocha-runner": "7.3.0",
"@stryker-mutator/typescript-checker": "7.3.0",
"@types/chai": "4.3.9",
"@types/mocha": "10.0.3",
"@types/node": "18.18.6",
"chai": "4.3.10",
"mocha": "10.2.0",
"nodemon": "3.0.1",
"nyc": "15.1.0",
"rimraf": "5.0.5",
"source-map-support": "0.5.21",
"testdouble": "3.20.0",
"ts-node": "10.9.1",
"typescript": "5.2.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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