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

ts-auto-guard

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-auto-guard - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

tests/features/generates_type_guards_for_record_types_in_debug_mode.test.ts

2

lib/index.js

@@ -548,3 +548,3 @@ "use strict";

var keyEvaluation = keyConditions &&
"evaluate(".concat(keyConditions, ", `").concat(path, " (key: \"").concat(cleanKeyReplacer, "\")`, ").concat(index.keyType, ", ").concat(keyName, ")");
"evaluate(".concat(keyConditions, ", `").concat(path, " (key: \"").concat(cleanKeyReplacer, "\")`, ").concat(JSON.stringify(index.keyType), ", ").concat(keyName, ")");
if (evaluation || keyEvaluation) {

@@ -551,0 +551,0 @@ keyUsed();

{
"name": "ts-auto-guard",
"version": "4.1.1",
"version": "4.1.2",
"description": "Generate type guard functions from TypeScript interfaces",

@@ -22,4 +22,2 @@ "homepage": "https://github.com/rhys-vdw/ts-auto-guard",

"dependencies": {
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"command-line-args": "^5.1.1",

@@ -32,3 +30,5 @@ "command-line-usage": "^6.1.0",

"@detools/tap-diff": "^0.2.2",
"@types/node": "^14.6.0",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/node": "^18.11.9",
"@types/tape": "^4.13.0",

@@ -35,0 +35,0 @@ "@types/uglify-js": "^3.11.1",

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