@logilab/cwclientlibjs
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -15,2 +15,15 @@ /** | ||
/** | ||
* The hash method to use when signing a request | ||
*/ | ||
export declare enum SignedContentHashMethod { | ||
/** | ||
* MD5, legacy for RQL/IO version 1.0 | ||
*/ | ||
MD5 = 0, | ||
/** | ||
* SHA2-512, for RQL/IO version 2.0 | ||
*/ | ||
SHA512 = 1 | ||
} | ||
/** | ||
* An HTTP client for a cubicweb instance | ||
@@ -69,15 +82,2 @@ */ | ||
/** | ||
* The hash method to use when signing a request | ||
*/ | ||
export declare enum SignedContentHashMethod { | ||
/** | ||
* MD5, legacy for RQL/IO version 1.0 | ||
*/ | ||
MD5 = 0, | ||
/** | ||
* SHA2-512, for RQL/IO version 2.0 | ||
*/ | ||
SHA512 = 1 | ||
} | ||
/** | ||
* Implementation of an HTTP client for cubicweb that use request signing | ||
@@ -84,0 +84,0 @@ */ |
@@ -1,3 +0,3 @@ | ||
import * as client from "./client"; | ||
import * as providers from "./providers"; | ||
import * as client from './client'; | ||
import * as providers from './providers'; | ||
export { client, providers }; |
@@ -1,2 +0,2 @@ | ||
import { RqlClient } from "./client"; | ||
import { RqlClient } from './client'; | ||
/** | ||
@@ -171,7 +171,2 @@ * A complete schema | ||
/** | ||
* Maps a possibly undefined value to a nullable value | ||
* @param x The value to map | ||
*/ | ||
export declare function undefinedToNull<X>(x: X | undefined): X | null; | ||
/** | ||
* A component that is able to load entity schemas from somewhere | ||
@@ -178,0 +173,0 @@ */ |
109
package.json
{ | ||
"name": "@logilab/cwclientlibjs", | ||
"version": "0.1.1", | ||
"description": "client library for CubicWeb's rqlcontroller API", | ||
"homepage": "http://www.cubicweb.org/project/cwclientlibjs", | ||
"repository": { | ||
"type": "mercurial", | ||
"url": "http://hg.logilab.org/users/nchauvat/cwclientlibjs" | ||
}, | ||
"bugs": { | ||
"url": "http://www.cubicweb.org/project/cwclientlibjs" | ||
}, | ||
"keywords": [ | ||
"cubicweb", | ||
"rqlcontroller", | ||
"client" | ||
], | ||
"main": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"bin": { | ||
"cwrql": "./build/cwrql.js" | ||
}, | ||
"dependencies": { | ||
"crypto-js": "^3.1.9-1", | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.1.7", | ||
"@types/crypto-js": "^3.1.43", | ||
"@types/mocha": "^5.2.7", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.0", | ||
"source-map-loader": "^0.2.4", | ||
"ts-node": "^8.3.0", | ||
"tslint": "^5.18.0", | ||
"typescript": "^3.5.3", | ||
"typescript-formatter": "^7.2.2", | ||
"web-ext": "^3.1.1", | ||
"webpack": "^4.39.1", | ||
"webpack-cli": "^3.3.6" | ||
}, | ||
"scripts": { | ||
"format": "tsfmt -r", | ||
"build": "webpack && tsfmt --verify && tslint -p . -c tslint.json 'src/**/*.ts*'", | ||
"test": "mocha --reporter spec --require ts-node/register src/**/*.spec.ts", | ||
"lint": "tslint -p . -c tslint.json 'src/**/*.ts*' --fix" | ||
}, | ||
"author": "Nicolas Chauvat", | ||
"license": "LGPL 2.0", | ||
"readmeFilename": "README" | ||
"name": "@logilab/cwclientlibjs", | ||
"version": "0.2.0", | ||
"description": "client library for CubicWeb's rqlcontroller API", | ||
"homepage": "https://forge.extranet.logilab.fr/open-source/cwclientlibjs", | ||
"repository": { | ||
"type": "mercurial", | ||
"url": "https://forge.extranet.logilab.fr/open-source/cwclientlibjs" | ||
}, | ||
"bugs": { | ||
"url": "https://forge.extranet.logilab.fr/open-source/cwclientlibjs" | ||
}, | ||
"keywords": [ | ||
"cubicweb", | ||
"rqlcontroller", | ||
"client" | ||
], | ||
"main": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"bin": { | ||
"cwrql": "./build/cwrql.js" | ||
}, | ||
"files": [ | ||
"build" | ||
], | ||
"dependencies": { | ||
"crypto-js": "^3.1.9-1", | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.1.7", | ||
"@types/crypto-js": "^3.1.43", | ||
"@types/mocha": "^5.2.7", | ||
"@typescript-eslint/eslint-plugin": "^2.14.0", | ||
"@typescript-eslint/parser": "^2.14.0", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"babel-eslint": "^10.0.3", | ||
"chai": "^4.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"mocha": "^6.2.0", | ||
"prettier": "^1.19.1", | ||
"source-map-loader": "^0.2.4", | ||
"ts-node": "^8.3.0", | ||
"typescript": "^3.5.3", | ||
"typescript-formatter": "^7.2.2", | ||
"web-ext": "^3.1.1", | ||
"webpack": "^4.39.1", | ||
"webpack-cli": "^3.3.6" | ||
}, | ||
"scripts": { | ||
"format": "prettier --check ./**/*.{jsx,tsx,ts,js,css}", | ||
"build": "webpack --mode=development", | ||
"test": "mocha --reporter spec --require ts-node/register src/**/*.spec.ts", | ||
"lint": "tsc --noEmit && eslint --ext .tsx,.ts,.js,.jsx src", | ||
"prepare": "webpack --mode=production" | ||
}, | ||
"author": "Nicolas Chauvat", | ||
"license": "LGPL 2.0", | ||
"readmeFilename": "README" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
0
3
944166
19
10
1213