Socket
Socket
Sign inDemoInstall

plutonio

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plutonio - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

.env

2

dist/index.js

@@ -33,4 +33,2 @@ "use strict";

exports.default = plutonio;
// const scanned = plutonio.scan();
// console.log(JSON.stringify(scanned, null, 2));
//# sourceMappingURL=index.js.map

@@ -493,2 +493,9 @@ "use strict";

}
if (type_reference.getText() === 'Date') {
let type_attributes = {
primitive: t.PRIMITIVE.DATE,
original: _resolve_original(node),
};
return type_attributes;
}
const node_type = checker.getTypeAtLocation(type_reference);

@@ -495,0 +502,0 @@ /*

@@ -61,2 +61,3 @@ /**

ARRAY: string;
DATE: string;
ENUM: string;

@@ -63,0 +64,0 @@ BOOLEAN: string;

@@ -17,2 +17,3 @@ "use strict";

ARRAY: 'array',
DATE: 'date',
ENUM: 'enum',

@@ -19,0 +20,0 @@ BOOLEAN: 'boolean',

{
"name": "plutonio",
"version": "0.5.2",
"version": "0.6.0",
"description": "A typescript library that scans your typescript project and generate a schema of all types and interfaces of the project.",

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

@@ -9,4 +9,1 @@ /**

export default plutonio;
// const scanned = plutonio.scan();
// console.log(JSON.stringify(scanned, null, 2));

@@ -613,2 +613,9 @@ /**

}
if (type_reference.getText() === 'Date') {
let type_attributes: t.TypeAttributes = {
primitive: t.PRIMITIVE.DATE,
original: _resolve_original(node),
};
return type_attributes;
}
const node_type = checker.getTypeAtLocation(type_reference);

@@ -615,0 +622,0 @@

@@ -80,2 +80,3 @@ /**

ARRAY: 'array',
DATE: 'date',
ENUM: 'enum',

@@ -82,0 +83,0 @@ BOOLEAN: 'boolean',

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