Socket
Socket
Sign inDemoInstall

@ovotech/avro-ts

Package Overview
Dependencies
Maintainers
249
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ovotech/avro-ts - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

2

dist/convert.js

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

else {
throw new Error(`Cannot work out type ${type}`);
throw new Error(`Cannot work out type ${JSON.stringify(type)}`);
}

@@ -105,0 +105,0 @@ };

@@ -7,3 +7,4 @@ "use strict";

const helpers_1 = require("../helpers");
const isRecordType = (type) => typeof type === 'object' && 'type' in type && type.type === 'record';
const isRecordType = (type) => (typeof type === 'object' && 'type' in type && type.type === 'record') ||
type.type === 'error';
exports.isRecordType = isRecordType;

@@ -10,0 +11,0 @@ const withDefault = (def, doc) => {

{
"name": "@ovotech/avro-ts",
"description": "Convert avro schemas into typescript interfaces",
"version": "6.0.2",
"version": "6.0.3",
"main": "dist/index.js",

@@ -40,3 +40,3 @@ "source": "src/index.ts",

},
"gitHead": "ae2447177626ba7ecab3ac1e68c3211730fb94f9"
"gitHead": "28d0f178b70b3df4f0a16dec01b9b16b2558a79b"
}
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