stub-azure-function-context
Advanced tools
Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5
const moment = require('moment'); | ||
const uuid = require('uuid/v4'); | ||
const { v4: uuid } = require('uuid'); | ||
@@ -4,0 +4,0 @@ /* see https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue */ |
@@ -1,2 +0,2 @@ | ||
const uuid = require('uuid/v4'); | ||
const { v4: uuid } = require('uuid'); | ||
const { stubContextFromBindingDefinitions } = require('./context-builder'); | ||
@@ -3,0 +3,0 @@ const moment = require('moment'); |
{ | ||
"name": "stub-azure-function-context", | ||
"version": "2.0.0-alpha.4", | ||
"version": "2.0.0-alpha.5", | ||
"description": "Provides an object similar to Function Runtime's context for use in unit testing", | ||
@@ -38,13 +38,13 @@ "main": "index.js", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb-base": "^12.1.0", | ||
"eslint": "^7.18.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
"eslint-plugin-import": "^2.11.0", | ||
"eslint-plugin-security": "^1.4.0", | ||
"mocha": "^5.1.1", | ||
"sinon": "^4.5.0" | ||
"mocha": "^8.2.1", | ||
"sinon": "^9.2.3" | ||
}, | ||
"dependencies": { | ||
"moment": "^2.24.0", | ||
"uuid": "^3.3.2" | ||
"uuid": "^8.3.2" | ||
} | ||
} |
@@ -12,3 +12,3 @@ # stub-azure-function-context | ||
The is support for the different [input styles](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node#inputs) | ||
There is support for the different [input styles](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node#inputs) | ||
which allow for: | ||
@@ -15,0 +15,0 @@ |
27298
+ Addeduuid@8.3.2(transitive)
- Removeduuid@3.4.0(transitive)
Updateduuid@^8.3.2