Socket
Socket
Sign inDemoInstall

@lanetix/type-visitor

Package Overview
Dependencies
0
Maintainers
26
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

10

lib/index.js

@@ -376,3 +376,3 @@ /* eslint-disable no-new-wrappers */

var toTy = function toTy(json) {
var toTyFromJson = function toTyFromJson(json) {
if (json.fun) {

@@ -382,3 +382,3 @@ var ty = {

};
var args = json.args && toTy(json.args);
var args = json.args && toTyFromJson(json.args);
if (args) {

@@ -392,3 +392,3 @@ ty.args = args;

for (var key in json) {
ty[key] = toTy(json[key]);
ty[key] = toTyFromJson(json[key]);
}

@@ -398,2 +398,4 @@ return ty;

};
exports.toTy = toTy;
// exporting toTyFromJson (formerly toTy) as an alias to make it easier for transpilers, etc. to handle the recursive calls inside toTyFromJson -- Resolves CI/code-coverage failures in lanetix/layout-validator#9
exports.toTy = toTyFromJson;

2

package.json
{
"name": "@lanetix/type-visitor",
"version": "4.0.0",
"version": "4.0.1",
"description": "visit your types",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc