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

hyperactive

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperactive - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

2

package.json
{
"name": "hyperactive",
"version": "1.0.2",
"version": "2.0.0",
"description": "Creates mocha tests for all hypermedia of your API",

@@ -5,0 +5,0 @@ "author": "Tabcorp Digital Technology Team",

@@ -24,4 +24,6 @@ # hyperactive

url: "http://myApiEndpoint.com/route",
headers: {
Accept: "application/json"
options: {
headers: {
Accept: "application/json"
}
}

@@ -49,11 +51,13 @@ });

url: "http://myApiEndpoint.com/route",
headers: {
Accept: "application/json"
},
basicAuth : {
user: "myUsername",
pass: "myPassword"
},
secureProtocol : "SSLv3_client_method",
strictSSL : false
options: {
headers: {
Accept: "application/json"
},
auth : {
user: "myUsername",
pass: "myPassword"
},
secureProtocol : "SSLv3_client_method",
strictSSL : false
}
});

@@ -64,2 +68,4 @@ })

*Note:* `hyperactive` uses [unirest](https://github.com/Mashape/unirest-nodejs) to send requests. The `options` hash can contain [any valid Request option](https://github.com/Mashape/unirest-nodejs#requestoptions) from unirest.
### - How does it find hypermedia links?

@@ -111,4 +117,6 @@

url: "http://myApiEndpoint.com/route",
headers: {
Accept: "application/json"
options: {
headers: {
Accept: "application/json"
},
},

@@ -161,4 +169,6 @@ getLinks: getLinks

url: "http://myApiEndpoint.com/route",
headers: {
Accept: "application/json"
options: {
headers: {
Accept: "application/json"
},
},

@@ -177,5 +187,7 @@ validate: validate

url: "http://myApiEndpoint.com/route",
headers: {
Accept: "application/json"
},
options: {
headers: {
Accept: "application/json"
},
}
samplePercentage: 75

@@ -182,0 +194,0 @@ });

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