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

api-easy

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

api-easy - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

6

lib/api-easy.js

@@ -319,2 +319,5 @@ /*

//
// The method exportTo(module) is provided as an alias to export(module)
// if you want to avoid using the reserved JavaScript `export` word
//
// You can also call `.run()` which will run the specified suite just

@@ -331,2 +334,5 @@ // as if you were using vows directly.

},
exportTo: function (target) {
return this.export(target);
},
run: function (options, callback) {

@@ -333,0 +339,0 @@ if (this.batch) {

4

package.json
{
"name": "api-easy",
"description": "Fluent (i.e. chainable) syntax for generating vows tests against RESTful APIs.",
"version": "0.3.1",
"version": "0.3.2",
"author": "Nodejitsu Inc. <info@nodejitsu.com>",

@@ -17,3 +17,3 @@ "contributors": [

"request": "2.x.x",
"vows": "0.5.x"
"vows": "0.6.x"
},

@@ -20,0 +20,0 @@ "devDependencies": {

@@ -25,3 +25,3 @@ /*

['discuss', 'use', 'setHeaders', 'path', 'unpath', 'root', 'get', 'put',
'post', 'del', 'expect', 'next', 'export', '_request', '_currentTest'].forEach(function (key) {
'post', 'del', 'expect', 'next', 'export', 'exportTo', '_request', '_currentTest'].forEach(function (key) {
assert.isFunction(suite[key]);

@@ -28,0 +28,0 @@ });

@@ -47,3 +47,3 @@ /*

['discuss', 'use', 'setHeaders', 'path', 'unpath', 'root', 'get', 'put',
'post', 'del', 'expect', 'next', 'export', '_request', '_currentTest', 'addBatch'].forEach(function (key) {
'post', 'del', 'expect', 'next', 'export', 'exportTo', '_request', '_currentTest', 'addBatch'].forEach(function (key) {
assert.isFunction(easy[key]);

@@ -50,0 +50,0 @@ });

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