@aws-sdk/middleware-sdk-rds
Advanced tools
Comparing version 1.0.0-gamma.2 to 1.0.0-gamma.3
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-gamma.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/middleware-sdk-rds@1.0.0-gamma.2...@aws-sdk/middleware-sdk-rds@1.0.0-gamma.3) (2020-07-13) | ||
### Features | ||
* add code linting and prettify ([#1350](https://github.com/aws/aws-sdk-js-v3/issues/1350)) ([47770fa](https://github.com/aws/aws-sdk-js-v3/commit/47770fa493c3405f193069cd18319882529ff484)) | ||
# 1.0.0-gamma.2 (2020-07-08) | ||
@@ -8,0 +19,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.credentials = exports.endpoint = exports.region = exports.MockSha256 = void 0; | ||
var MockSha256 = /** @class */ (function () { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
function MockSha256(secret) { | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
MockSha256.prototype.update = function (data) { }; | ||
@@ -18,3 +21,3 @@ MockSha256.prototype.digest = function () { | ||
path: "/", | ||
hostname: "ec2.mock-region.amazonaws.com" | ||
hostname: "ec2.mock-region.amazonaws.com", | ||
}); | ||
@@ -26,5 +29,5 @@ }; | ||
secretAccessKey: "secret", | ||
sessionToken: "session" | ||
sessionToken: "session", | ||
}); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maXh0dXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUE7SUFDRSxvQkFBWSxNQUErQztJQUFHLENBQUM7SUFDL0QsMkJBQU0sR0FBTixVQUFPLElBQWlCLElBQUcsQ0FBQztJQUM1QiwyQkFBTSxHQUFOO1FBQ0UsT0FBTyxPQUFPLENBQ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9jay1yZWdpb24uYW1hem9uYXdzLmNvbVwiLFxuICB9KTtcblxuZXhwb3J0IGNvbnN0IGNyZWRlbnRpYWxzID0gKCkgPT5cbiAgUHJvbWlzZS5yZXNvbHZlKHtcbiAgICBhY2Nlc3NLZXlJZDogXCJha2lkXCIsXG4gICAgc2VjcmV0QWNjZXNzS2V5OiBcInNlY3JldFwiLFxuICAgIHNlc3Npb25Ub2tlbjogXCJzZXNzaW9uXCIsXG4gIH0pO1xuIl19 |
@@ -1,2 +0,2 @@ | ||
import { Credentials, Endpoint, HashConstructor, InitializeMiddleware, InitializeHandlerOptions, Pluggable, Provider } from "@aws-sdk/types"; | ||
import { Credentials, Endpoint, HashConstructor, InitializeHandlerOptions, InitializeMiddleware, Pluggable, Provider } from "@aws-sdk/types"; | ||
interface PreviouslyResolved { | ||
@@ -3,0 +3,0 @@ credentials: Provider<Credentials>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getCrossRegionPresignedUrlPlugin = exports.crossRegionPresignedUrlMiddlewareOptions = exports.crossRegionPresignedUrlMiddleware = void 0; | ||
var tslib_1 = require("tslib"); | ||
var util_format_url_1 = require("@aws-sdk/util-format-url"); | ||
var protocol_http_1 = require("@aws-sdk/protocol-http"); | ||
var signature_v4_1 = require("@aws-sdk/signature-v4"); | ||
var util_format_url_1 = require("@aws-sdk/util-format-url"); | ||
var util_uri_escape_1 = require("@aws-sdk/util-uri-escape"); | ||
@@ -13,3 +14,3 @@ var regARN = /arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?/; | ||
"ReplicationSourceIdentifier", | ||
"SourceDBClusterSnapshotIdentifier" | ||
"SourceDBClusterSnapshotIdentifier", | ||
]; | ||
@@ -20,3 +21,3 @@ var sourceIdToCommandKeyMap = { | ||
ReplicationSourceIdentifier: "CreateDBCluster", | ||
SourceDBClusterSnapshotIdentifier: "CopyDBClusterSnapshot" | ||
SourceDBClusterSnapshotIdentifier: "CopyDBClusterSnapshot", | ||
}; | ||
@@ -59,5 +60,3 @@ var version = "2014-10-31"; | ||
} | ||
if (!(!input.PreSignedUrl && | ||
isARN(input[sourceId]) && | ||
region !== getEndpointFromARN(input[sourceId]))) return [3 /*break*/, 4]; | ||
if (!(!input.PreSignedUrl && isARN(input[sourceId]) && region !== getEndpointFromARN(input[sourceId]))) return [3 /*break*/, 4]; | ||
sourceRegion = getEndpointFromARN(input[sourceId]); | ||
@@ -69,3 +68,3 @@ return [4 /*yield*/, options.endpoint()]; | ||
request = new protocol_http_1.HttpRequest(tslib_1.__assign(tslib_1.__assign({}, resolvedEndpoint), { protocol: "https", headers: { | ||
host: resolvedEndpoint.hostname | ||
host: resolvedEndpoint.hostname, | ||
}, query: (_b = { | ||
@@ -84,6 +83,6 @@ Action: command, | ||
sha256: options.sha256, | ||
uriEscapePath: options.signingEscapePath | ||
uriEscapePath: options.signingEscapePath, | ||
}); | ||
return [4 /*yield*/, signer.presign(request, { | ||
expiresIn: 3600 | ||
expiresIn: 3600, | ||
})]; | ||
@@ -103,3 +102,3 @@ case 3: | ||
tags: ["CROSS_REGION_PRESIGNED_URL"], | ||
name: "crossRegionPresignedUrlMiddleware" | ||
name: "crossRegionPresignedUrlMiddleware", | ||
}; | ||
@@ -109,3 +108,3 @@ exports.getCrossRegionPresignedUrlPlugin = function (config) { return ({ | ||
clientStack.add(crossRegionPresignedUrlMiddleware(config), exports.crossRegionPresignedUrlMiddlewareOptions); | ||
} | ||
}, | ||
}); }; | ||
@@ -124,2 +123,2 @@ function isARN(id) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBY0EsNERBQXFEO0F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AuLi5yZXNvbHZlZEVuZHBvaW50LFxuICAgICAgICBwcm90b2NvbDogXCJodHRwc1wiLFxuICAgICAgICBoZWFkZXJzOiB7XG4gICAgICAgICAgaG9zdDogcmVzb2x2ZWRFbmRwb2ludC5ob3N0bmFtZSxcbiAgICAgICAgfSxcbiAgICAgICAgcXVlcnk6IHtcbiAgICAgICAgICBBY3Rpb246IGNvbW1hbmQsXG4gICAgICAgICAgVmVyc2lvbjogdmVyc2lvbixcbiAgICAgICAgICBLbXNLZXlJZDogaW5wdXQuS21zS2V5SWQsXG4gICAgICAgICAgRGVzdGluYXRpb25SZWdpb246IHJlZ2lvbixcbiAgICAgICAgICBbc291cmNlSWRdOiBpbnB1dFtzb3VyY2VJZF0sXG4gICAgICAgIH0sXG4gICAgICB9KTtcbiAgICAgIGNvbnN0IHNpZ25lciA9IG5ldyBTaWduYXR1cmVWNCh7XG4gICAgICAgIGNyZWRlbnRpYWxzOiBvcHRpb25zLmNyZWRlbnRpYWxzLFxuICAgICAgICByZWdpb246IHNvdXJjZVJlZ2lvbixcbiAgICAgICAgc2VydmljZTogXCJyZHNcIixcbiAgICAgICAgc2hhMjU2OiBvcHRpb25zLnNoYTI1NixcbiAgICAgICAgdXJpRXNjYXBlUGF0aDogb3B0aW9ucy5zaWduaW5nRXNjYXBlUGF0aCxcbiAgICAgIH0pO1xuICAgICAgY29uc3QgcHJlc2lnbmVkUmVxdWVzdCA9IGF3YWl0IHNpZ25lci5wcmVzaWduKHJlcXVlc3QsIHtcbiAgICAgICAgZXhwaXJlc0luOiAzNjAwLFxuICAgICAgfSk7XG4gICAgICBhcmdzID0ge1xuICAgICAgICAuLi5hcmdzLFxuICAgICAgICBpbnB1dDoge1xuICAgICAgICAgIC4uLmFyZ3MuaW5wdXQsXG4gICAgICAgICAgUHJlU2lnbmVkVXJsOiBlc2NhcGVVcmkoZm9ybWF0VXJsKHByZXNpZ25lZFJlcXVlc3QpKSxcbiAgICAgICAgfSxcbiAgICAgIH07XG4gICAg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cnJbM107XG59XG4iXX0= |
{ | ||
"name": "@aws-sdk/middleware-sdk-rds", | ||
"version": "1.0.0-gamma.2", | ||
"version": "1.0.0-gamma.3", | ||
"scripts": { | ||
@@ -20,7 +20,7 @@ "prepublishOnly": "yarn build:cjs && yarn build:es", | ||
"dependencies": { | ||
"@aws-sdk/protocol-http": "1.0.0-gamma.2", | ||
"@aws-sdk/signature-v4": "1.0.0-gamma.2", | ||
"@aws-sdk/types": "1.0.0-gamma.2", | ||
"@aws-sdk/util-format-url": "1.0.0-gamma.2", | ||
"@aws-sdk/util-uri-escape": "1.0.0-gamma.2", | ||
"@aws-sdk/protocol-http": "1.0.0-gamma.3", | ||
"@aws-sdk/signature-v4": "1.0.0-gamma.3", | ||
"@aws-sdk/types": "1.0.0-gamma.3", | ||
"@aws-sdk/util-format-url": "1.0.0-gamma.3", | ||
"@aws-sdk/util-uri-escape": "1.0.0-gamma.3", | ||
"tslib": "^1.8.0" | ||
@@ -31,4 +31,4 @@ }, | ||
"jest": "^26.1.0", | ||
"typescript": "~3.8.3" | ||
"typescript": "~3.9.3" | ||
} | ||
} |
@@ -9,9 +9,3 @@ { | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], | ||
"rootDir": "./src", | ||
@@ -18,0 +12,0 @@ "outDir": "./dist/cjs", |
@@ -9,9 +9,3 @@ { | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], | ||
"rootDir": "./src", | ||
@@ -18,0 +12,0 @@ "outDir": "./dist/es", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
48754
0
218
+ Added@aws-sdk/is-array-buffer@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/protocol-http@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/querystring-builder@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/signature-v4@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/types@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/util-format-url@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/util-hex-encoding@1.0.0-gamma.3(transitive)
+ Added@aws-sdk/util-uri-escape@1.0.0-gamma.3(transitive)
- Removed@aws-sdk/is-array-buffer@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/protocol-http@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/querystring-builder@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/signature-v4@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/types@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/util-format-url@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/util-hex-encoding@1.0.0-gamma.2(transitive)
- Removed@aws-sdk/util-uri-escape@1.0.0-gamma.2(transitive)
Updated@aws-sdk/types@1.0.0-gamma.3