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

aws-cloudwatch-log

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-cloudwatch-log - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="0.1.1"></a>
## [0.1.1](https://github.com/nicolasdao/aws-cloudwatch-logger/compare/v0.1.0...v0.1.1) (2017-12-18)
### Bug Fixes
* Make sure no exceptions are returned if logger is set to Dev Mode ([9f85478](https://github.com/nicolasdao/aws-cloudwatch-logger/commit/9f85478))
<a name="0.1.0"></a>

@@ -7,0 +17,0 @@ # 0.1.0 (2017-12-15)

18

index.js

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

const createLogStream = (logStreamName, { logGroupName, region, accessKeyId, secretAccessKey, local }) => {
if (local)
return Promise.resolve({ message: 'No need to create stream. Local mode is on.' })
if (!logGroupName)

@@ -69,11 +72,8 @@ throw new Error('Missing required argument: \'logGroupName\' is required.')

})
if (local)
return Promise.resolve({ message: 'No need to create stream. Local mode is on.' })
else
return request.post('', payload)
.then(results => results.data)
.catch(err => {
throw new Error(err.response.data.message)
})
return request.post('', payload)
.then(results => results.data)
.catch(err => {
throw new Error(err.response.data.message)
})
}

@@ -80,0 +80,0 @@

{
"name": "aws-cloudwatch-log",
"version": "0.1.0",
"version": "0.1.1",
"description": "Fast & Simple Logging to AWS CloudWatch",

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

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