Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contember/cli

Package Overview
Dependencies
Maintainers
5
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/cli - npm Package Compare versions

Comparing version 1.3.0-alpha.6 to 1.3.0-alpha.7

4

dist/src/commands/project/ProjectPrintSchemaCommand.js

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

}
const permissionFactory = new engine_content_api_1.PermissionFactory(schema.model);
const permissionFactory = new engine_content_api_1.PermissionFactory();
const inputRoles = input.getOption('role');
const permissions = permissionFactory.create(schema.acl, inputRoles || ['admin']);
const permissions = permissionFactory.create(schema, inputRoles || ['admin']);
const schemaBuilderFactory = new engine_content_api_1.GraphQlSchemaBuilderFactory();

@@ -38,0 +38,0 @@ const authorizator = new engine_content_api_1.Authorizator(permissions, (_a = schema.acl.customPrimary) !== null && _a !== void 0 ? _a : false);

{
"name": "@contember/cli",
"version": "1.3.0-alpha.6",
"version": "1.3.0-alpha.7",
"license": "Apache-2.0",

@@ -22,9 +22,9 @@ "bin": {

"dependencies": {
"@contember/cli-common": "^1.3.0-alpha.6",
"@contember/config-loader": "^1.3.0-alpha.6",
"@contember/dic": "^1.3.0-alpha.6",
"@contember/engine-content-api": "^1.3.0-alpha.6",
"@contember/schema": "^1.3.0-alpha.6",
"@contember/schema-migrations": "^1.3.0-alpha.6",
"@contember/schema-utils": "^1.3.0-alpha.6",
"@contember/cli-common": "^1.3.0-alpha.7",
"@contember/config-loader": "^1.3.0-alpha.7",
"@contember/dic": "^1.3.0-alpha.7",
"@contember/engine-content-api": "^1.3.0-alpha.7",
"@contember/schema": "^1.3.0-alpha.7",
"@contember/schema-migrations": "^1.3.0-alpha.7",
"@contember/schema-utils": "^1.3.0-alpha.7",
"@graphql-tools/schema": "^8.3.5",

@@ -31,0 +31,0 @@ "chalk": "^4.1.2",

@@ -51,5 +51,5 @@ import { Command, CommandConfiguration, Input } from '@contember/cli-common'

}
const permissionFactory = new PermissionFactory(schema.model)
const permissionFactory = new PermissionFactory()
const inputRoles = input.getOption('role')
const permissions = permissionFactory.create(schema.acl, inputRoles || ['admin'])
const permissions = permissionFactory.create(schema, inputRoles || ['admin'])
const schemaBuilderFactory = new GraphQlSchemaBuilderFactory()

@@ -56,0 +56,0 @@ const authorizator = new Authorizator(permissions, schema.acl.customPrimary ?? false)

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