@aws-sdk/querystring-builder
Advanced tools
Comparing version 0.1.0-preview.3 to 0.1.0-preview.4
@@ -1,2 +0,2 @@ | ||
import { QueryParameterBag } from '@aws-sdk/types'; | ||
import { QueryParameterBag } from "@aws-sdk/types"; | ||
export declare function buildQueryString(query: QueryParameterBag): string; |
@@ -20,3 +20,3 @@ "use strict"; | ||
var qsEntry = key; | ||
if (value || typeof value === 'string') { | ||
if (value || typeof value === "string") { | ||
qsEntry += "=" + util_uri_escape_1.escapeUri(value); | ||
@@ -35,5 +35,5 @@ } | ||
} | ||
return parts.join('&'); | ||
return parts.join("&"); | ||
} | ||
exports.buildQueryString = buildQueryString; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNERBR2tDO0FBRWxDLFNBQWdCLGdCQUFnQixDQUFDLEtBQXdCOztJQUNyRCxJQUFNLEtBQUssR0FBYSxFQUFFLENBQUM7O1FBQzNCLEtBQWdCLElBQUEsS0FBQSxpQkFBQSxNQUFNLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLElBQUksRUFBRSxDQUFBLGdCQUFBLDRCQUFFO1lBQXRDLElBQUksR0FBRyxXQUFBO1lBQ1IsSUFBTSxLQUFLLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1lBQ3pCLEdBQUcsR0FBRywyQkFBUyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1lBQ3JCLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsRUFBRTtnQkFDdEIsS0FBSyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsSUFBSSxHQUFHLEtBQUssQ0FBQyxNQUFNLEVBQUUsQ0FBQyxHQUFHLElBQUksRUFBRSxDQUFD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9yIChsZXQgaSA9IDAsIGlMZW4gPSB2YWx1ZS5sZW5ndGg7IGkgPCBpTGVuOyBpKyspIHtcbiAgICAgICAgICAgICAgICBwYXJ0cy5wdXNoKGAke2tleX09JHtlc2NhcGVVcmkodmFsdWVbaV0pfWApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgbGV0IHFzRW50cnkgPSBrZXk7XG4gICAgICAgICAgICBpZiAodmFsdWUgfHwgdHlwZW9mIHZhbHVlID09PSAnc3RyaW5nJykge1xuICAgICAgICAgICAgICAgIHFzRW50cnkgKz0gYD0ke2VzY2FwZVVyaSh2YWx1ZSl9YDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHBhcnRzLnB1c2gocXNFbnRyeSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gcGFydHMuam9pbignJicpO1xufVxuIl19 | ||
//# sourceMappingURL=index.js.map |
@@ -6,12 +6,24 @@ # Change Log | ||
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/querystring-builder@0.1.0-preview.2...@aws-sdk/querystring-builder@0.1.0-preview.3) (2019-04-19) | ||
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/querystring-builder@0.1.0-preview.2...@aws-sdk/querystring-builder@0.1.0-preview.4) (2019-07-12) | ||
**Note:** Version bump only for package @aws-sdk/querystring-builder | ||
### Features | ||
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) | ||
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) | ||
# 0.1.0 (2019-04-19) | ||
# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/querystring-builder@0.1.0-preview.2...@aws-sdk/querystring-builder@0.1.0-preview.3) (2019-04-19) | ||
**Note:** Version bump only for package @aws-sdk/querystring-builder | ||
# [0.1.0-preview.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/querystring-builder@0.1.0-preview.1...@aws-sdk/querystring-builder@0.1.0-preview.2) (2019-03-27) | ||
**Note:** Version bump only for package @aws-sdk/querystring-builder |
{ | ||
"name": "@aws-sdk/querystring-builder", | ||
"version": "0.1.0-preview.3", | ||
"scripts": { | ||
"prepublishOnly": "tsc", | ||
"pretest": "tsc -p tsconfig.test.json", | ||
"test": "jest" | ||
}, | ||
"main": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"author": { | ||
"name": "AWS SDK for JavaScript Team", | ||
"email": "aws-sdk-js@amazon.com", | ||
"url": "https://aws.amazon.com/javascript/" | ||
}, | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@aws-sdk/types": "^0.1.0-preview.3", | ||
"@aws-sdk/util-uri-escape": "^0.1.0-preview.1", | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^20.0.2", | ||
"jest": "^20.0.4", | ||
"typescript": "^3.0.0" | ||
} | ||
"name": "@aws-sdk/querystring-builder", | ||
"version": "0.1.0-preview.4", | ||
"scripts": { | ||
"prepublishOnly": "tsc", | ||
"pretest": "tsc -p tsconfig.test.json", | ||
"test": "jest" | ||
}, | ||
"main": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"author": { | ||
"name": "AWS SDK for JavaScript Team", | ||
"email": "", | ||
"url": "https://aws.amazon.com/javascript/" | ||
}, | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@aws-sdk/types": "^0.1.0-preview.4", | ||
"@aws-sdk/util-uri-escape": "^0.1.0-preview.2", | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.12", | ||
"jest": "^24.7.1", | ||
"typescript": "~3.4.0" | ||
} | ||
} |
@@ -1,1 +0,4 @@ | ||
# querystring-builder | ||
# @aws-sdk/querystring-builder | ||
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/querystring-builder/preview.svg)](https://www.npmjs.com/package/@aws-sdk/querystring-builder) | ||
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/querystring-builder.svg)](https://www.npmjs.com/package/@aws-sdk/querystring-builder) |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"downlevelIteration": true, | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"rootDir": "./src", | ||
"outDir": "./build" | ||
} | ||
} | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"declaration": true, | ||
"strict": true, | ||
"sourceMap": true, | ||
"downlevelIteration": true, | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"lib": [ | ||
"es5", | ||
"es2015.promise", | ||
"es2015.collection", | ||
"es2015.iterable", | ||
"es2015.symbol.wellknown" | ||
], | ||
"rootDir": "./src", | ||
"outDir": "./build" | ||
} | ||
} |
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
9
63
5
16350