From 47229647b64e2ec504a342c4b9c4736190f41c96 Mon Sep 17 00:00:00 2001 From: soolid <96774530+soolidtech@users.noreply.github.com> Date: Sat, 19 Feb 2022 14:37:22 +0100 Subject: [PATCH 01/10] docs: fix example code in security guide --- guide/source/security.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guide/source/security.md b/guide/source/security.md index 3e35833067..cde16b74e0 100644 --- a/guide/source/security.md +++ b/guide/source/security.md @@ -652,8 +652,12 @@ const helpmentOptions = { // connection available. // Run your project with --production flag to simulate script-src hashing if (!usesHttps && Meteor.isDevelopment) { - delete opt.contentSecurityPolicy.directives.blockAllMixedContent - opt.contentSecurityPolicy.directives.scriptSrc = [self, unsafeEval, unsafeInline] + delete helpmentOptions.contentSecurityPolicy.blockAllMixedContent; + helpmentOptions.contentSecurityPolicy.directives.scriptSrc = [ + self, + unsafeEval, + unsafeInline, + ]; } // finally pass the options to helmet to make them apply From 1bf1ec04f621196b31aa7a374121d3e8e35048bc Mon Sep 17 00:00:00 2001 From: denihs Date: Wed, 23 Feb 2022 11:12:46 -0400 Subject: [PATCH 02/10] Based on the issue [#11921](https://github.com/meteor/meteor/issues/11921), we felt the necessity to make clear that the option applySkipLimit is no longer supported, and present a solution in case someone is the same situation. --- docs/history.md | 2 +- guide/source/2.6-migration.md | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docs/history.md b/docs/history.md index bd7010c71a..95bd57e0d6 100644 --- a/docs/history.md +++ b/docs/history.md @@ -85,13 +85,13 @@ Read our [Migration Guide](https://guide.meteor.com/2.6-migration.html) for this #### Meteor Version Release * `mongo@1.14.0` + - `applySkipLimit` option for count() on find cursors is no longer supported. Read more about it [here](https://guide.meteor.com/2.6-migration.html), in the `Cursor.count()` section. - internal result of operations inside Node.js MongoDB driver have changed. If you are depending on rawCollection results (not only the effect inside the DB), please review the expected format as we have done [here](https://github.com/meteor/meteor/blob/155ae639ee590bae66237fc1c29295072ec92aef/packages/mongo/mongo_driver.js#L658) - useUnifiedTopology is not an option anymore, it defaults to true. - native parser is not an option anymore, it defaults to false in the mongo connection. - poolSize not an option anymore, we are using max/minPoolSize for the same behavior on mongo connection. - fields option is deprecated, we are maintaining a translation layer to "projection" field (now prefered) until the next minor version, where we will start showing alerts. - _ensureIndex is now showing a deprecation message - - applySkipLimit option for count() on find cursors is no longer supported. - we are maintaining a translation layer for the new oplog format, so if you read or rely on any behavior of it please read our oplog_v2_converter.js code - update/insert/remove behavior is maintained in the Meteor way, documented in our docs, but we are now using replaceOne/updateOne/updateMany internally. This is subject to changes in the API rewrite of MongoDB without Fibers AND if you are using rawCollection directly you have to review your methods otherwise you will see deprecation messages if you are still using the old mongodb style directly. - waitForStepDownOnNonCommandShutdown=false is not needed anymore when spawning the mongodb process diff --git a/guide/source/2.6-migration.md b/guide/source/2.6-migration.md index e23b52a067..aa7c0e2090 100644 --- a/guide/source/2.6-migration.md +++ b/guide/source/2.6-migration.md @@ -45,6 +45,27 @@ For this specific case, we have written the fix in this [PR](https://github.com/ If you are a user looking for errors that are showing in a custom package, please open an issue in the package owner repository so the maintainer can make the due changes. +#### Cursor.count() + +`applySkipLimit` option for count() on find cursors is no longer supported. By default, this option will always be true. So, for example, let's say you have a collection with 50 documents and execute a `find` with a limit of 25: + +```js +const cursor = collection.find({}, { limit: 25 }); +``` + +When you call `cursor.fetch()`, the result will be 25 documents, and `cursor.count()` will be 25. Whereas, in the previous version, `cursor.count()` would result in 50, in this case, and you would need to provide the option `applySkipLimit` to get the result 25. + +Now, you'll need to create a new cursor, but this time not providing a limit, in order to get the number of all documents in your collection: + +```js +const cursorWithLimit = collection.find({}, { limit: 25 }); +const cursorWithNoLimit = collection.find({}); +// cursorWithLimit.fetch() => returns 25 documents +// cursorWithNoLimit.count() => returns 50 +``` + +Remember that a `find` is a wrapper for the query, so creating two or more cursors in a row is totally fine and not slower at all. + #### Changes Here is a list of the changes that we have made to Meteor core packages in order to make it compatible with MongoDB Node.js Driver 4.3.x, most of them are not going to affect you but we recommend that you test your application well before upgrading to the latest version of Meteor as we have made many changes on how Meteor interact with MongoDB. @@ -54,7 +75,6 @@ Here is a list of the changes that we have made to Meteor core packages in order - poolSize not an option anymore, we are using max/minPoolSize for the same behavior on mongo connection. - fields option is deprecated, we are maintaining a translation layer to "projection" field (now prefered) until the next minor version, where we will start showing alerts. - _ensureIndex is now showing a deprecation message - - applySkipLimit option for count() on find cursors is no longer supported. - we are maintaining a translation layer for the new oplog format, so if you read or rely on any behavior of it please read our oplog_v2_converter.js code - update/insert/remove behavior is maintained in the Meteor way, documented in our docs, but we are now using replaceOne/updateOne/updateMany internally. This is subject to changes in the API rewrite of MongoDB without Fibers AND if you are using rawCollection directly you have to review your methods otherwise you will see deprecation messages if you are still using the old mongodb style directly. - waitForStepDownOnNonCommandShutdown=false is not needed anymore when spawning the mongodb process From c3fe536ce7cdb644e00cd3fe05edf6d39db985a5 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sun, 27 Feb 2022 23:23:11 +0900 Subject: [PATCH 03/10] Fix typo in publish.js embeded -> embedded --- docs/jsdoc/docdata-jsdoc-template/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/jsdoc/docdata-jsdoc-template/publish.js b/docs/jsdoc/docdata-jsdoc-template/publish.js index 27c27bfccd..1f68bbd8e3 100644 --- a/docs/jsdoc/docdata-jsdoc-template/publish.js +++ b/docs/jsdoc/docdata-jsdoc-template/publish.js @@ -95,7 +95,7 @@ } }); - // Callback descriptions are going to be embeded into Function descriptions + // Callback descriptions are going to be embedded into Function descriptions // when they are used as arguments, so we always attach them to reference // them later. var callbacks = helper.find(data, {kind: "typedef"}); From b8d9d2744651475d01be6b699db4701d64929d1e Mon Sep 17 00:00:00 2001 From: Harry Adel Date: Sat, 5 Mar 2022 14:14:29 +0200 Subject: [PATCH 04/10] Fix broken links --- packages/ddp/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ddp/README.md b/packages/ddp/README.md index 0f4fb03507..63df717435 100644 --- a/packages/ddp/README.md +++ b/packages/ddp/README.md @@ -30,7 +30,7 @@ When using the sockjs transport, `ddp` has some special functionality to get aro ### Notable features -**Database driver integration.** `ddp` works well with the Meteor Project's [full-stack database drivers](https://www.meteor.com/full-stack-db-drivers). For example, if you are using the `mongo` package, then when you create a Mongo collection with `MyCollection = new Mongo.Collection("mycollection")` on the client, the Mongo driver will automatically register with `ddp` to receive incoming data for `mycollection` and use it to keep `MyCollection` up to date. In other words, it automatically wires up replication for all of your remote collections. +**Database driver integration.** `ddp` works well with the Mongo [database drivers](https://docs.meteor.com/api/collections.html). For example, if you are using the `mongo` package, then when you create a Mongo collection with `MyCollection = new Mongo.Collection("mycollection")` on the client, the Mongo driver will automatically register with `ddp` to receive incoming data for `mycollection` and use it to keep `MyCollection` up to date. In other words, it automatically wires up replication for all of your remote collections. **Automatic latency compensation.** `ddp` includes a full implementation of fine-grained latency compensation, so users see @@ -41,14 +41,14 @@ as necessary. **Transparent reconnection.** If the DDP client loses its connection to the server, it will automatically reconnect, transparently to the application. Any subscriptions will be re-established and resynchronized without disturbing the application, and any outstanding method calls will be retried. However, this retrying could lead to duplicate method calls if the connection is lost after the server has received the method call, but before the client reads the result. This can be avoided just as it is with REST, by including a unique code as a parameter to the method. A future version of DDP will solve this on the protocol level (see Future Work). -**Authentication.** `ddp`'s authentication hooks work great with [Meteor Accounts](https://www.meteor.com/accounts), a set of packages which provides a full suite of authentication functionality, from password-based accounts with email verification and password recovery, to OAuth login using services like Facebook and Twitter. +**Authentication.** `ddp`'s authentication hooks work great with [Meteor Accounts](https://docs.meteor.com/api/accounts.html), a set of packages which provides a full suite of authentication functionality, from password-based accounts with email verification and password recovery, to OAuth login using services like Facebook and Twitter. **Input sanitization.** On the server, you can use the `check` function, provided by the [match](https://atmospherejs.com/meteor/match) package, to easily validate the types of arguments passed by the client. Using a simple pattern language, you can also `check` whether objects have the expected keps and array elements have the right type. In production code, add the [audit-argument-checks](https://atmospherejs.com/meteor/audit-argument-checks) package, and `ddp` will make sure that every value passed from the client is validated with `check`, and throw an exception if not. But be careful. The check only happens after the code has run, so while it will catch the vast majority of sanitization failures, it's not a perfect guarantee of safety. -**Tracker-aware.** `ddp` obeys the simple [Tracker](https://www.meteor.com/tracker) convention for transparent reactivity. Values such as the current connection status (are we online?), subscription readiness (is the `newsFeed` done loading or should we show a progress indicator?), and the currently logged-in user (what username should we show in the status area at the top of page?) all work as reactive variables. +**Tracker-aware.** `ddp` obeys the simple [Tracker](https://docs.meteor.com/api/tracker.html) convention for transparent reactivity. Values such as the current connection status (are we online?), subscription readiness (is the `newsFeed` done loading or should we show a progress indicator?), and the currently logged-in user (what username should we show in the status area at the top of page?) all work as reactive variables. **Default connection.** Normally you open a DDP connection with `myconn = DDP.connect(url)`, and then work with the connection with calls like `myconn.subscribe("newsFeed")` or `myconn.call("transferBalance")`. But if you build and deploy your app with the other Meteor tools, then a DDP server instance is automatically set up on the server, and each client is configured to automatically open a connection to that server on startup. You can work then with this "default connection" and "default server" with easy aliases like `Meteor.subscribe` and `Meteor.call`. **Connection lifecycle hooks.** Servers can run code when connections are established or closed. This can be used to update the database to show which users are online, making it easily to create presence features like a live-updating "Friends Online Now" list. -**CRUD boilerplate and quickstart packages.** The [full-stack database drivers](https://www.meteor.com/full-stack-db-drivers) provide some helpful functionality that is worth mentioning here, even though it is actually part of those database packages, not `ddp`. They provide general-purpose `create`, `update`, and `delete` methods for each database collection, so that it is not necessary to write methods for basic CRUD operations. A system of `allow` and `deny` rules is used to control what each user can do. And two "quickstart" packages are provided, for quick prototyping and to help new developers learn Meteor. The `insecure` package turns off `allow`/`deny` rule checking for the generic `create`, `update`, and `delete` methods. The `autopublish` package automatically subscribes every connected client to the full contents of every database collection. +**CRUD boilerplate and quickstart packages.** The [full-stack database drivers](https://docs.meteor.com/api/collections.html) provide some helpful functionality that is worth mentioning here, even though it is actually part of those database packages, not `ddp`. They provide general-purpose `create`, `update`, and `delete` methods for each database collection, so that it is not necessary to write methods for basic CRUD operations. A system of `allow` and `deny` rules is used to control what each user can do. And two "quickstart" packages are provided, for quick prototyping and to help new developers learn Meteor. The `insecure` package turns off `allow`/`deny` rule checking for the generic `create`, `update`, and `delete` methods. The `autopublish` package automatically subscribes every connected client to the full contents of every database collection. From 7fc0c0055bc856106a9198f2e77e253a15e2da4f Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Mon, 14 Mar 2022 12:12:19 -0300 Subject: [PATCH 05/10] Bump packages for release --- docs/history.md | 6 +++++- guide/source/2.7-migration.md | 9 +++++++++ npm-packages/meteor-node-stubs/package-lock.json | 2 +- npm-packages/meteor-node-stubs/package.json | 2 +- packages/accounts-2fa/package.js | 2 +- packages/accounts-base/package.js | 2 +- packages/accounts-oauth/package.js | 2 +- packages/accounts-password/package.js | 2 +- packages/accounts-passwordless/package.js | 2 +- packages/accounts-ui-unstyled/package.js | 2 +- packages/babel-compiler/package.js | 2 +- packages/ecmascript/package.js | 2 +- packages/ejson/package.js | 2 +- packages/email/package.js | 2 +- packages/facebook-oauth/package.js | 2 +- packages/github-oauth/package.js | 2 +- packages/google-oauth/package.js | 2 +- packages/meteor-tool/package.js | 2 +- packages/modules-runtime/package.js | 2 +- packages/non-core/mongo-decimal/package.js | 2 +- packages/react-fast-refresh/package.js | 2 +- packages/standard-minifier-css/package.js | 2 +- packages/typescript/package.js | 2 +- scripts/admin/meteor-release-experimental.json | 2 +- tools/static-assets/skel-apollo/package.json | 2 +- tools/static-assets/skel-react/package.json | 2 +- tools/static-assets/skel-svelte/package.json | 2 +- tools/static-assets/skel-typescript/package.json | 2 +- tools/static-assets/skel-vue/package.json | 2 +- tools/tests/apps/app-config/package.json | 2 +- tools/tests/apps/dynamic-import/package.json | 2 +- tools/tests/apps/ecmascript-regression/package.json | 2 +- tools/tests/apps/git-commit-hash/package.json | 2 +- 33 files changed, 45 insertions(+), 32 deletions(-) diff --git a/docs/history.md b/docs/history.md index fdef20f18f..abc7b4c693 100644 --- a/docs/history.md +++ b/docs/history.md @@ -5,7 +5,8 @@ * Typescript `4.5.4` upgrade * New core package: `accounts-2fa` * Support for 2FA in `accounts-password` and `accounts-passwordless` -* PostCSS plugins are run by `standard-minifier-css` if the app has PostCSS configured +* PostCSS's plugins are run by `standard-minifier-css` if the app has PostCSS configured +* App skeletons and test packages were updated to `meteor-node-stubs@1.2.0` #### Breaking Changes @@ -80,6 +81,9 @@ Read our [Migration Guide](https://guide.meteor.com/2.7-migration.html) for this * `modules-runtime@0.13.0` - Fix some npm modules being imported as an empty object. [PR](https://github.com/meteor/meteor/pull/11954), [Issue 1](https://github.com/meteor/meteor/issues/11900), [Issue 2](https://github.com/meteor/meteor/issues/11853). +* `meteor-node-stubs@1.2` + - Adds support for [node:](https://nodejs.org/api/esm.html#node-imports) imports. + #### Independent Releases ## v2.6.1, 2022-02-18 diff --git a/guide/source/2.7-migration.md b/guide/source/2.7-migration.md index 4d254e4cc7..2c8e74f2bb 100644 --- a/guide/source/2.7-migration.md +++ b/guide/source/2.7-migration.md @@ -7,6 +7,15 @@ Meteor `2.7` introduce the new `accounts-2fa` package, support for TailwindCSS 3 The above being said, there are a few items that you should do to have the latest CSS minifier in your project. +

Update meteor-node-stubs

+ +As we added support for [node:](https://nodejs.org/api/esm.html#node-imports) imports, you need to +update `meteor-node-stubs` to its latest version: + +```bash +meteor npm install meteor-node-stubs@latest +``` +

Support for PostCSS

Starting from this version of Meteor (and 1.8.0 of `standard-minifier-css`), Meteor will run PostCSS plugins if you have them configured. If you are using `juliancwirko:postcss` as your css minifier, it is recommended to migrate to using `standard-minifier-css`. For most apps, this will only requiring switching which minifier the app uses: diff --git a/npm-packages/meteor-node-stubs/package-lock.json b/npm-packages/meteor-node-stubs/package-lock.json index 7ddf03fb4e..2ca2038aee 100644 --- a/npm-packages/meteor-node-stubs/package-lock.json +++ b/npm-packages/meteor-node-stubs/package-lock.json @@ -1,6 +1,6 @@ { "name": "meteor-node-stubs", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/npm-packages/meteor-node-stubs/package.json b/npm-packages/meteor-node-stubs/package.json index 33347c3cfc..498a10b96f 100644 --- a/npm-packages/meteor-node-stubs/package.json +++ b/npm-packages/meteor-node-stubs/package.json @@ -2,7 +2,7 @@ "name": "meteor-node-stubs", "author": "Ben Newman ", "description": "Stub implementations of Node built-in modules, a la Browserify", - "version": "1.1.0", + "version": "1.2.0", "main": "index.js", "license": "MIT", "scripts": { diff --git a/packages/accounts-2fa/package.js b/packages/accounts-2fa/package.js index cfd2d11f75..f99bb2c911 100644 --- a/packages/accounts-2fa/package.js +++ b/packages/accounts-2fa/package.js @@ -1,5 +1,5 @@ Package.describe({ - version: '1.0.0-rc270.0', + version: '1.0.0-rc270.3', summary: 'Package used to enable two factor authentication through OTP protocol', }); diff --git a/packages/accounts-base/package.js b/packages/accounts-base/package.js index 1846abf764..24c24f0a43 100644 --- a/packages/accounts-base/package.js +++ b/packages/accounts-base/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'A user account system', - version: '2.2.2-rc270.0', + version: '2.2.2-rc270.3', }); Package.onUse(api => { diff --git a/packages/accounts-oauth/package.js b/packages/accounts-oauth/package.js index ee160954e0..0b653c6ea2 100644 --- a/packages/accounts-oauth/package.js +++ b/packages/accounts-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Common code for OAuth-based login services", - version: "1.4.1-rc270.0", + version: "1.4.1-rc270.3", }); Package.onUse(api => { diff --git a/packages/accounts-password/package.js b/packages/accounts-password/package.js index cef1701b85..cca67d592f 100644 --- a/packages/accounts-password/package.js +++ b/packages/accounts-password/package.js @@ -5,7 +5,7 @@ Package.describe({ // 2.2.x in the future. The version was also bumped to 2.0.0 temporarily // during the Meteor 1.5.1 release process, so versions 2.0.0-beta.2 // through -beta.5 and -rc.0 have already been published. - version: '2.3.0-rc270.0', + version: '2.3.0-rc270.3', }); Npm.depends({ diff --git a/packages/accounts-passwordless/package.js b/packages/accounts-passwordless/package.js index d99e943195..f17c8a809d 100644 --- a/packages/accounts-passwordless/package.js +++ b/packages/accounts-passwordless/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'No-password login/sign-up support for accounts', - version: '2.1.0-rc270.0', + version: '2.1.0-rc270.3', }); Package.onUse(api => { diff --git a/packages/accounts-ui-unstyled/package.js b/packages/accounts-ui-unstyled/package.js index 6ef3e3c9e7..16987ed814 100644 --- a/packages/accounts-ui-unstyled/package.js +++ b/packages/accounts-ui-unstyled/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Unstyled version of login widgets', - version: '1.7.0-rc270.0', + version: '1.7.0-rc270.3', }); Package.onUse(function(api) { diff --git a/packages/babel-compiler/package.js b/packages/babel-compiler/package.js index 49a8194e02..00496fb37a 100644 --- a/packages/babel-compiler/package.js +++ b/packages/babel-compiler/package.js @@ -1,7 +1,7 @@ Package.describe({ name: "babel-compiler", summary: "Parser/transpiler for ECMAScript 2015+ syntax", - version: '7.9.0-rc270.0' + version: '7.9.0-rc270.3' }); Npm.depends({ diff --git a/packages/ecmascript/package.js b/packages/ecmascript/package.js index cae7387c16..e77cd79579 100644 --- a/packages/ecmascript/package.js +++ b/packages/ecmascript/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'ecmascript', - version: '0.16.2-rc270.0', + version: '0.16.2-rc270.3', summary: 'Compiler plugin that supports ES2015+ in all .js files', documentation: 'README.md', }); diff --git a/packages/ejson/package.js b/packages/ejson/package.js index 947281ac3a..b6b0f4af9e 100644 --- a/packages/ejson/package.js +++ b/packages/ejson/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Extended and Extensible JSON library', - version: '1.1.2-rc270.0' + version: '1.1.2-rc270.3' }); Package.onUse(function onUse(api) { diff --git a/packages/email/package.js b/packages/email/package.js index e3ed53b22d..eddaa356b9 100644 --- a/packages/email/package.js +++ b/packages/email/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Send email messages', - version: '2.2.1-rc270.0', + version: '2.2.1-rc270.3', }); Npm.depends({ diff --git a/packages/facebook-oauth/package.js b/packages/facebook-oauth/package.js index cad4ac7599..eb7b04af3a 100644 --- a/packages/facebook-oauth/package.js +++ b/packages/facebook-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Facebook OAuth flow", - version: "1.11.0-rc270.0" + version: "1.11.0-rc270.3" }); Package.onUse(api => { diff --git a/packages/github-oauth/package.js b/packages/github-oauth/package.js index 53783276d7..d9e3bedde7 100644 --- a/packages/github-oauth/package.js +++ b/packages/github-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'GitHub OAuth flow', - version: '1.4.0-rc270.0' + version: '1.4.0-rc270.3' }); Package.onUse(api => { diff --git a/packages/google-oauth/package.js b/packages/google-oauth/package.js index 55f596f860..022daf2bf0 100644 --- a/packages/google-oauth/package.js +++ b/packages/google-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Google OAuth flow", - version: "1.4.2-rc270.0", + version: "1.4.2-rc270.3", }); Cordova.depends({ diff --git a/packages/meteor-tool/package.js b/packages/meteor-tool/package.js index 0a57e1089a..411388a5ac 100644 --- a/packages/meteor-tool/package.js +++ b/packages/meteor-tool/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'The Meteor command-line tool', - version: '2.7.0-rc.0', + version: '2.7.0-rc.3', }); Package.includeTool(); diff --git a/packages/modules-runtime/package.js b/packages/modules-runtime/package.js index c61c0e9e5c..c7b684c24e 100644 --- a/packages/modules-runtime/package.js +++ b/packages/modules-runtime/package.js @@ -1,6 +1,6 @@ Package.describe({ name: "modules-runtime", - version: "0.13.0-rc270.0", + version: "0.13.0-rc270.3", summary: "CommonJS module system", git: "https://github.com/benjamn/install", documentation: "README.md" diff --git a/packages/non-core/mongo-decimal/package.js b/packages/non-core/mongo-decimal/package.js index f7d14c5f1e..edb55e4101 100644 --- a/packages/non-core/mongo-decimal/package.js +++ b/packages/non-core/mongo-decimal/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "JS simulation of MongoDB Decimal128 type", - version: '0.1.3-rc270.0' + version: '0.1.3-rc270.3' }); Npm.depends({ diff --git a/packages/react-fast-refresh/package.js b/packages/react-fast-refresh/package.js index 30018de616..090d1115b2 100644 --- a/packages/react-fast-refresh/package.js +++ b/packages/react-fast-refresh/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'react-fast-refresh', - version: '0.2.3-rc270.0', + version: '0.2.3-rc270.3', summary: 'Automatically update React components with HMR', documentation: 'README.md', devOnly: true, diff --git a/packages/standard-minifier-css/package.js b/packages/standard-minifier-css/package.js index d03f10deec..6355866043 100644 --- a/packages/standard-minifier-css/package.js +++ b/packages/standard-minifier-css/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'standard-minifier-css', - version: '1.8.0-rc270.0', + version: '1.8.0-rc270.3', summary: 'Standard css minifier used with Meteor apps by default.', documentation: 'README.md' }); diff --git a/packages/typescript/package.js b/packages/typescript/package.js index 1230a28ba2..a033969456 100644 --- a/packages/typescript/package.js +++ b/packages/typescript/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'typescript', - version: '4.5.4-rc270.0', + version: '4.5.4-rc270.3', summary: 'Compiler plugin that compiles TypeScript and ECMAScript in .ts and .tsx files', documentation: 'README.md', diff --git a/scripts/admin/meteor-release-experimental.json b/scripts/admin/meteor-release-experimental.json index 985f716d2e..f69af62a4b 100644 --- a/scripts/admin/meteor-release-experimental.json +++ b/scripts/admin/meteor-release-experimental.json @@ -1,6 +1,6 @@ { "track": "METEOR", - "version": "2.7-rc.0", + "version": "2.7-rc.3", "recommended": false, "official": false, "description": "Meteor experimental release" diff --git a/tools/static-assets/skel-apollo/package.json b/tools/static-assets/skel-apollo/package.json index 1d1493e1bf..fef5cb3f88 100644 --- a/tools/static-assets/skel-apollo/package.json +++ b/tools/static-assets/skel-apollo/package.json @@ -13,7 +13,7 @@ "apollo-server-express": "^3.4.0", "express": "^4.17.1", "graphql": "^15.6.1", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-react/package.json b/tools/static-assets/skel-react/package.json index 1aa8b27582..007190f4b2 100644 --- a/tools/static-assets/skel-react/package.json +++ b/tools/static-assets/skel-react/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-svelte/package.json b/tools/static-assets/skel-svelte/package.json index 35f25c03eb..690a805d96 100644 --- a/tools/static-assets/skel-svelte/package.json +++ b/tools/static-assets/skel-svelte/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "svelte": "^3.46.4" }, "meteor": { diff --git a/tools/static-assets/skel-typescript/package.json b/tools/static-assets/skel-typescript/package.json index 1ac6d99cf7..53e072074c 100644 --- a/tools/static-assets/skel-typescript/package.json +++ b/tools/static-assets/skel-typescript/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-vue/package.json b/tools/static-assets/skel-vue/package.json index fc96de9d3a..e9672bd47b 100644 --- a/tools/static-assets/skel-vue/package.json +++ b/tools/static-assets/skel-vue/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "vue": "^2.6.14", "vue-meteor-tracker": "^2.0.0-beta.5" }, diff --git a/tools/tests/apps/app-config/package.json b/tools/tests/apps/app-config/package.json index b5bec7623f..339371d038 100644 --- a/tools/tests/apps/app-config/package.json +++ b/tools/tests/apps/app-config/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "puppeteer": "^2.1.1" }, "meteor": { diff --git a/tools/tests/apps/dynamic-import/package.json b/tools/tests/apps/dynamic-import/package.json index d7c922bd8e..4aafbb1ecb 100644 --- a/tools/tests/apps/dynamic-import/package.json +++ b/tools/tests/apps/dynamic-import/package.json @@ -10,7 +10,7 @@ "acorn": "^7.4.1", "arson": "^0.2.6", "jquery": "^3.6.0", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "moment": "^2.29.1", "optimism": "^0.11.5", "private": "^0.1.8", diff --git a/tools/tests/apps/ecmascript-regression/package.json b/tools/tests/apps/ecmascript-regression/package.json index 7d3b6a6aeb..f1aa6cb08f 100644 --- a/tools/tests/apps/ecmascript-regression/package.json +++ b/tools/tests/apps/ecmascript-regression/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "puppeteer": "^10.4.0", "react": "^17.0.2", "react-dom": "^17.0.2" diff --git a/tools/tests/apps/git-commit-hash/package.json b/tools/tests/apps/git-commit-hash/package.json index 084fda1a06..abb03c90be 100644 --- a/tools/tests/apps/git-commit-hash/package.json +++ b/tools/tests/apps/git-commit-hash/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0", + "meteor-node-stubs": "^1.2.0", "puppeteer": "^2.1.1" }, "meteor": { From 96cc8fa6df2d4406c42bbc4b49d1946098fc37f3 Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Thu, 17 Mar 2022 18:31:53 -0300 Subject: [PATCH 06/10] Update changelog and fix missing dependencies. --- npm-packages/meteor-node-stubs/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/npm-packages/meteor-node-stubs/CHANGELOG.md b/npm-packages/meteor-node-stubs/CHANGELOG.md index 2395fde93c..8e02fcc3d8 100644 --- a/npm-packages/meteor-node-stubs/CHANGELOG.md +++ b/npm-packages/meteor-node-stubs/CHANGELOG.md @@ -1,3 +1,11 @@ +v1.2.1 - 2022-03-17 + +* Fix the missing dependencies. + +v1.2.0 - 2022-03-11 + +* Adds support for [node: imports](https://nodejs.org/api/esm.html#node-imports). + v1.1.0 - 2021-07-19 * Updated dependencies to their latest versions From bcc2f12b186581aacd0f999c73a4ed1fe10326f6 Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Thu, 17 Mar 2022 18:33:11 -0300 Subject: [PATCH 07/10] Bump packages for release meteor-node-stubs. --- npm-packages/meteor-node-stubs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm-packages/meteor-node-stubs/package.json b/npm-packages/meteor-node-stubs/package.json index 498a10b96f..8b1f319e4b 100644 --- a/npm-packages/meteor-node-stubs/package.json +++ b/npm-packages/meteor-node-stubs/package.json @@ -2,7 +2,7 @@ "name": "meteor-node-stubs", "author": "Ben Newman ", "description": "Stub implementations of Node built-in modules, a la Browserify", - "version": "1.2.0", + "version": "1.2.1", "main": "index.js", "license": "MIT", "scripts": { From 721982fbe4f1b664c8d1009eb35e20da2f6c2940 Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Thu, 17 Mar 2022 18:33:47 -0300 Subject: [PATCH 08/10] Bump packages for release meteor-node-stubs. --- npm-packages/meteor-node-stubs/package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm-packages/meteor-node-stubs/package-lock.json b/npm-packages/meteor-node-stubs/package-lock.json index 2ca2038aee..9ba6d7dc29 100644 --- a/npm-packages/meteor-node-stubs/package-lock.json +++ b/npm-packages/meteor-node-stubs/package-lock.json @@ -1,6 +1,6 @@ { "name": "meteor-node-stubs", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 1, "requires": true, "dependencies": { From 560707824a3caea2b3d1f4f6d99aca5e694320df Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Thu, 17 Mar 2022 18:52:26 -0300 Subject: [PATCH 09/10] Bump packages for release --- docs/history.md | 4 ++-- packages/accounts-2fa/package.js | 2 +- packages/accounts-base/package.js | 2 +- packages/accounts-oauth/package.js | 2 +- packages/accounts-password/package.js | 2 +- packages/accounts-passwordless/package.js | 2 +- packages/accounts-ui-unstyled/package.js | 2 +- packages/babel-compiler/package.js | 2 +- packages/ecmascript/package.js | 2 +- packages/ejson/package.js | 2 +- packages/email/package.js | 2 +- packages/facebook-oauth/package.js | 2 +- packages/github-oauth/package.js | 2 +- packages/google-oauth/package.js | 2 +- packages/meteor-tool/package.js | 2 +- packages/modules-runtime/package.js | 2 +- packages/non-core/mongo-decimal/package.js | 2 +- packages/react-fast-refresh/package.js | 2 +- packages/standard-minifier-css/package.js | 2 +- packages/typescript/package.js | 2 +- scripts/admin/meteor-release-experimental.json | 2 +- tools/static-assets/skel-apollo/package.json | 2 +- tools/static-assets/skel-bare/package.json | 2 +- tools/static-assets/skel-blaze/package.json | 2 +- tools/static-assets/skel-full/package.json | 2 +- tools/static-assets/skel-minimal/package.json | 2 +- tools/static-assets/skel-react/package.json | 2 +- tools/static-assets/skel-svelte/package.json | 2 +- tools/static-assets/skel-typescript/package.json | 2 +- tools/static-assets/skel-vue/package.json | 2 +- tools/tests/apps/app-config/package.json | 2 +- tools/tests/apps/app-prints-pid/package.json | 2 +- tools/tests/apps/client-refresh/package.json | 2 +- tools/tests/apps/css-injection-test/package.json | 2 +- tools/tests/apps/custom-minifier/package.json | 2 +- tools/tests/apps/dev-bundle-bin-commands/package.json | 2 +- tools/tests/apps/dynamic-import/package.json | 2 +- tools/tests/apps/ecmascript-regression/package.json | 2 +- tools/tests/apps/git-commit-hash/package.json | 2 +- tools/tests/apps/link-config-npm-package/package.json | 2 +- tools/tests/apps/linked-external-npm-package/package.json | 2 +- tools/tests/apps/meteor-ignore/package.json | 2 +- tools/tests/apps/shell/package.json | 2 +- tools/tests/apps/standard-app/package.json | 2 +- 44 files changed, 45 insertions(+), 45 deletions(-) diff --git a/docs/history.md b/docs/history.md index fa6743ebc9..342082cd0b 100644 --- a/docs/history.md +++ b/docs/history.md @@ -6,7 +6,7 @@ * New core package: `accounts-2fa` * Support for 2FA in `accounts-password` and `accounts-passwordless` * PostCSS's plugins are run by `standard-minifier-css` if the app has PostCSS configured -* App skeletons and test packages were updated to `meteor-node-stubs@1.2.0` +* App skeletons and test packages were updated to `meteor-node-stubs@1.2.1` #### Breaking Changes @@ -81,7 +81,7 @@ Read our [Migration Guide](https://guide.meteor.com/2.7-migration.html) for this * `modules-runtime@0.13.0` - Fix some npm modules being imported as an empty object. [PR](https://github.com/meteor/meteor/pull/11954), [Issue 1](https://github.com/meteor/meteor/issues/11900), [Issue 2](https://github.com/meteor/meteor/issues/11853). -* `meteor-node-stubs@1.2` +* `meteor-node-stubs@1.2.1` - Adds support for [node:](https://nodejs.org/api/esm.html#node-imports) imports. #### Independent Releases diff --git a/packages/accounts-2fa/package.js b/packages/accounts-2fa/package.js index f99bb2c911..c20def2c9a 100644 --- a/packages/accounts-2fa/package.js +++ b/packages/accounts-2fa/package.js @@ -1,5 +1,5 @@ Package.describe({ - version: '1.0.0-rc270.3', + version: '1.0.0-rc270.4', summary: 'Package used to enable two factor authentication through OTP protocol', }); diff --git a/packages/accounts-base/package.js b/packages/accounts-base/package.js index 24c24f0a43..5887620de1 100644 --- a/packages/accounts-base/package.js +++ b/packages/accounts-base/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'A user account system', - version: '2.2.2-rc270.3', + version: '2.2.2-rc270.4', }); Package.onUse(api => { diff --git a/packages/accounts-oauth/package.js b/packages/accounts-oauth/package.js index 0b653c6ea2..2bea8bd0aa 100644 --- a/packages/accounts-oauth/package.js +++ b/packages/accounts-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Common code for OAuth-based login services", - version: "1.4.1-rc270.3", + version: "1.4.1-rc270.4", }); Package.onUse(api => { diff --git a/packages/accounts-password/package.js b/packages/accounts-password/package.js index cca67d592f..21951fc137 100644 --- a/packages/accounts-password/package.js +++ b/packages/accounts-password/package.js @@ -5,7 +5,7 @@ Package.describe({ // 2.2.x in the future. The version was also bumped to 2.0.0 temporarily // during the Meteor 1.5.1 release process, so versions 2.0.0-beta.2 // through -beta.5 and -rc.0 have already been published. - version: '2.3.0-rc270.3', + version: '2.3.0-rc270.4', }); Npm.depends({ diff --git a/packages/accounts-passwordless/package.js b/packages/accounts-passwordless/package.js index f17c8a809d..aef23314ad 100644 --- a/packages/accounts-passwordless/package.js +++ b/packages/accounts-passwordless/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'No-password login/sign-up support for accounts', - version: '2.1.0-rc270.3', + version: '2.1.0-rc270.4', }); Package.onUse(api => { diff --git a/packages/accounts-ui-unstyled/package.js b/packages/accounts-ui-unstyled/package.js index 16987ed814..9a1f458553 100644 --- a/packages/accounts-ui-unstyled/package.js +++ b/packages/accounts-ui-unstyled/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Unstyled version of login widgets', - version: '1.7.0-rc270.3', + version: '1.7.0-rc270.4', }); Package.onUse(function(api) { diff --git a/packages/babel-compiler/package.js b/packages/babel-compiler/package.js index 00496fb37a..51c808f04f 100644 --- a/packages/babel-compiler/package.js +++ b/packages/babel-compiler/package.js @@ -1,7 +1,7 @@ Package.describe({ name: "babel-compiler", summary: "Parser/transpiler for ECMAScript 2015+ syntax", - version: '7.9.0-rc270.3' + version: '7.9.0-rc270.4' }); Npm.depends({ diff --git a/packages/ecmascript/package.js b/packages/ecmascript/package.js index e77cd79579..22b6ef5399 100644 --- a/packages/ecmascript/package.js +++ b/packages/ecmascript/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'ecmascript', - version: '0.16.2-rc270.3', + version: '0.16.2-rc270.4', summary: 'Compiler plugin that supports ES2015+ in all .js files', documentation: 'README.md', }); diff --git a/packages/ejson/package.js b/packages/ejson/package.js index b6b0f4af9e..39da923aee 100644 --- a/packages/ejson/package.js +++ b/packages/ejson/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Extended and Extensible JSON library', - version: '1.1.2-rc270.3' + version: '1.1.2-rc270.4' }); Package.onUse(function onUse(api) { diff --git a/packages/email/package.js b/packages/email/package.js index eddaa356b9..712a6a13d3 100644 --- a/packages/email/package.js +++ b/packages/email/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'Send email messages', - version: '2.2.1-rc270.3', + version: '2.2.1-rc270.4', }); Npm.depends({ diff --git a/packages/facebook-oauth/package.js b/packages/facebook-oauth/package.js index eb7b04af3a..a8580c25c5 100644 --- a/packages/facebook-oauth/package.js +++ b/packages/facebook-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Facebook OAuth flow", - version: "1.11.0-rc270.3" + version: "1.11.0-rc270.4" }); Package.onUse(api => { diff --git a/packages/github-oauth/package.js b/packages/github-oauth/package.js index d9e3bedde7..7db22351fd 100644 --- a/packages/github-oauth/package.js +++ b/packages/github-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'GitHub OAuth flow', - version: '1.4.0-rc270.3' + version: '1.4.0-rc270.4' }); Package.onUse(api => { diff --git a/packages/google-oauth/package.js b/packages/google-oauth/package.js index 022daf2bf0..5335bdc114 100644 --- a/packages/google-oauth/package.js +++ b/packages/google-oauth/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "Google OAuth flow", - version: "1.4.2-rc270.3", + version: "1.4.2-rc270.4", }); Cordova.depends({ diff --git a/packages/meteor-tool/package.js b/packages/meteor-tool/package.js index 411388a5ac..88b789edde 100644 --- a/packages/meteor-tool/package.js +++ b/packages/meteor-tool/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: 'The Meteor command-line tool', - version: '2.7.0-rc.3', + version: '2.7.0-rc.4', }); Package.includeTool(); diff --git a/packages/modules-runtime/package.js b/packages/modules-runtime/package.js index c7b684c24e..50bd88382e 100644 --- a/packages/modules-runtime/package.js +++ b/packages/modules-runtime/package.js @@ -1,6 +1,6 @@ Package.describe({ name: "modules-runtime", - version: "0.13.0-rc270.3", + version: "0.13.0-rc270.4", summary: "CommonJS module system", git: "https://github.com/benjamn/install", documentation: "README.md" diff --git a/packages/non-core/mongo-decimal/package.js b/packages/non-core/mongo-decimal/package.js index edb55e4101..54379d618b 100644 --- a/packages/non-core/mongo-decimal/package.js +++ b/packages/non-core/mongo-decimal/package.js @@ -1,6 +1,6 @@ Package.describe({ summary: "JS simulation of MongoDB Decimal128 type", - version: '0.1.3-rc270.3' + version: '0.1.3-rc270.4' }); Npm.depends({ diff --git a/packages/react-fast-refresh/package.js b/packages/react-fast-refresh/package.js index 090d1115b2..4bd3e78171 100644 --- a/packages/react-fast-refresh/package.js +++ b/packages/react-fast-refresh/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'react-fast-refresh', - version: '0.2.3-rc270.3', + version: '0.2.3-rc270.4', summary: 'Automatically update React components with HMR', documentation: 'README.md', devOnly: true, diff --git a/packages/standard-minifier-css/package.js b/packages/standard-minifier-css/package.js index 6355866043..965a28bc2f 100644 --- a/packages/standard-minifier-css/package.js +++ b/packages/standard-minifier-css/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'standard-minifier-css', - version: '1.8.0-rc270.3', + version: '1.8.0-rc270.4', summary: 'Standard css minifier used with Meteor apps by default.', documentation: 'README.md' }); diff --git a/packages/typescript/package.js b/packages/typescript/package.js index a033969456..20433a4457 100644 --- a/packages/typescript/package.js +++ b/packages/typescript/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'typescript', - version: '4.5.4-rc270.3', + version: '4.5.4-rc270.4', summary: 'Compiler plugin that compiles TypeScript and ECMAScript in .ts and .tsx files', documentation: 'README.md', diff --git a/scripts/admin/meteor-release-experimental.json b/scripts/admin/meteor-release-experimental.json index f69af62a4b..6960eb5e68 100644 --- a/scripts/admin/meteor-release-experimental.json +++ b/scripts/admin/meteor-release-experimental.json @@ -1,6 +1,6 @@ { "track": "METEOR", - "version": "2.7-rc.3", + "version": "2.7-rc.4", "recommended": false, "official": false, "description": "Meteor experimental release" diff --git a/tools/static-assets/skel-apollo/package.json b/tools/static-assets/skel-apollo/package.json index fef5cb3f88..49785d902c 100644 --- a/tools/static-assets/skel-apollo/package.json +++ b/tools/static-assets/skel-apollo/package.json @@ -13,7 +13,7 @@ "apollo-server-express": "^3.4.0", "express": "^4.17.1", "graphql": "^15.6.1", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-bare/package.json b/tools/static-assets/skel-bare/package.json index b4e15c22e1..5ff63f9f6d 100644 --- a/tools/static-assets/skel-bare/package.json +++ b/tools/static-assets/skel-bare/package.json @@ -6,6 +6,6 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" } } diff --git a/tools/static-assets/skel-blaze/package.json b/tools/static-assets/skel-blaze/package.json index 35b6171709..608de4d0dd 100644 --- a/tools/static-assets/skel-blaze/package.json +++ b/tools/static-assets/skel-blaze/package.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "jquery": "^3.6.0", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/static-assets/skel-full/package.json b/tools/static-assets/skel-full/package.json index a2451a40b1..ab6dcbf16a 100644 --- a/tools/static-assets/skel-full/package.json +++ b/tools/static-assets/skel-full/package.json @@ -8,7 +8,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "jquery": "^3.6.0", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "devDependencies": { "chai": "^4.2.0" diff --git a/tools/static-assets/skel-minimal/package.json b/tools/static-assets/skel-minimal/package.json index a75e516c9d..6da65df5f7 100644 --- a/tools/static-assets/skel-minimal/package.json +++ b/tools/static-assets/skel-minimal/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/static-assets/skel-react/package.json b/tools/static-assets/skel-react/package.json index 007190f4b2..0fd957c205 100644 --- a/tools/static-assets/skel-react/package.json +++ b/tools/static-assets/skel-react/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-svelte/package.json b/tools/static-assets/skel-svelte/package.json index 690a805d96..0b01f082b4 100644 --- a/tools/static-assets/skel-svelte/package.json +++ b/tools/static-assets/skel-svelte/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "svelte": "^3.46.4" }, "meteor": { diff --git a/tools/static-assets/skel-typescript/package.json b/tools/static-assets/skel-typescript/package.json index 53e072074c..58e94e3979 100644 --- a/tools/static-assets/skel-typescript/package.json +++ b/tools/static-assets/skel-typescript/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/tools/static-assets/skel-vue/package.json b/tools/static-assets/skel-vue/package.json index e9672bd47b..bb67461dcb 100644 --- a/tools/static-assets/skel-vue/package.json +++ b/tools/static-assets/skel-vue/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "vue": "^2.6.14", "vue-meteor-tracker": "^2.0.0-beta.5" }, diff --git a/tools/tests/apps/app-config/package.json b/tools/tests/apps/app-config/package.json index 339371d038..2b8effc1ee 100644 --- a/tools/tests/apps/app-config/package.json +++ b/tools/tests/apps/app-config/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "puppeteer": "^2.1.1" }, "meteor": { diff --git a/tools/tests/apps/app-prints-pid/package.json b/tools/tests/apps/app-prints-pid/package.json index 1e59669c1f..943ed1057c 100644 --- a/tools/tests/apps/app-prints-pid/package.json +++ b/tools/tests/apps/app-prints-pid/package.json @@ -3,7 +3,7 @@ "private": true, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/tests/apps/client-refresh/package.json b/tools/tests/apps/client-refresh/package.json index feb8fe8731..9eda40e787 100644 --- a/tools/tests/apps/client-refresh/package.json +++ b/tools/tests/apps/client-refresh/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/tests/apps/css-injection-test/package.json b/tools/tests/apps/css-injection-test/package.json index ae2b01c67f..488a3ee0a0 100644 --- a/tools/tests/apps/css-injection-test/package.json +++ b/tools/tests/apps/css-injection-test/package.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/runtime": "^7.15.3", "jquery": "^3.5.1", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": "css-injection-test.js" diff --git a/tools/tests/apps/custom-minifier/package.json b/tools/tests/apps/custom-minifier/package.json index b5a8557213..516a6a46f8 100644 --- a/tools/tests/apps/custom-minifier/package.json +++ b/tools/tests/apps/custom-minifier/package.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/runtime": "^7.15.3", "jquery": "^3.6.0", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": "code.js" diff --git a/tools/tests/apps/dev-bundle-bin-commands/package.json b/tools/tests/apps/dev-bundle-bin-commands/package.json index 56ed2f9525..be3fa1339f 100644 --- a/tools/tests/apps/dev-bundle-bin-commands/package.json +++ b/tools/tests/apps/dev-bundle-bin-commands/package.json @@ -8,6 +8,6 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" } } diff --git a/tools/tests/apps/dynamic-import/package.json b/tools/tests/apps/dynamic-import/package.json index 4aafbb1ecb..89040ff1b0 100644 --- a/tools/tests/apps/dynamic-import/package.json +++ b/tools/tests/apps/dynamic-import/package.json @@ -10,7 +10,7 @@ "acorn": "^7.4.1", "arson": "^0.2.6", "jquery": "^3.6.0", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "moment": "^2.29.1", "optimism": "^0.11.5", "private": "^0.1.8", diff --git a/tools/tests/apps/ecmascript-regression/package.json b/tools/tests/apps/ecmascript-regression/package.json index f1aa6cb08f..429361864d 100644 --- a/tools/tests/apps/ecmascript-regression/package.json +++ b/tools/tests/apps/ecmascript-regression/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "puppeteer": "^10.4.0", "react": "^17.0.2", "react-dom": "^17.0.2" diff --git a/tools/tests/apps/git-commit-hash/package.json b/tools/tests/apps/git-commit-hash/package.json index abb03c90be..7e930c76bc 100644 --- a/tools/tests/apps/git-commit-hash/package.json +++ b/tools/tests/apps/git-commit-hash/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.2.0", + "meteor-node-stubs": "^1.2.1", "puppeteer": "^2.1.1" }, "meteor": { diff --git a/tools/tests/apps/link-config-npm-package/package.json b/tools/tests/apps/link-config-npm-package/package.json index d121f76311..4d3eb64624 100644 --- a/tools/tests/apps/link-config-npm-package/package.json +++ b/tools/tests/apps/link-config-npm-package/package.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/runtime": "^7.15.3", "config": "file:../config-package", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/tests/apps/linked-external-npm-package/package.json b/tools/tests/apps/linked-external-npm-package/package.json index 35b73babe4..c942f8d182 100644 --- a/tools/tests/apps/linked-external-npm-package/package.json +++ b/tools/tests/apps/linked-external-npm-package/package.json @@ -10,7 +10,7 @@ "dependencies": { "@babel/runtime": "^7.15.3", "external-package": "file:../external-package", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": { diff --git a/tools/tests/apps/meteor-ignore/package.json b/tools/tests/apps/meteor-ignore/package.json index 34f3902ad2..d181a4bb79 100644 --- a/tools/tests/apps/meteor-ignore/package.json +++ b/tools/tests/apps/meteor-ignore/package.json @@ -6,6 +6,6 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" } } diff --git a/tools/tests/apps/shell/package.json b/tools/tests/apps/shell/package.json index 32c656257e..b09da53f1b 100644 --- a/tools/tests/apps/shell/package.json +++ b/tools/tests/apps/shell/package.json @@ -6,6 +6,6 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" } } diff --git a/tools/tests/apps/standard-app/package.json b/tools/tests/apps/standard-app/package.json index 4c1b2be3c4..c84d4f932e 100644 --- a/tools/tests/apps/standard-app/package.json +++ b/tools/tests/apps/standard-app/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.3", - "meteor-node-stubs": "^1.1.0" + "meteor-node-stubs": "^1.2.1" }, "meteor": { "mainModule": false, From d88520469fbef594e1f11eaf3089f1c4e89e5154 Mon Sep 17 00:00:00 2001 From: Frederico Maia Arantes Date: Fri, 18 Mar 2022 10:55:14 -0300 Subject: [PATCH 10/10] Fix the migration guide. --- guide/source/2.7-migration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/source/2.7-migration.md b/guide/source/2.7-migration.md index 2c8e74f2bb..22bbb4fac8 100644 --- a/guide/source/2.7-migration.md +++ b/guide/source/2.7-migration.md @@ -10,10 +10,10 @@ The above being said, there are a few items that you should do to have the lates

Update meteor-node-stubs

As we added support for [node:](https://nodejs.org/api/esm.html#node-imports) imports, you need to -update `meteor-node-stubs` to its latest version: +update `meteor-node-stubs` to version `1.2.1`: ```bash -meteor npm install meteor-node-stubs@latest +meteor npm install meteor-node-stubs@1.2.1 ```

Support for PostCSS

@@ -27,7 +27,7 @@ meteor add standard-minifier-css There are two differences with `juliancwirko:postcss`: -- The `excludePackages` PostCSS option was renamed to `excludeMeteorPackages` +- The `excludedPackages` PostCSS option was renamed to `excludedMeteorPackages` - Files with the `.import.css` extension are not treated specially > Note: In beta.1 of Meteor 2.7 we had added a new core package `minifier-css-postcss` but later decided to unify everything inside `standard-minifier-css`. So you shouldn't use `minifier-css-postcss`.