@util.js/aws 0.41.0 → 0.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
 
3
+ // eslint-disable-next-line no-var
3
4
  var AWSUtil = require("./lib/AWSUtil");
4
5
  module.exports = new AWSUtil();
package/lib/S3Ext.js CHANGED
@@ -52,14 +52,14 @@ module.exports = class S3Ext {
52
52
  callback(error);
53
53
  return;
54
54
  }
55
- let newObjects = Objects
55
+ const newObjects = Objects
56
56
  ? Objects.concat(data.Contents)
57
57
  : data.Contents;
58
- let newContinuationToken =
58
+ const newContinuationToken =
59
59
  data.NextContinuationToken || data.ContinuationToken;
60
60
  if (
61
61
  newContinuationToken &&
62
- !(ContinuationToken == newContinuationToken)
62
+ !(ContinuationToken === newContinuationToken)
63
63
  ) {
64
64
  this.listAllObjectsV2(
65
65
  {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "author": "Chris Topher <c@creemama.com>",
3
3
  "dependencies": {
4
- "@util.js/privates": "0.41.0",
5
- "@util.js/promises": "0.41.0"
4
+ "@util.js/privates": "0.41.2",
5
+ "@util.js/promises": "0.41.2"
6
6
  },
7
7
  "description": "JavaScript utility class for the AWS SDK",
8
8
  "keywords": [
@@ -24,6 +24,6 @@
24
24
  "type": "git",
25
25
  "url": "https://github.com/creemama/utiljs/tree/master/packages/utiljs-aws"
26
26
  },
27
- "version": "0.41.0",
28
- "gitHead": "1ae0fda34e06ffbc546c5ba0025b0b59a0c7727d"
27
+ "version": "0.41.2",
28
+ "gitHead": "174b81ec0ead0221b9bb6617bc254b025bd20a5a"
29
29
  }