New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@trapi/client

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trapi/client - npm Package Compare versions

Comparing version
2.0.4
to
2.0.5
+6
-6
package.json
{
"name": "@trapi/client",
"version": "2.0.4",
"version": "2.0.5",
"description": "A REST client based on axios.",

@@ -45,9 +45,9 @@ "main": "./dist/index.js",

"dependencies": {
"@typescript-error/core": "^1.1.1",
"axios": "^0.25.0"
"@typescript-error/core": "^1.1.2",
"axios": "^0.26.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^17.0.14",
"jest": "^27.4.7",
"@types/node": "^17.0.18",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",

@@ -59,3 +59,3 @@ "typescript": "^4.5.5"

},
"gitHead": "f8ebabe5794093769ba5bf9fa4542544c06a0179"
"gitHead": "f4fe2f2700148b686efb039d44efed8470a3ee66"
}

@@ -28,3 +28,3 @@ # @trapi/client

To create a configuration for the driver `Client`, a configuration must be specified,
To create a configuration for the `Client`, a configuration must be specified,
like described in the following:

@@ -39,3 +39,3 @@

setConfig('key', {
setConfig({
driver: {

@@ -45,7 +45,7 @@ baseURL: 'http://localhost:3000/',

},
})
}, 'key')
```
A configuration is always identified by a string `key`,
so multiple configurations can be registered.
A configuration is always identified by a `key`,
so multiple configurations can be registered. The default key is named: `default`

@@ -52,0 +52,0 @@ In the upper example, the **driver** property is used to pass information to the underneath driver (axios).