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

azure-table

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-table - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

14

build/azure_table.js

@@ -1659,2 +1659,16 @@

);
},
createTable: function() {
var req = this.request('POST', 'Tables');
req.send({ TableName: this.table });
return req;
},
deleteTable: function() {
return this.request(
'DELETE',
'Tables(\'' + this.table + '\')'
);
}

@@ -1661,0 +1675,0 @@ };

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Azure table interface",
"version": "0.1.0",
"version": "0.2.0",
"keywords": [],

@@ -8,0 +8,0 @@ "dependencies": {

{
"name": "azure-table",
"version": "0.1.0",
"version": "0.2.0",
"description": "Simplified azure table service client for node and the browser.",

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

@@ -25,2 +25,19 @@ suite('request', function() {

suite('#createTable/deleteTable', function() {
var tableName = 'magiclyDeleteCreateTable_' + Date.now();
setup(function() {
return subject.createTable();
});
test('delete table', function() {
// create an entity...
return subject.insertEntity(entity).
end().
then(function() {
return subject.deleteTable();
});
});
});
suite('#getEntity / #insertEntity', function() {

@@ -27,0 +44,0 @@ setup(function() {

@@ -185,2 +185,16 @@ /**

);
},
createTable: function() {
var req = this.request('POST', 'Tables');
req.send({ TableName: this.table });
return req;
},
deleteTable: function() {
return this.request(
'DELETE',
'Tables(\'' + this.table + '\')'
);
}

@@ -187,0 +201,0 @@ };

@@ -5,3 +5,3 @@ var URL = require('url');

var tableService = azure.createTableService();
var config = require('./config');
var config = require('./config/defaults');
var express = require('express');

@@ -8,0 +8,0 @@ var cors = require('cors');

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