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

@logilab/cwclientlibjs

Package Overview
Dependencies
Maintainers
6
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logilab/cwclientlibjs - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

build/waitUntilStarted.d.ts

1

build/client.d.ts

@@ -0,1 +1,2 @@

import 'isomorphic-fetch';
import { Schema, EntitySchema } from './providers';

@@ -2,0 +3,0 @@ export declare function applySchema(jsonEntity: any): EntitySchema;

19

package.json
{
"name": "@logilab/cwclientlibjs",
"version": "1.1.1",
"version": "1.2.0",
"description": "client library for CubicWeb's rqlcontroller API",

@@ -29,21 +29,20 @@ "homepage": "https://forge.extranet.logilab.fr/open-source/cwclientlibjs",

"crypto-js": "^3.1.9-1",
"isomorphic-fetch": "^2.2.1"
"isomorphic-fetch": "^3.0.0"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/crypto-js": "^3.1.43",
"@types/mocha": "^5.2.7",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.19.1",
"mocha": "^6.2.0",
"jest": "^27.0.6",
"prettier": "^1.19.1",
"source-map-loader": "^0.2.4",
"ts-jest": "^27.0.5",
"ts-loader": "^9.1.2",
"ts-node": "^8.3.0",
"typescript": "^3.5.3",
"typescript-formatter": "^7.2.2",
"web-ext": "^6.3.0",
"webpack": "^5.0.0",

@@ -53,6 +52,6 @@ "webpack-cli": "^4.0.0"

"scripts": {
"format": "prettier --check ./**/*.{jsx,tsx,ts,js,css}",
"format": "prettier --check *.js src/*.{jsx,tsx,ts,js,css}",
"build": "webpack --mode=development",
"build:watch": "webpack --watch --mode=development",
"test": "mocha --reporter spec --require ts-node/register src/**/*.spec.ts",
"test": "jest",
"lint": "tsc --noEmit && eslint --ext .tsx,.ts,.js,.jsx src",

@@ -59,0 +58,0 @@ "prepublishOnly": "webpack --mode=production"

@@ -48,3 +48,4 @@ # cwclientlibjs - client library for CubicWeb's rqlcontroller

(toSigningClient()) after a doLogin() operation. It requires that the CubicWeb
user has at least an enabled token linked to his/her account.
user has at least an enabled token linked to his/her account. The CSRF token
will be included if `allowsCrossOrigin` is false (the default).

@@ -300,4 +301,27 @@ ```javascript

Running the test suite requires nodejs, mocha and xhr2.
The tests relies on an instance with the `test-server` cube to run.
The Dockerfile located in `test-server` creates an image with an instance ready for
use. Building it is as simple as:
```bash
docker build -t cw-test-server .
```
You can then run the instance using `docker run`:
```bash
docker run -p 8080:8080 cw-test-server
```
Once the instance is running, launch the tests:
```bash
npm run test
```
By default the test instance is running on "http://localhost:8080". If you need
to start it on a different host/port, use the `CW_BASE_URL` environment
variable.
## Known issues

@@ -304,0 +328,0 @@

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

Sorry, the diff of this file is too big to display

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