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

ts-runtime

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-runtime - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

6

factory.js

@@ -278,7 +278,9 @@ "use strict";

let ref = ts.createIdentifier(text);
let call = 'typeOf';
if (typeInfo.isTsrDeclaration()) {
text = util.getHashedDeclarationName(text, typeInfo.sourceFile.fileName);
ref = this.asRef(ts.createLiteral(text));
ref = ts.createLiteral(text);
call = 'ref';
}
return this.libCall('typeOf', ref);
return this.libCall(call, ref);
}

@@ -285,0 +287,0 @@ typeLiteralReflection(node) {

{
"name": "ts-runtime",
"version": "0.1.21",
"version": "0.1.22",
"description": "Runtime type checks for TypeScript",

@@ -26,3 +26,3 @@ "main": "index.js",

"docs": {
"version": "0.1.21-0"
"version": "0.1.22-0"
}

@@ -29,0 +29,0 @@ },

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