@aws-sdk/url-parser-node
Advanced tools
Comparing version 0.1.0-preview.3 to 0.1.0-preview.4
@@ -1,2 +0,2 @@ | ||
import { UrlParser } from '@aws-sdk/types'; | ||
import { UrlParser } from "@aws-sdk/types"; | ||
export declare const parseUrl: UrlParser; |
@@ -6,3 +6,3 @@ "use strict"; | ||
exports.parseUrl = function (url) { | ||
var _a = url_1.parse(url), _b = _a.hostname, hostname = _b === void 0 ? 'localhost' : _b, _c = _a.pathname, pathname = _c === void 0 ? '/' : _c, port = _a.port, _d = _a.protocol, protocol = _d === void 0 ? 'https:' : _d, search = _a.search; | ||
var _a = url_1.parse(url), _b = _a.hostname, hostname = _b === void 0 ? "localhost" : _b, _c = _a.pathname, pathname = _c === void 0 ? "/" : _c, port = _a.port, _d = _a.protocol, protocol = _d === void 0 ? "https:" : _d, search = _a.search; | ||
var query; | ||
@@ -17,5 +17,5 @@ if (search) { | ||
path: pathname, | ||
query: query, | ||
query: query | ||
}; | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxrRUFBK0Q7QUFFL0QsMkJBQTRCO0FBRWYsUUFBQSxRQUFRLEdBQWMsVUFBQyxHQUFXO0lBQ3JDLElBQUEscUJBTVEsRUFMVixnQkFBc0IsRUFBdEIsMkNBQXNCLEVBQ3RCLGdCQUFjLEVBQWQsbUNBQWMsRUFDZCxjQUFJLEVBQ0osZ0JBQW1CLEVBQW5CLHdDQUFtQixFQUNuQixrQkFDVSxDQUFDO0lBRWYsSUFBSSxLQUFrQyxDQUFDO0lBQ3ZDLElBQUksTUFBTSxFQUFFO1FBQ1IsS0FBSyxHQUFHLHFDQUFnQixDQUFDLE1BQU0sQ0FBQyxDQUFDO0tBQ3BDO0lBRUQsT0FBTztRQUNILFFBQV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Gg6IHBhdGhuYW1lLFxuICAgICAgICBxdWVyeSxcbiAgICB9XG59O1xuIl19 | ||
//# 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/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.3) (2019-04-19) | ||
# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.4) (2019-07-12) | ||
**Note:** Version bump only for package @aws-sdk/url-parser-node | ||
### 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/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.3) (2019-04-19) | ||
**Note:** Version bump only for package @aws-sdk/url-parser-node | ||
# [0.1.0-preview.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.1...@aws-sdk/url-parser-node@0.1.0-preview.2) (2019-03-27) | ||
**Note:** Version bump only for package @aws-sdk/url-parser-node |
{ | ||
"name": "@aws-sdk/url-parser-node", | ||
"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/querystring-parser": "^0.1.0-preview.3", | ||
"@aws-sdk/types": "^0.1.0-preview.3", | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^20.0.2", | ||
"@types/node": "^8.10.29", | ||
"jest": "^20.0.4", | ||
"typescript": "^3.0.0" | ||
} | ||
"name": "@aws-sdk/url-parser-node", | ||
"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/querystring-parser": "^0.1.0-preview.4", | ||
"@aws-sdk/types": "^0.1.0-preview.4", | ||
"tslib": "^1.8.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.12", | ||
"@types/node": "^10.0.0", | ||
"jest": "^24.7.1", | ||
"typescript": "~3.4.0" | ||
} | ||
} |
@@ -1,1 +0,4 @@ | ||
# url-parser-node | ||
# @aws-sdk/url-parser-node | ||
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/url-parser-node/preview.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-node) | ||
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/url-parser-node.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-node) |
{ | ||
"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
45
5
15412