Skip to content

Commit

Permalink
chore(all): prepare release 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jan 18, 2019
1 parent a0c0cf2 commit dd3942c
Show file tree
Hide file tree
Showing 11 changed files with 9,124 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-path",
"version": "1.1.1",
"version": "1.1.2",
"description": "Utilities for path manipulation.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/aurelia-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ define(['exports'], function (exports) {
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};

function trimDots(ary) {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
value: true
});

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

exports.relativeToFile = relativeToFile;
exports.join = join;
Expand Down
4 changes: 2 additions & 2 deletions dist/es2015/aurelia-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function buildParam(key, value, traditional) {
if (Array.isArray(value)) {
for (let i = 0, l = value.length; i < l; i++) {
if (traditional) {
result.push(`${ encodeKey(key) }=${ encode(value[i]) }`);
result.push(`${encodeKey(key)}=${encode(value[i])}`);
} else {
let arrayKey = key + '[' + (typeof value[i] === 'object' && value[i] !== null ? i : '') + ']';
result = result.concat(buildParam(arrayKey, value[i]));
Expand All @@ -105,7 +105,7 @@ function buildParam(key, value, traditional) {
result = result.concat(buildParam(key + '[' + propertyName + ']', value[propertyName]));
}
} else {
result.push(`${ encodeKey(key) }=${ encode(value) }`);
result.push(`${encodeKey(key)}=${encode(value)}`);
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/aurelia-path.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

function trimDots(ary) {
for (var i = 0; i < ary.length; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/aurelia-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ System.register([], function (_export, _context) {
_typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
};
encode = encodeURIComponent;

Expand Down
2 changes: 1 addition & 1 deletion dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ System.register(['./aurelia-path'], function (_export, _context) {
var _exportObj = {};

for (var _key in _aureliaPath) {
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaPath[_key];
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaPath[_key];
}

_export(_exportObj);
Expand Down
5 changes: 5 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="1.1.2"></a>
## [1.1.2](https://github.com/aurelia/path/compare/1.1.1...1.1.2) (2019-01-18)

* Add module field to package.json.

<a name="1.1.1"></a>
## [1.1.1](https://github.com/aurelia/path/compare/1.1.0...v1.1.1) (2016-09-23)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"aurelia-path","children":[{"id":10,"name":"buildQueryString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":11,"name":"buildQueryString","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generate a query string from an object.","returns":"The generated query string, excluding leading '?'.\n"},"parameters":[{"id":12,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object containing the keys and values to be used."},"type":{"type":"reference","name":"Object"}},{"id":13,"name":"traditional","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Boolean Use the old URI template standard (RFC6570)"},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"instrinct","name":"string"}}]},{"id":6,"name":"join","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":7,"name":"join","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Joins two paths.","returns":"The joined path.\n"},"parameters":[{"id":8,"name":"path1","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The first path."},"type":{"type":"instrinct","name":"string"}},{"id":9,"name":"path2","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The second path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}]},{"id":14,"name":"parseQueryString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":15,"name":"parseQueryString","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parse a query string.","returns":"Object with keys and values mapped from the query string.\n"},"parameters":[{"id":16,"name":"queryString","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The query string to parse."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}]},{"id":2,"name":"relativeToFile","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3,"name":"relativeToFile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Calculates a path relative to a file.","returns":"The calculated path.\n"},"parameters":[{"id":4,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}},{"id":5,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}]}],"groups":[{"title":"Functions","kind":64,"children":[10,6,14,2]}]}
{"name":"aurelia-path","children":[{"id":10,"name":"buildQueryString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":11,"name":"buildQueryString","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Generate a query string from an object.","returns":"The generated query string, excluding leading '?'.\n"},"parameters":[{"id":12,"name":"params","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object containing the keys and values to be used."},"type":{"type":"reference","name":"Object"}},{"id":13,"name":"traditional","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Boolean Use the old URI template standard (RFC6570)"},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-path.d.ts","line":27,"character":40}]},{"id":6,"name":"join","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":7,"name":"join","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Joins two paths.","returns":"The joined path.\n"},"parameters":[{"id":8,"name":"path1","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The first path."},"type":{"type":"instrinct","name":"string"}},{"id":9,"name":"path2","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The second path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-path.d.ts","line":18,"character":28}]},{"id":14,"name":"parseQueryString","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":15,"name":"parseQueryString","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parse a query string.","returns":"Object with keys and values mapped from the query string.\n"},"parameters":[{"id":16,"name":"queryString","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The query string to parse."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}],"sources":[{"fileName":"aurelia-path.d.ts","line":35,"character":40}]},{"id":2,"name":"relativeToFile","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":3,"name":"relativeToFile","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Calculates a path relative to a file.","returns":"The calculated path.\n"},"parameters":[{"id":4,"name":"name","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The relative path."},"type":{"type":"instrinct","name":"string"}},{"id":5,"name":"file","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The file path."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-path.d.ts","line":9,"character":38}]}],"groups":[{"title":"Functions","kind":64,"children":[10,6,14,2]}]}
Loading

0 comments on commit dd3942c

Please sign in to comment.