New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphitation/cli

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphitation/cli - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

13

CHANGELOG.md
# Change Log - @graphitation/cli
This log was last generated on Sun, 08 Oct 2023 15:21:28 GMT and should not be manually modified.
This log was last generated on Mon, 16 Oct 2023 09:30:11 GMT and should not be manually modified.
<!-- Start content -->
## 1.9.0
Mon, 16 Oct 2023 09:30:11 GMT
### Minor changes
- ts-codegen can generate only enum files (jakubvejr@microsoft.com)
- Bump @graphitation/ts-codegen to v2.8.0
## 1.8.0
Sun, 08 Oct 2023 15:21:28 GMT
Sun, 08 Oct 2023 15:21:54 GMT

@@ -11,0 +20,0 @@ ### Minor changes

5

lib/supermassive.js

@@ -81,5 +81,5 @@ "use strict";

).option("-cn, --context-name [contextName]", "Context name").option("-ei, --enums-import [enumsImport]", "from where to import enums").option("-l, --legacy", "generate legacy types").option("--legacy-models", "do not use models for object types").option(
"--useStringUnionsInsteadOfEnums",
"--use-string-unions-instead-of-enums",
"When this flag is set, then enums are replaced by string unions."
).option("--scope [scope]", "generate models only for scope").description("generate interfaces and models").action(
).option("--generate-only-enums", "Generate only enum file").option("--scope [scope]", "generate models only for scope").description("generate interfaces and models").action(
(inputs, options) => __async(this, null, function* () {

@@ -138,2 +138,3 @@ yield generateInterfaces(getFiles(inputs), options);

useStringUnionsInsteadOfEnums: !!options.useStringUnionsInsteadOfEnums,
generateOnlyEnums: !!options.generateOnlyEnums,
modelScope: options.scope || null

@@ -140,0 +141,0 @@ });

{
"name": "@graphitation/cli",
"license": "MIT",
"version": "1.8.0",
"version": "1.9.0",
"bin": {

@@ -27,3 +27,3 @@ "supermassive": "./bin/supermassive.js"

"@graphitation/supermassive-extractors": "^2.2.1",
"@graphitation/ts-codegen": "^2.7.0",
"@graphitation/ts-codegen": "^2.8.0",
"commander": "^8.3.0",

@@ -30,0 +30,0 @@ "fast-glob": "^3.2.12",

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

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