From 9a3e8722a0de9b1829de6c3301a737eef106fc57 Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Fri, 30 Nov 2018 20:29:56 -0800 Subject: [PATCH] chore(all): prepare release 2.3.1 --- bower.json | 2 +- dist/amd/aurelia-bootstrapper.js | 7 ++++++- dist/aurelia-bootstrapper.js | 2 +- dist/commonjs/aurelia-bootstrapper.js | 5 ++++- dist/es2015/aurelia-bootstrapper.js | 2 +- dist/native-modules/aurelia-bootstrapper.js | 4 +++- dist/system/aurelia-bootstrapper.js | 10 +++++++--- doc/CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 9 files changed, 34 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index a0590e6..87eaea6 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-bootstrapper", - "version": "2.3.0", + "version": "2.3.1", "description": "Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.", "keywords": [ "aurelia", diff --git a/dist/amd/aurelia-bootstrapper.js b/dist/amd/aurelia-bootstrapper.js index edf2976..a418ded 100644 --- a/dist/amd/aurelia-bootstrapper.js +++ b/dist/amd/aurelia-bootstrapper.js @@ -7,6 +7,11 @@ define(['module', 'exports', 'aurelia-pal', 'aurelia-polyfills'], function (modu exports.starting = undefined; exports.bootstrap = bootstrap; + 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; + }; var bootstrapPromises = []; var startResolve = void 0; @@ -55,7 +60,7 @@ define(['module', 'exports', 'aurelia-pal', 'aurelia-polyfills'], function (modu }); } - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') { return new Promise(function (resolve, reject) { return host.require(['aurelia-loader-default'], function (m) { return resolve(new m.DefaultLoader()); diff --git a/dist/aurelia-bootstrapper.js b/dist/aurelia-bootstrapper.js index 0b4a6e0..e8da50b 100644 --- a/dist/aurelia-bootstrapper.js +++ b/dist/aurelia-bootstrapper.js @@ -58,7 +58,7 @@ function createLoader() { } // AMD Module Loader Support - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && typeof host.define.amd === 'object') { return new Promise((resolve, reject) => host.require(['aurelia-loader-default'], m => resolve(new m.DefaultLoader()), reject)); } diff --git a/dist/commonjs/aurelia-bootstrapper.js b/dist/commonjs/aurelia-bootstrapper.js index 64fec9a..c59bf4d 100644 --- a/dist/commonjs/aurelia-bootstrapper.js +++ b/dist/commonjs/aurelia-bootstrapper.js @@ -4,6 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.starting = undefined; + +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.bootstrap = bootstrap; require('aurelia-polyfills'); @@ -57,7 +60,7 @@ function createLoader() { }); } - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') { return new Promise(function (resolve, reject) { return host.require(['aurelia-loader-default'], function (m) { return resolve(new m.DefaultLoader()); diff --git a/dist/es2015/aurelia-bootstrapper.js b/dist/es2015/aurelia-bootstrapper.js index 4b326c7..b3e3fd2 100644 --- a/dist/es2015/aurelia-bootstrapper.js +++ b/dist/es2015/aurelia-bootstrapper.js @@ -44,7 +44,7 @@ function createLoader() { }); } - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && typeof host.define.amd === 'object') { return new Promise((resolve, reject) => host.require(['aurelia-loader-default'], m => resolve(new m.DefaultLoader()), reject)); } diff --git a/dist/native-modules/aurelia-bootstrapper.js b/dist/native-modules/aurelia-bootstrapper.js index ae08bf8..487f5fa 100644 --- a/dist/native-modules/aurelia-bootstrapper.js +++ b/dist/native-modules/aurelia-bootstrapper.js @@ -1,3 +1,5 @@ +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; }; + import 'aurelia-polyfills'; import { PLATFORM, isInitialized } from 'aurelia-pal'; @@ -48,7 +50,7 @@ function createLoader() { }); } - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') { return new Promise(function (resolve, reject) { return host.require(['aurelia-loader-default'], function (m) { return resolve(new m.DefaultLoader()); diff --git a/dist/system/aurelia-bootstrapper.js b/dist/system/aurelia-bootstrapper.js index 228369a..f3a7f6e 100644 --- a/dist/system/aurelia-bootstrapper.js +++ b/dist/system/aurelia-bootstrapper.js @@ -3,8 +3,7 @@ System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _context) { "use strict"; - var PLATFORM, isInitialized, bootstrapPromises, startResolve, startPromise, host, isNodeLike, starting; - + var PLATFORM, isInitialized, _typeof, bootstrapPromises, startResolve, startPromise, host, isNodeLike, starting; function ready() { if (!host.document || host.document.readyState === 'complete') { @@ -44,7 +43,7 @@ System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _contex }); } - if (typeof host.require === 'function' && typeof host.require.version === 'string') { + if (typeof host.require === 'function' && typeof host.define === 'function' && _typeof(host.define.amd) === 'object') { return new Promise(function (resolve, reject) { return host.require(['aurelia-loader-default'], function (m) { return resolve(new m.DefaultLoader()); @@ -162,6 +161,11 @@ System.register(['aurelia-polyfills', 'aurelia-pal'], function (_export, _contex isInitialized = _aureliaPal.isInitialized; }], execute: function () { + _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; + }; bootstrapPromises = []; startResolve = void 0; startPromise = new Promise(function (resolve) { diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index cf7d940..5987324 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [2.3.1](https://github.com/aurelia/bootstrapper/compare/2.3.0...2.3.1) (2018-12-01) + + +### Bug Fixes + +* **loader:** Use better detection of amd loaders ([1b98576](https://github.com/aurelia/bootstrapper/commit/1b98576)) + + + # [2.3.0](https://github.com/aurelia/bootstrapper/compare/2.2.0...2.3.0) (2018-07-02) diff --git a/package.json b/package.json index 870e1cf..210fcd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-bootstrapper", - "version": "2.3.0", + "version": "2.3.1", "description": "Sets up the default configuration for the aurelia framework and gets you up and running quick and easy.", "keywords": [ "aurelia",