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.13 to 0.0.14

9

index.js

@@ -231,2 +231,11 @@ var http = require('https')

getDataSource: function (dataSourceName, cb) {
if (!dataSourceName) throw new Error('dataSourceName is not defined')
get(['datasources', dataSourceName], null, function (err, data) {
if (err) return cb(err, null, data)
if (data && data.error) return cb(data.error, null, data)
cb(null, data, data)
})
},
createDataSource: function (options, cb) {

@@ -233,0 +242,0 @@ if (!options) throw new Error('options is not defined')

2

package.json
{
"name": "azure-search",
"version": "0.0.13",
"version": "0.0.14",
"description": "A client for the Azure Search service",

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

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

You can create, update and delete data sources:
You can get, create, update and delete data sources:

@@ -170,5 +170,8 @@ ```js

});
client.getDataSource("dataSourceName", function(err, data) {
//data source returned
});
```
You can also create, update, list, get, delete, run and reset indexers:

@@ -175,0 +178,0 @@

@@ -393,2 +393,10 @@ /* globals describe, it */

it('gets data source', function (done) {
client.getDataSource('blob-datasource', function (err, data) {
if (err) return done('error returned')
if (!data) return done('datasource is null')
return done()
})
})
it('updates a blob data source', function (done) {

@@ -395,0 +403,0 @@ var options = {

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

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