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

gqlgen

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gqlgen - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

CHANGELOG.md

6

lib/lib/generators/drawer-service.js

@@ -41,4 +41,9 @@ "use strict";

const methods = [];
const properties = [];
for (const item of dirs) {
const drawerName = (_a = lodash_1.last(item.split(path_1.sep))) === null || _a === void 0 ? void 0 : _a.replace('.tsx', '');
properties.push({
name: drawerName,
initializer: `'${drawerName}'`,
});
methods.push({

@@ -60,2 +65,3 @@ name: 'open' + drawerName,

name: 'DrawerService',
properties,
methods,

@@ -62,0 +68,0 @@ });

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

const sourceFile = project.createSourceFile(outPath, undefined, { overwrite: true });
const properties = [];
sourceFile.addImportDeclaration({

@@ -40,2 +41,6 @@ moduleSpecifier: '@common/modal',

const modalName = (_a = lodash_1.last(item.split(path_1.sep))) === null || _a === void 0 ? void 0 : _a.replace('.tsx', '');
properties.push({
name: modalName,
initializer: `'${modalName}'`,
});
methods.push({

@@ -53,2 +58,3 @@ name: 'open' + modalName,

name: 'ModalService',
properties,
methods,

@@ -55,0 +61,0 @@ });

8

package.json
{
"name": "gqlgen",
"description": "gqlgen",
"version": "0.1.4",
"version": "0.1.5",
"author": "forsigner",

@@ -36,2 +36,3 @@ "bin": {

"eslint-config-oclif-typescript": "^0.1.0",
"standard-version": "^7.1.0",
"ts-node": "^8.8.1",

@@ -59,7 +60,8 @@ "typescript": "^3.8.3"

"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif-dev readme",
"prepack": "rm -rf lib && tsc -b",
"test": "echo NO TESTS",
"version": "oclif-dev readme && git add README.md"
"version": "oclif-dev readme && git add README.md",
"release": "standard-version"
},
"types": "lib/index.d.ts"
}
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