New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apac

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apac - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

4

lib/OperationHelper.js

@@ -33,3 +33,3 @@ var RSH = require('./RequestSignatureHelper').RequestSignatureHelper,

if (typeof(this.signatureHelper) === 'undefined') {
var params = {};
var params = {};
params[RSH.kAWSAccessKeyId] = this.awsId;

@@ -80,3 +80,3 @@ params[RSH.kAWSSecretKey] = this.awsSecret;

callback(statusCode, result);
// so that next time this is called the result isn't concatenated

@@ -83,0 +83,0 @@ parser.removeAllListeners('end');

@@ -30,6 +30,6 @@ var crypto = require('crypto');

RSH.prototype.sign = function(params) {
var self = this;
// append params
params[RSH.kAWSAccessKeyId] = this[RSH.kAWSAccessKeyId];
params[RSH.kTimestampParam] = this.generateTimestamp();
params[RSH.kAWSAccessKeyId] = this[RSH.kAWSAccessKeyId] ;
// generate signature

@@ -36,0 +36,0 @@ var canonical = this.canonicalize(params);

{ "name" : "apac"
, "description" : "Amazon Product Advertising API Client for Node"
, "version" : "0.0.10"
, "version" : "0.0.11"
, "author" : "Dustin McQuay <dmcquay@gmail.com>"

@@ -5,0 +5,0 @@ , "repository" :

@@ -29,3 +29,3 @@ var apac = require("../lib/apac"),

return request_emitter;
}
}
};

@@ -43,13 +43,13 @@ }

}, this.callback);
// use the emitter to emit the appropriate events
request_emitter.emit('response', response_emitter);
response_emitter.emit('data', '<it><is><some>xml</some></is></it>');
response_emitter.emit('end');
response_emitter.emit('end');
},
'are json': function(error, result) {
assert.isObject(result);
},
'have the right structure': function(error, result) {

@@ -56,0 +56,0 @@ assert.deepEqual(result, {is: {some: 'xml'}});

@@ -1,3 +0,2 @@

var sys = require('sys'),
assert = require('assert'),
var assert = require('assert'),
RSH = require('../lib/RequestSignatureHelper').RequestSignatureHelper;

@@ -4,0 +3,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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