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

@cubicweb/client

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cubicweb/client - npm Package Compare versions

Comparing version 0.1.0 to 1.0.1

src/__tests__/Schema.specs.ts

2

lib/Errors.d.ts

@@ -5,3 +5,3 @@ export declare class InconsistentSchemaError extends Error {

export declare class RelationNotFoundError extends Error {
constructor(entityType: string, role: "object" | "subject", relationType: string);
constructor(relationType: string, role: "object" | "subject", entityType: string);
}

@@ -8,0 +8,0 @@ export declare class TransactionClosedError extends Error {

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

class RelationNotFoundError extends Error {
constructor(entityType, role, relationType) {
constructor(relationType, role, entityType) {
super(`Relation Not Found: relation type ${relationType} with entity type ${entityType} as ${role} is not declared`);

@@ -15,0 +15,0 @@ Object.setPrototypeOf(this, new.target.prototype);

@@ -5,3 +5,5 @@ export { getLooseSchema, Schema, EntitySchema, RelationDefinitionSchema, } from "./schema/Schema";

export { default as Client } from "./api/Client";
export { default as Api } from "./api/Api";
export { default as Transaction } from "./api/Transaction";
export { RQLQuery, RQLParams, RqlRow, ResultSet, ApiErrorResponse, } from "./api/Api";
//# sourceMappingURL=index.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Client = exports.RelationDefinitionSchema = exports.EntitySchema = exports.Schema = exports.getLooseSchema = void 0;
exports.Transaction = exports.Api = exports.Client = exports.RelationDefinitionSchema = exports.EntitySchema = exports.Schema = exports.getLooseSchema = void 0;
var Schema_1 = require("./schema/Schema");

@@ -31,2 +31,6 @@ Object.defineProperty(exports, "getLooseSchema", { enumerable: true, get: function () { return Schema_1.getLooseSchema; } });

Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return __importDefault(Client_1).default; } });
var Api_1 = require("./api/Api");
Object.defineProperty(exports, "Api", { enumerable: true, get: function () { return __importDefault(Api_1).default; } });
var Transaction_1 = require("./api/Transaction");
Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return __importDefault(Transaction_1).default; } });
//# sourceMappingURL=index.js.map

@@ -5,4 +5,4 @@ {

"author": "Logilab",
"version": "0.1.0",
"license": "LGPL-2.1-or-later",
"version": "1.0.1",
"license": "LGPL-3.0-or-later",
"main": "lib/index.js",

@@ -21,3 +21,7 @@ "types": "lib/index.d.ts",

"js"
],
"files": [
"lib/**",
"src/**"
]
}

@@ -10,5 +10,5 @@ export class InconsistentSchemaError extends Error {

constructor(
entityType: string,
relationType: string,
role: "object" | "subject",
relationType: string
entityType: string
) {

@@ -15,0 +15,0 @@ super(

@@ -10,2 +10,4 @@ export {

export { default as Client } from "./api/Client";
export { default as Api } from "./api/Api";
export { default as Transaction } from "./api/Transaction";
export {

@@ -12,0 +14,0 @@ RQLQuery,

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