node-pagerduty icon indicating copy to clipboard operation
node-pagerduty copied to clipboard

A node.js client for PagerDuty

Results 10 node-pagerduty issues
Sort by recently updated
recently updated
newest added

Hey there! PagerDuty just released an official API Client that supports Node. https://github.com/PagerDuty/pdjs This is just an FYI for y'all :)

The current script is still using the V1 API, which will be deprecated on October 19, 2018. After that date, it will cease functioning, and this package will become non-functional....

Previously, we assume that errors exists and has at least one element. This isn't always true, and leads to an uncaught exception: https://github.com/skomski/node-pagerduty/issues/8.

There is a security vulnerability in the referenced version ([~2.9](https://github.com/skomski/node-pagerduty/blob/master/package.json#L18)) of the [request](https://github.com/request/request) module. https://nodesecurity.io/advisories/309

TypeError: Cannot read property '0' of undefined at Request._callback (/var/app/current/node_modules/pagerduty/lib/PagerDuty.js:71:55) at Request.self.callback (/var/app/current/node_modules/pagerduty/node_modules/request/main.js:120:22) at emitTwo (events.js:87:13) at Request.emit (events.js:172:7) at Request. (/var/app/current/node_modules/pagerduty/node_modules/request/main.js:555:16) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at IncomingMessage....

It wasn't valid JSON before and now it is.

fix example json encoding and therefore improve syntax highlighting

Right now the module errors when trying to load. Fixes: - Fixed require path for `src` - Added `coffee-script` dependency and updated `package.json`