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

azure-search

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-search - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

test.js

7

index.js

@@ -60,5 +60,6 @@ var http = require('https');

if (res.statusCode === 401) return cb("Unauthorised");
if (res.statusCode === 404) return cb("NotFound");
if (res.statusCode >= 500) return cb("Server Error");
if (res.statusCode === 401) return cb({code: res.statusCode, name:"Error", message:"Unauthorised"});
if (res.statusCode === 404) return cb({code: res.statusCode, name:"Error", message:"Not Found"});
if (res.statusCode >= 500) return cb({code: res.statusCode, name:"Error", message:"Server Error"});
if (res.statusCode >= 400) return cb({code: res.statusCode, name:"Error", message:"Bad Request"});
if (result) {

@@ -65,0 +66,0 @@ try{

{
"name": "azure-search",
"version": "0.0.1",
"version": "0.0.2",
"description": "A client for the Azure Search service",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,3 +5,3 @@ # node-azure-search

This modules call the Azure Search REST API. The documentation for the API is available [here](http://msdn.microsoft.com/library/azure/dn798935.aspx).
This module call the Azure Search REST API. The documentation for the API is available [here](http://msdn.microsoft.com/library/azure/dn798935.aspx).

@@ -47,2 +47,3 @@ ## Installation

```
> Note that from the browser, you must have the `corsOptions` set in the index schema, and only `search`, `suggest`, `lookup` and `count` will work.

@@ -49,0 +50,0 @@ A client object can then be used to create, update, list, get and delete indexes:

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