From 808705c467367f1e4bd244d62f951624b3d9b3dd Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 3 Apr 2021 21:12:45 +0200 Subject: [PATCH 1/7] Make launch-screen only for Cordova & update plugin --- packages/launch-screen/package.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/launch-screen/package.js b/packages/launch-screen/package.js index 52d688d784..1352b70175 100644 --- a/packages/launch-screen/package.js +++ b/packages/launch-screen/package.js @@ -6,17 +6,17 @@ Package.describe({ // between such packages and the build tool. name: 'launch-screen', summary: 'Default and customizable launch screen on mobile.', - version: '1.2.0' + version: '1.3.0' }); Cordova.depends({ - 'cordova-plugin-splashscreen': '5.0.3' + 'cordova-plugin-splashscreen': '6.0.0' }); Package.onUse(function(api) { - api.addFiles('mobile-launch-screen.js', 'web'); - api.addFiles('default-behavior.js', 'web'); - api.use(['blaze', 'templating'], 'web', { weak: true }); + api.addFiles('mobile-launch-screen.js', 'web.cordova'); + api.addFiles('default-behavior.js', 'web.cordova'); + api.use(['blaze', 'templating'], 'web.cordova', { weak: true }); api.export('LaunchScreen'); }); From c1c0f73c8963ecf9abc948de4b3582549fa2655c Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Fri, 7 May 2021 17:33:51 +0900 Subject: [PATCH 2/7] Revert "Merge pull request #11371 from meteor/launchscreen-client-removal" This reverts commit f804c69a603bc2e66f22ca401c99c331fab8da70. --- packages/launch-screen/package.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/launch-screen/package.js b/packages/launch-screen/package.js index 1352b70175..78b34858f9 100644 --- a/packages/launch-screen/package.js +++ b/packages/launch-screen/package.js @@ -6,7 +6,7 @@ Package.describe({ // between such packages and the build tool. name: 'launch-screen', summary: 'Default and customizable launch screen on mobile.', - version: '1.3.0' + version: '1.2.1' }); Cordova.depends({ @@ -14,9 +14,9 @@ Cordova.depends({ }); Package.onUse(function(api) { - api.addFiles('mobile-launch-screen.js', 'web.cordova'); - api.addFiles('default-behavior.js', 'web.cordova'); - api.use(['blaze', 'templating'], 'web.cordova', { weak: true }); + api.addFiles('mobile-launch-screen.js', 'web'); + api.addFiles('default-behavior.js', 'web'); + api.use(['blaze', 'templating'], 'web', { weak: true }); api.export('LaunchScreen'); }); From d3291bfe020c627aa1e12310d3fe4b97a8efd82b Mon Sep 17 00:00:00 2001 From: Harry Adel Date: Sat, 8 May 2021 00:22:08 +0200 Subject: [PATCH 3/7] Remove id-map dependency from mongo-id --- packages/mongo-id/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mongo-id/package.js b/packages/mongo-id/package.js index 0868007fb2..784b8bbf86 100644 --- a/packages/mongo-id/package.js +++ b/packages/mongo-id/package.js @@ -6,6 +6,6 @@ Package.describe({ Package.onUse(function (api) { api.export('MongoID'); - api.use(['ejson', 'id-map', 'random', 'ecmascript']); + api.use(['ejson', 'random', 'ecmascript']); api.mainModule('id.js'); }); From b4c3ae891db4cde0089bd9723eeaf9c56d0f38cb Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 8 May 2021 13:01:04 +0200 Subject: [PATCH 4/7] Published mongo-id@1.0.8. --- History.md | 2 ++ packages/mongo-id/package.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/History.md b/History.md index c5e2a155b1..364c815fda 100644 --- a/History.md +++ b/History.md @@ -8,6 +8,8 @@ * Released `mongo@1.11.1` fixing a `Timestamp.ONE is undefined` bug. +* Released `mongo-id@1.0.8` removing unused dependency `id-map`. + ## v2.2, 2021-04-15 #### Highlights diff --git a/packages/mongo-id/package.js b/packages/mongo-id/package.js index 784b8bbf86..012a34ea7e 100644 --- a/packages/mongo-id/package.js +++ b/packages/mongo-id/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'JS simulation of MongoDB ObjectIDs', - version: '1.0.7', + version: '1.0.8', documentation: null }); From 18bca91a01647f8d12fdf2c79cc9adeaf9a48cf4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 8 May 2021 11:53:48 +0000 Subject: [PATCH 5/7] Bump ua-parser-js from 0.7.20 to 0.7.28 in /tools/tests/apps/modules Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.20 to 0.7.28. - [Release notes](https://github.com/faisalman/ua-parser-js/releases) - [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.20...0.7.28) Signed-off-by: dependabot[bot] --- tools/tests/apps/modules/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/tests/apps/modules/package-lock.json b/tools/tests/apps/modules/package-lock.json index 0035b5a2ab..4796b4800a 100644 --- a/tools/tests/apps/modules/package-lock.json +++ b/tools/tests/apps/modules/package-lock.json @@ -2352,9 +2352,9 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, "ua-parser-js": { - "version": "0.7.20", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.20.tgz", - "integrity": "sha512-8OaIKfzL5cpx8eCMAhhvTlft8GYF8b2eQr6JkCyVdrgjcytyOmPCXrqXFcUnhonRpLlh5yxEZVohm6mzaowUOw==" + "version": "0.7.28", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz", + "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==" }, "unherit": { "version": "1.1.2", From 4717ded30be63c01a93b6f057ae9423a74116bb9 Mon Sep 17 00:00:00 2001 From: Harry Adel Date: Tue, 11 May 2021 12:22:53 +0200 Subject: [PATCH 6/7] Replace lolex with @sinonjs/fake-timers --- .../.npm/package/npm-shrinkwrap.json | 18 ++++++++++++++---- packages/ddp-client/package.js | 2 +- .../test/livedata_connection_tests.js | 4 ++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/packages/ddp-client/.npm/package/npm-shrinkwrap.json b/packages/ddp-client/.npm/package/npm-shrinkwrap.json index 5d2c645d18..f8f3715903 100644 --- a/packages/ddp-client/.npm/package/npm-shrinkwrap.json +++ b/packages/ddp-client/.npm/package/npm-shrinkwrap.json @@ -1,10 +1,20 @@ { "lockfileVersion": 1, "dependencies": { - "lolex": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/lolex/-/lolex-2.3.2.tgz", - "integrity": "sha512-A5pN2tkFj7H0dGIAM6MFvHKMJcPnjZsOMvR7ujCjfgW5TbV6H9vb1PgxLtHvjqNZTHsUolz+6/WEO0N1xNx2ng==" + "@sinonjs/commons": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", + "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==" + }, + "@sinonjs/fake-timers": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-7.0.5.tgz", + "integrity": "sha512-fUt6b15bjV/VW93UP5opNXJxdwZSbK1EdiwnhN7XrQrcpaOhMJpZ/CjwFpM3THpxwA+YviBUJKSuEqKlCK5alw==" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" } } } diff --git a/packages/ddp-client/package.js b/packages/ddp-client/package.js index ff13d25b8e..ec6a76bdae 100644 --- a/packages/ddp-client/package.js +++ b/packages/ddp-client/package.js @@ -5,7 +5,7 @@ Package.describe({ }); Npm.depends({ - lolex: '2.3.2' + '@sinonjs/fake-timers': '7.0.5' }); Package.onUse((api) => { diff --git a/packages/ddp-client/test/livedata_connection_tests.js b/packages/ddp-client/test/livedata_connection_tests.js index b66855fc6c..32e014ccbf 100644 --- a/packages/ddp-client/test/livedata_connection_tests.js +++ b/packages/ddp-client/test/livedata_connection_tests.js @@ -1,4 +1,4 @@ -import lolex from 'lolex'; +import FakeTimers from '@sinonjs/fake-timers'; import { DDP } from '../common/namespace.js'; import { Connection } from '../common/livedata_connection.js'; @@ -114,7 +114,7 @@ Tinytest.add('livedata stub - receive data', function(test) { Tinytest.add('livedata stub - buffering data', function(test) { // Install special setTimeout that allows tick-by-tick control in tests using sinonjs 'lolex' // This needs to be before the connection is instantiated. - const clock = lolex.install(); + const clock = FakeTimers.install(); const tick = timeout => clock.tick(timeout); const stream = new StubStream(); From d7f47b21518e90756a4628ae09667e6f182e0c57 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Tue, 11 May 2021 15:57:02 +0200 Subject: [PATCH 7/7] Published dev-error-overlay@0.1.1. --- History.md | 4 +++- packages/dev-error-overlay/client.js | 1 + packages/dev-error-overlay/package.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 364c815fda..51923d2f33 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,4 @@ -## v2.2.1, UNRELEASED +## v2.3.0, UNRELEASED #### Independent Releases @@ -10,6 +10,8 @@ * Released `mongo-id@1.0.8` removing unused dependency `id-map`. +* Released `dev-error-overlay@0.1.1` fixing sometimes page content being on top of error overlay + ## v2.2, 2021-04-15 #### Highlights diff --git a/packages/dev-error-overlay/client.js b/packages/dev-error-overlay/client.js index 9712548f22..52b702206c 100644 --- a/packages/dev-error-overlay/client.js +++ b/packages/dev-error-overlay/client.js @@ -13,6 +13,7 @@ const styles = ` box-shadow: inset 0 0 100px #e411111f, 0 0 20px #00000085; box-sizing: border-box; overflow-y: auto; + z-index: 1000000; } .section { diff --git a/packages/dev-error-overlay/package.js b/packages/dev-error-overlay/package.js index 72a362776f..aab5125c2f 100644 --- a/packages/dev-error-overlay/package.js +++ b/packages/dev-error-overlay/package.js @@ -1,5 +1,5 @@ Package.describe({ - version: '0.1.0', + version: '0.1.1', summary: 'Show build errors in client when using HMR', documentation: 'README.md', devOnly: true