mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge remote-tracking branch 'origin/release-3.0' into subscribe-stop-crash
This commit is contained in:
2
meteor
2
meteor
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BUNDLE_VERSION=20.9.0.7
|
||||
BUNDLE_VERSION=20.11.1.1
|
||||
|
||||
|
||||
# OS Check. Put here because here is where we download the precompiled
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const os = require('os');
|
||||
const path = require('path');
|
||||
|
||||
const METEOR_LATEST_VERSION = '2.15';
|
||||
const METEOR_LATEST_VERSION = '3.0-beta.6';
|
||||
const sudoUser = process.env.SUDO_USER || '';
|
||||
function isRoot() {
|
||||
return process.getuid && process.getuid() === 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "meteor",
|
||||
"version": "2.15.0",
|
||||
"version": "3.0.0-beta.6",
|
||||
"description": "Install Meteor",
|
||||
"main": "install.js",
|
||||
"scripts": {
|
||||
@@ -24,7 +24,7 @@
|
||||
"meteor-installer": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "<=14.x",
|
||||
"npm": "<=6.x"
|
||||
"node": "<=20.x",
|
||||
"npm": "<=10.x"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
summary:
|
||||
'Package used to enable two factor authentication through OTP protocol',
|
||||
});
|
||||
|
||||
8
packages/accounts-base/accounts-base.d.ts
vendored
8
packages/accounts-base/accounts-base.d.ts
vendored
@@ -201,12 +201,6 @@ export namespace Accounts {
|
||||
|
||||
function setUsername(userId: string, newUsername: string): void;
|
||||
|
||||
function setPassword(
|
||||
userId: string,
|
||||
newPassword: string,
|
||||
options?: { logout?: boolean | undefined }
|
||||
): void;
|
||||
|
||||
function setPasswordAsync(
|
||||
userId: string,
|
||||
newPassword: string,
|
||||
@@ -346,7 +340,7 @@ export namespace Accounts {
|
||||
* properties `digest` and `algorithm` (in which case we bcrypt
|
||||
* `password.digest`).
|
||||
*/
|
||||
function _checkPassword(
|
||||
function _checkPasswordAsync(
|
||||
user: Meteor.User,
|
||||
password: Password
|
||||
): { userId: string; error?: any };
|
||||
|
||||
@@ -419,14 +419,14 @@ export class AccountsCommon {
|
||||
|
||||
/**
|
||||
* @summary Get the current user id, or `null` if no user is logged in. A reactive data source.
|
||||
* @locus Anywhere but publish functions
|
||||
* @locus Anywhere
|
||||
* @importFromPackage meteor
|
||||
*/
|
||||
Meteor.userId = () => Accounts.userId();
|
||||
|
||||
/**
|
||||
* @summary Get the current user record, or `null` if no user is logged in. A reactive data source.
|
||||
* @locus Anywhere but publish functions
|
||||
* @locus Anywhere
|
||||
* @importFromPackage meteor
|
||||
* @param {Object} [options]
|
||||
* @param {MongoFieldSpecifier} options.fields Dictionary of fields to return or exclude.
|
||||
@@ -435,7 +435,7 @@ Meteor.user = options => Accounts.user(options);
|
||||
|
||||
/**
|
||||
* @summary Get the current user record, or `null` if no user is logged in. A reactive data source.
|
||||
* @locus Anywhere but publish functions
|
||||
* @locus Anywhere
|
||||
* @importFromPackage meteor
|
||||
* @param {Object} [options]
|
||||
* @param {MongoFieldSpecifier} options.fields Dictionary of fields to return or exclude.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'A user account system',
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Login service for Facebook accounts",
|
||||
version: "1.3.4-beta300.4",
|
||||
version: "1.3.4-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Login service for Github accounts',
|
||||
version: '1.5.1-beta300.4',
|
||||
version: '1.5.1-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Login service for Google accounts",
|
||||
version: "1.4.1-beta300.4",
|
||||
version: "1.4.1-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Login service for Meetup accounts',
|
||||
version: '1.5.1-beta300.4',
|
||||
version: '1.5.1-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Login service for Meteor developer accounts',
|
||||
version: '1.5.1-beta300.4',
|
||||
version: '1.5.1-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Common code for OAuth-based login services",
|
||||
version: "1.4.3-beta300.4",
|
||||
version: "1.4.3-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -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: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -100,11 +100,6 @@ const checkPasswordAsync = async (user, password) => {
|
||||
return result;
|
||||
};
|
||||
|
||||
const checkPassword = (user, password) => {
|
||||
return Promise.await(checkPasswordAsync(user, password));
|
||||
};
|
||||
|
||||
Accounts._checkPassword = checkPassword;
|
||||
Accounts._checkPasswordAsync = checkPasswordAsync;
|
||||
|
||||
///
|
||||
@@ -113,7 +108,7 @@ Accounts._checkPasswordAsync = checkPasswordAsync;
|
||||
|
||||
|
||||
/**
|
||||
* @summary Finds the user with the specified username.
|
||||
* @summary Finds the user asynchronously with the specified username.
|
||||
* First tries to match username case sensitively; if that fails, it
|
||||
* tries case insensitively; but if more than one user matches the case
|
||||
* insensitive search, it returns null.
|
||||
@@ -121,7 +116,7 @@ Accounts._checkPasswordAsync = checkPasswordAsync;
|
||||
* @param {String} username The username to look for
|
||||
* @param {Object} [options]
|
||||
* @param {MongoFieldSpecifier} options.fields Dictionary of fields to return or exclude.
|
||||
* @returns {Object} A user if found, else null
|
||||
* @returns {Promise<Object>} A user if found, else null
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.findUserByUsername =
|
||||
@@ -129,7 +124,7 @@ Accounts.findUserByUsername =
|
||||
await Accounts._findUserByQuery({ username }, options);
|
||||
|
||||
/**
|
||||
* @summary Finds the user with the specified email.
|
||||
* @summary Finds the user asynchronously with the specified email.
|
||||
* First tries to match email case sensitively; if that fails, it
|
||||
* tries case insensitively; but if more than one user matches the case
|
||||
* insensitive search, it returns null.
|
||||
@@ -137,7 +132,7 @@ Accounts.findUserByUsername =
|
||||
* @param {String} email The email address to look for
|
||||
* @param {Object} [options]
|
||||
* @param {MongoFieldSpecifier} options.fields Dictionary of fields to return or exclude.
|
||||
* @returns {Object} A user if found, else null
|
||||
* @returns {Promise<Object>} A user if found, else null
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.findUserByEmail =
|
||||
@@ -224,7 +219,7 @@ Accounts.registerLoginHandler("password", async options => {
|
||||
///
|
||||
|
||||
/**
|
||||
* @summary Change a user's username. Use this instead of updating the
|
||||
* @summary Change a user's username asynchronously. Use this instead of updating the
|
||||
* database directly. The operation will fail if there is an existing user
|
||||
* with a username only differing in case.
|
||||
* @locus Server
|
||||
@@ -356,20 +351,6 @@ Accounts.setPasswordAsync =
|
||||
await Meteor.users.updateAsync({_id: user._id}, update);
|
||||
};
|
||||
|
||||
/**
|
||||
* @summary Forcibly change the password for a user.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to update.
|
||||
* @param {String} newPassword A new password for the user.
|
||||
* @param {Object} [options]
|
||||
* @param {Object} options.logout Logout all current connections with this userId (default: true)
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.setPassword = (userId, newPlaintextPassword, options) => {
|
||||
return Promise.await(Accounts.setPasswordAsync(userId, newPlaintextPassword, options));
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
/// RESETTING VIA EMAIL
|
||||
///
|
||||
@@ -397,13 +378,13 @@ Meteor.methods({forgotPassword: async options => {
|
||||
}});
|
||||
|
||||
/**
|
||||
* @summary Generates a reset token and saves it into the database.
|
||||
* @summary Asynchronously generates a reset token and saves it into the database.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to generate the reset token for.
|
||||
* @param {String} email Which address of the user to generate the reset token for. This address must be in the user's `emails` list. If `null`, defaults to the first email in the list.
|
||||
* @param {String} reason `resetPassword` or `enrollAccount`.
|
||||
* @param {Object} [extraTokenData] Optional additional data to be added into the token record.
|
||||
* @returns {Object} Object with {email, user, token} values.
|
||||
* @returns {Promise<Object>} Promise of an object with {email, user, token} values.
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.generateResetToken =
|
||||
@@ -471,12 +452,12 @@ Accounts.generateResetToken =
|
||||
};
|
||||
|
||||
/**
|
||||
* @summary Generates an e-mail verification token and saves it into the database.
|
||||
* @summary Generates asynchronously an e-mail verification token and saves it into the database.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to generate the e-mail verification token for.
|
||||
* @param {String} email Which address of the user to generate the e-mail verification token for. This address must be in the user's `emails` list. If `null`, defaults to the first unverified email in the list.
|
||||
* @param {Object} [extraTokenData] Optional additional data to be added into the token record.
|
||||
* @returns {Object} Object with {email, user, token} values.
|
||||
* @returns {Promise<Object>} Promise of an object with {email, user, token} values.
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.generateVerificationToken =
|
||||
@@ -536,13 +517,13 @@ Accounts.generateVerificationToken =
|
||||
// to set a new password, without the old password.
|
||||
|
||||
/**
|
||||
* @summary Send an email with a link the user can use to reset their password.
|
||||
* @summary Send an email asynchronously with a link the user can use to reset their password.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to send email to.
|
||||
* @param {String} [email] Optional. Which address of the user's to send the email to. This address must be in the user's `emails` list. Defaults to the first email in the list.
|
||||
* @param {Object} [extraTokenData] Optional additional data to be added into the token record.
|
||||
* @param {Object} [extraParams] Optional additional params to be added to the reset url.
|
||||
* @returns {Object} Object with {email, user, token, url, options} values.
|
||||
* @returns {Promise<Object>} Promise of an object with {email, user, token, url, options} values.
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.sendResetPasswordEmail =
|
||||
@@ -568,13 +549,13 @@ Accounts.sendResetPasswordEmail =
|
||||
// want to use enrollment emails.
|
||||
|
||||
/**
|
||||
* @summary Send an email with a link the user can use to set their initial password.
|
||||
* @summary Send an email asynchronously with a link the user can use to set their initial password.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to send email to.
|
||||
* @param {String} [email] Optional. Which address of the user's to send the email to. This address must be in the user's `emails` list. Defaults to the first email in the list.
|
||||
* @param {Object} [extraTokenData] Optional additional data to be added into the token record.
|
||||
* @param {Object} [extraParams] Optional additional params to be added to the enrollment url.
|
||||
* @returns {Object} Object with {email, user, token, url, options} values.
|
||||
* @returns {Promise<Object>} Promise of an object {email, user, token, url, options} values.
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.sendEnrollmentEmail =
|
||||
@@ -747,14 +728,13 @@ Meteor.methods(
|
||||
// address as verified
|
||||
|
||||
/**
|
||||
* @summary Send an email with a link the user can use verify their email address.
|
||||
* @summary Send an email asynchronously with a link the user can use verify their email address.
|
||||
* @locus Server
|
||||
* @param {String} userId The id of the user to send email to.
|
||||
* @param {String} [email] Optional. Which address of the user's to send the email to. This address must be in the user's `emails` list. Defaults to the first unverified email in the list.
|
||||
* @param {Object} [extraTokenData] Optional additional data to be added into the token record.
|
||||
* @param {Object} [extraParams] Optional additional params to be added to the verification url.
|
||||
*
|
||||
* @returns {Object} Object with {email, user, token, url, options} values.
|
||||
* @returns {Promise<Object>} Promise of an object with {email, user, token, url, options} values.
|
||||
* @importFromPackage accounts-base
|
||||
*/
|
||||
Accounts.sendVerificationEmail =
|
||||
@@ -850,7 +830,7 @@ Meteor.methods(
|
||||
});
|
||||
|
||||
/**
|
||||
* @summary Add an email address for a user. Use this instead of directly
|
||||
* @summary Add an email asynchronously address for a user. Use this instead of directly
|
||||
* updating the database. The operation will fail if there is a different user
|
||||
* with an email only differing in case. If the specified user has an existing
|
||||
* email only differing in case however, we replace it.
|
||||
@@ -950,7 +930,7 @@ Accounts.addEmail =
|
||||
}
|
||||
|
||||
/**
|
||||
* @summary Remove an email address for a user. Use this instead of updating
|
||||
* @summary Remove an email address asynchronously for a user. Use this instead of updating
|
||||
* the database directly.
|
||||
* @locus Server
|
||||
* @param {String} userId The ID of the user to update.
|
||||
@@ -1030,7 +1010,7 @@ Meteor.methods(
|
||||
});
|
||||
|
||||
/**
|
||||
* @summary Creates an user and sends an email if `options.email` is informed.
|
||||
* @summary Creates an user asynchronously and sends an email if `options.email` is informed.
|
||||
* Then if the `sendVerificationEmail` option from the `Accounts` package is
|
||||
* enabled, you'll send a verification email if `options.password` is informed,
|
||||
* otherwise you'll send an enrollment email.
|
||||
@@ -1105,12 +1085,7 @@ Accounts.createUserAsync =
|
||||
// method calling Accounts.createUser could set?
|
||||
//
|
||||
|
||||
Accounts.createUser =
|
||||
!Meteor._isFibersEnabled
|
||||
? Accounts.createUserAsync
|
||||
: (options, callback) =>
|
||||
Promise.await(Accounts.createUserAsync(options, callback));
|
||||
|
||||
Accounts.createUser = Accounts.createUserAsync;
|
||||
|
||||
///
|
||||
/// PASSWORD-SPECIFIC INDEXES ON USERS
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'No-password login/sign-up support for accounts',
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Login service for Twitter accounts",
|
||||
version: "1.5.1-beta300.4",
|
||||
version: "1.5.1-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Unstyled version of login widgets',
|
||||
version: '1.7.1-beta300.4',
|
||||
version: '1.7.1-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Simple templates to add login widgets to an app",
|
||||
version: "1.4.3-beta300.4",
|
||||
version: "1.4.3-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Login service for Sina Weibo accounts",
|
||||
version: "1.4.1-beta300.4",
|
||||
version: "1.4.1-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'allow-deny',
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
// Brief, one-line summary of the package.
|
||||
summary: 'Implements functionality for allow/deny and client-side db operations',
|
||||
// URL to the Git repository containing the source code for this package.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Try to detect inadequate input sanitization",
|
||||
version: '1.0.8-beta300.4'
|
||||
version: '1.0.8-beta300.6'
|
||||
});
|
||||
|
||||
// This package is empty; its presence is detected by livedata.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "(For prototyping only) Publish the entire database to all clients",
|
||||
version: '1.0.8-beta300.4'
|
||||
version: '1.0.8-beta300.6'
|
||||
});
|
||||
|
||||
// This package is empty; its presence is detected by several other packages
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Update the client when new client code is available',
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Package.describe({
|
||||
name: "babel-compiler",
|
||||
summary: "Parser/transpiler for ECMAScript 2015+ syntax",
|
||||
version: '7.11.0-beta300.4',
|
||||
version: '7.11.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Package.describe({
|
||||
name: "babel-runtime",
|
||||
summary: "Runtime support for output of Babel transpiler",
|
||||
version: '1.5.2-beta300.4',
|
||||
version: '1.5.2-beta300.6',
|
||||
documentation: 'README.md'
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Base64 encoding and decoding",
|
||||
version: '1.0.13-beta300.4',
|
||||
version: '1.0.13-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Binary Heap datastructure implementation",
|
||||
version: '1.0.12-beta300.4'
|
||||
version: '1.0.12-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -2,7 +2,7 @@ Package.describe({
|
||||
// These tests are in a separate package so that we can Npm.depend on
|
||||
// parse5, a html parsing library.
|
||||
summary: "Tests for the boilerplate-generator package",
|
||||
version: '1.5.2-beta300.4',
|
||||
version: '1.5.2-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Generates the boilerplate html from program's manifest",
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Common code for browser-policy packages",
|
||||
version: '1.0.13-beta300.4',
|
||||
version: '1.0.13-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Configure content security policies",
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Restrict which websites can frame your app",
|
||||
version: '1.1.3-beta300.4'
|
||||
version: '1.1.3-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Configure security policies enforced by the browser",
|
||||
version: '1.1.3-beta300.4'
|
||||
version: '1.1.3-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -324,7 +324,7 @@ CachingCompiler = class CachingCompiler extends CachingCompilerBase {
|
||||
} else {
|
||||
const result = await getResult();
|
||||
if (result) {
|
||||
this.addCompileResult(inputFile, result);
|
||||
await this.addCompileResult(inputFile, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -166,7 +166,7 @@ extends CachingCompilerBase {
|
||||
} else if (this.isRoot(inputFile)) {
|
||||
const result = await getResult();
|
||||
if (result) {
|
||||
this.addCompileResult(inputFile, result);
|
||||
await this.addCompileResult(inputFile, result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'caching-compiler',
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
summary: 'An easy way to make compiler plugins cache',
|
||||
documentation: 'README.md'
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Register callbacks on a hook",
|
||||
version: '1.6.0-beta300.4',
|
||||
version: '1.6.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Check whether a value matches a pattern',
|
||||
version: '1.3.3-beta300.4',
|
||||
version: '1.3.3-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Given the set of the constraints, picks a satisfying configuration",
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Core runtime to load packages and the app",
|
||||
version: '1.0.0-beta300.4',
|
||||
version: '1.0.0-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Package.describe({
|
||||
summary: "Makes your Cordova application use the Crosswalk WebView \
|
||||
instead of the System WebView on Android",
|
||||
version: '1.7.2-beta300.4',
|
||||
version: '1.7.2-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Meteor's latency-compensated distributed data client",
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Code shared beween ddp-client and ddp-server",
|
||||
version: '1.4.1-beta300.4',
|
||||
version: '1.4.1-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'ddp-rate-limiter',
|
||||
version: '1.2.1-beta300.4',
|
||||
version: '1.2.1-beta300.6',
|
||||
// Brief, one-line summary of the package.
|
||||
summary: 'The DDPRateLimiter allows users to add rate limits to DDP' +
|
||||
' methods and subscriptions.',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Meteor's latency-compensated distributed data server",
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
1
packages/ddp/ddp.d.ts
vendored
1
packages/ddp/ddp.d.ts
vendored
@@ -4,6 +4,7 @@ export namespace DDP {
|
||||
interface DDPStatic {
|
||||
subscribe(name: string, ...rest: any[]): Meteor.SubscriptionHandle;
|
||||
call(method: string, ...parameters: any[]): any;
|
||||
callAsync(method: string, ...parameters: any[]): Promise<any>;
|
||||
apply(method: string, ...parameters: any[]): any;
|
||||
methods(IMeteorMethodsDictionary: any): any;
|
||||
status(): DDPStatus;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Meteor's latency-compensated distributed data framework",
|
||||
version: '1.4.2-beta300.4'
|
||||
version: '1.4.2-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Enable the application cache in the browser",
|
||||
version: '1.2.9-beta300.4',
|
||||
version: '1.2.9-beta300.6',
|
||||
deprecated: true,
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "context",
|
||||
version: '1.0.0-beta300.4',
|
||||
version: '1.0.0-beta300.6',
|
||||
summary: "Manage contextual information without passing objects around",
|
||||
documentation: "README.md",
|
||||
deprecated: 'You should not be needing this package in Meteor 3'
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
Package.describe({
|
||||
summary: "Make HTTP calls to remote servers",
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
deprecated: 'Please use the fetch package'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.use([
|
||||
'url@1.3.2',
|
||||
'ecmascript@0.16.8-beta300.4',
|
||||
'fetch@0.1.4-beta300.4',
|
||||
'modules@0.19.1-beta300.4'
|
||||
'ecmascript@0.16.8-beta300.6',
|
||||
'fetch@0.1.4-beta300.6',
|
||||
'modules@0.19.1-beta300.6'
|
||||
]);
|
||||
|
||||
api.mainModule('httpcall_client.js', 'client');
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
Package.describe({
|
||||
summary: "Markdown-to-HTML processor",
|
||||
version: "3.0.0-beta300.4",
|
||||
version: "3.0.0-beta300.6",
|
||||
deprecated: true,
|
||||
documentation: 'README.md'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.use('ecmascript@0.16.8-beta300.4');
|
||||
api.use('ecmascript@0.16.8-beta300.6');
|
||||
api.use("templating@1.4.2", "client", {weak: true});
|
||||
api.mainModule('template-integration.js', 'client');
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
version: '0.1.3-beta300.4',
|
||||
version: '0.1.3-beta300.6',
|
||||
summary: 'Show build errors in client when using HMR',
|
||||
documentation: 'README.md',
|
||||
devOnly: true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "An implementation of a diff algorithm on arrays and objects.",
|
||||
version: '1.1.3-beta300.4',
|
||||
version: '1.1.3-beta300.6',
|
||||
documentation: null
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Disables oplog tailing",
|
||||
version: '1.0.8-beta300.4'
|
||||
version: '1.0.8-beta300.6'
|
||||
});
|
||||
|
||||
// This package is empty; its presence is detected by mongo-livedata.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "dynamic-import",
|
||||
version: "0.7.4-beta300.4",
|
||||
version: "0.7.4-beta300.6",
|
||||
summary: "Runtime support for Meteor 1.5 dynamic import(...) syntax",
|
||||
documentation: "README.md"
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'ecmascript-runtime-client',
|
||||
version: '0.12.2-beta300.4',
|
||||
version: '0.12.2-beta300.6',
|
||||
summary: 'Polyfills for new ECMAScript 2015 APIs like Map and Set',
|
||||
git:
|
||||
'https://github.com/meteor/meteor/tree/devel/packages/ecmascript-runtime-client',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "ecmascript-runtime-server",
|
||||
version: "0.11.1-beta300.4",
|
||||
version: "0.11.1-beta300.6",
|
||||
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
|
||||
git: "https://github.com/meteor/meteor/tree/devel/packages/ecmascript-runtime-client",
|
||||
documentation: "README.md"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "ecmascript-runtime",
|
||||
version: '0.8.2-beta300.4',
|
||||
version: '0.8.2-beta300.6',
|
||||
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
|
||||
git: "https://github.com/meteor/ecmascript-runtime",
|
||||
documentation: "README.md"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'ecmascript',
|
||||
version: '0.16.8-beta300.4',
|
||||
version: '0.16.8-beta300.6',
|
||||
summary: 'Compiler plugin that supports ES2015+ in all .js files',
|
||||
documentation: 'README.md',
|
||||
});
|
||||
|
||||
@@ -384,11 +384,11 @@ EJSON.fromJSONValue = item => {
|
||||
* @locus Anywhere
|
||||
* @param {EJSON} val A value to stringify.
|
||||
* @param {Object} [options]
|
||||
* @param {Boolean | Integer | String} options.indent Indents objects and
|
||||
* @param {Boolean | Integer | String} [options.indent] Indents objects and
|
||||
* arrays for easy readability. When `true`, indents by 2 spaces; when an
|
||||
* integer, indents by that number of spaces; and when a string, uses the
|
||||
* string as the indentation pattern.
|
||||
* @param {Boolean} options.canonical When `true`, stringifies keys in an
|
||||
* @param {Boolean} [options.canonical] When `true`, stringifies keys in an
|
||||
* object in sorted order.
|
||||
*/
|
||||
EJSON.stringify = handleError((item, options) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Extended and Extensible JSON library',
|
||||
version: '1.1.4-beta300.4',
|
||||
version: '1.1.4-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function onUse(api) {
|
||||
|
||||
6
packages/email/.npm/package/npm-shrinkwrap.json
generated
6
packages/email/.npm/package/npm-shrinkwrap.json
generated
@@ -2,9 +2,9 @@
|
||||
"lockfileVersion": 4,
|
||||
"dependencies": {
|
||||
"@types/node": {
|
||||
"version": "20.11.19",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.19.tgz",
|
||||
"integrity": "sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ=="
|
||||
"version": "20.11.20",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.20.tgz",
|
||||
"integrity": "sha512-7/rR21OS+fq8IyHTgtLkDK949uzsa6n8BkziAKtPVpugIkO6D+/ooXMvzXxDnZrmtXVfjb1bKQafYpb8s89LOg=="
|
||||
},
|
||||
"@types/nodemailer": {
|
||||
"version": "6.4.7",
|
||||
|
||||
@@ -203,7 +203,7 @@ Email.customTransport = undefined;
|
||||
* @locus Server
|
||||
* @return {Promise}
|
||||
* @param {Object} options
|
||||
* @param {String} [options.from] "From:" address (required)
|
||||
* @param {String} options.from "From:" address (required)
|
||||
* @param {String|String[]} options.to,cc,bcc,replyTo
|
||||
* "To:", "Cc:", "Bcc:", and "Reply-To:" addresses
|
||||
* @param {String} [options.inReplyTo] Message-ID this message is replying to
|
||||
@@ -273,7 +273,7 @@ Email.sendAsync = async function (options) {
|
||||
* @locus Server
|
||||
* @return {Promise}
|
||||
* @param {Object} options
|
||||
* @param {String} [options.from] "From:" address (required)
|
||||
* @param {String} options.from "From:" address (required)
|
||||
* @param {String|String[]} options.to,cc,bcc,replyTo
|
||||
* "To:", "Cc:", "Bcc:", and "Reply-To:" addresses
|
||||
* @param {String} [options.inReplyTo] Message-ID this message is replying to
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Send email messages',
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "es5-shim",
|
||||
version: "4.8.1-beta300.4",
|
||||
version: "4.8.1-beta300.6",
|
||||
summary: "Shims and polyfills to improve ECMAScript 5 support",
|
||||
documentation: "README.md"
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Blaze configuration templates for Facebook OAuth.",
|
||||
version: '1.0.4-beta300.4',
|
||||
version: '1.0.4-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Facebook OAuth flow",
|
||||
version: '1.11.3-beta300.4'
|
||||
version: '1.11.3-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Publish internal app statistics",
|
||||
version: '1.0.2-beta300.4',
|
||||
version: '1.0.2-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Display internal app statistics",
|
||||
version: '1.0.2-beta300.4',
|
||||
version: '1.0.2-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "fetch",
|
||||
version: '0.1.4-beta300.4',
|
||||
version: '0.1.4-beta300.6',
|
||||
summary: "Isomorphic modern/legacy/Node polyfill for WHATWG fetch()",
|
||||
documentation: "README.md"
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Internal force-ssl common code.',
|
||||
version: '1.1.1-beta300.4'
|
||||
version: '1.1.1-beta300.6'
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Require this application to use HTTPS",
|
||||
version: "1.1.1-beta300.4",
|
||||
version: "1.1.1-beta300.6",
|
||||
prodOnly: true
|
||||
});
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'GeoJSON utility functions (from https://github.com/maxogden/geojson-js-utils)',
|
||||
version: '1.0.12-beta300.4',
|
||||
version: '1.0.12-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Blaze configuration templates for GitHub OAuth.',
|
||||
version: '1.0.3-beta300.4',
|
||||
version: '1.0.3-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'GitHub OAuth flow',
|
||||
version: '1.4.2-beta300.4'
|
||||
version: '1.4.2-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Blaze configuration templates for Google OAuth.',
|
||||
version: '1.0.4-beta300.4',
|
||||
version: '1.0.4-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Google OAuth flow",
|
||||
version: "1.4.5-beta300.4",
|
||||
version: "1.4.5-beta300.6",
|
||||
});
|
||||
|
||||
Cordova.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'hot-code-push',
|
||||
version: '1.0.5-beta300.4',
|
||||
version: '1.0.5-beta300.6',
|
||||
// Brief, one-line summary of the package.
|
||||
summary: 'Update the client in place when new code is available.',
|
||||
// URL to the Git repository containing the source code for this package.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'hot-module-replacement',
|
||||
version: '0.5.4-beta300.4',
|
||||
version: '0.5.4-beta300.6',
|
||||
summary: 'Update code in development without reloading the page',
|
||||
documentation: 'README.md',
|
||||
debugOnly: true,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Dictionary data structure allowing non-string keys",
|
||||
version: '1.2.0-beta300.4',
|
||||
version: '1.2.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "(For prototyping only) Allow all database writes from the client",
|
||||
version: '1.0.8-beta300.4'
|
||||
version: '1.0.8-beta300.6'
|
||||
});
|
||||
|
||||
// This package is empty; its presence is detected by mongo-livedata.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: "inter-process-messaging",
|
||||
version: "0.1.2-beta300.4",
|
||||
version: "0.1.2-beta300.6",
|
||||
summary: "Support for sending messages from the build process to the server process",
|
||||
documentation: "README.md"
|
||||
});
|
||||
|
||||
@@ -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.1-beta300.4',
|
||||
version: '1.3.1-beta300.6',
|
||||
});
|
||||
|
||||
Cordova.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Simulates local storage on IE 6,7 using userData",
|
||||
version: "1.2.1-beta300.4",
|
||||
version: "1.2.1-beta300.6",
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Logging facility.',
|
||||
version: '1.3.3-beta300.4',
|
||||
version: '1.3.3-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "General satisfiability solver for logic problems",
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Blaze configuration templates for the Meetup OAuth flow.',
|
||||
version: '1.0.3-beta300.4',
|
||||
version: '1.0.3-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Meetup OAuth flow',
|
||||
version: '1.1.3-beta300.4'
|
||||
version: '1.1.3-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'meteor-base',
|
||||
version: '1.5.2-beta300.4',
|
||||
version: '1.5.2-beta300.6',
|
||||
// Brief, one-line summary of the package.
|
||||
summary: 'Packages that every Meteor app needs',
|
||||
// By default, Meteor will default to using README.md for documentation.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Blaze configuration templates for the Meteor developer accounts OAuth.',
|
||||
version: '1.0.3-beta300.4',
|
||||
version: '1.0.3-beta300.6',
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'Meteor developer accounts OAuth flow',
|
||||
version: '1.3.3-beta300.4'
|
||||
version: '1.3.3-beta300.6'
|
||||
});
|
||||
|
||||
Package.onUse(api => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'The Meteor command-line tool',
|
||||
version: '3.0.0-beta.4',
|
||||
version: '3.0.0-beta.6',
|
||||
});
|
||||
|
||||
Package.includeTool();
|
||||
|
||||
@@ -44,7 +44,7 @@ class EnvironmentVariableAsync {
|
||||
* @method withValue
|
||||
* @param {any} value The value to set for the duration of the function call
|
||||
* @param {Function} func The function to call with the new value of the
|
||||
* @param {Object} [options] Optional additional options
|
||||
* @param {Object} [options] Optional additional properties for adding in [asl](https://nodejs.org/api/async_context.html#class-asynclocalstorage)
|
||||
* @returns {Promise<any>} The return value of the function
|
||||
*/
|
||||
withValue(value, func, options = {}) {
|
||||
|
||||
@@ -42,23 +42,7 @@ Meteor.makeErrorType = function (name, constructor) {
|
||||
* @param {String} error A string code uniquely identifying this kind of error.
|
||||
* This string should be used by callers of the method to determine the
|
||||
* appropriate action to take, instead of attempting to parse the reason
|
||||
* or details fields. For example:
|
||||
*
|
||||
* ```
|
||||
* // on the server, pick a code unique to this error
|
||||
* // the reason field should be a useful debug message
|
||||
* throw new Meteor.Error("logged-out",
|
||||
* "The user must be logged in to post a comment.");
|
||||
*
|
||||
* // on the client
|
||||
* Meteor.call("methodName", function (error) {
|
||||
* // identify the error
|
||||
* if (error && error.error === "logged-out") {
|
||||
* // show a nice error message
|
||||
* Session.set("errorMessage", "Please log in to post a comment.");
|
||||
* }
|
||||
* });
|
||||
* ```
|
||||
* or details fields.
|
||||
*
|
||||
* For legacy reasons, some built-in Meteor functions such as `check` throw
|
||||
* errors with a number in this field.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Package.describe({
|
||||
summary: "Core Meteor environment",
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Package.registerBuildPlugin({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: 'CSS minifier',
|
||||
version: '2.0.0-beta300.4',
|
||||
version: '2.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
"lockfileVersion": 4,
|
||||
"dependencies": {
|
||||
"@jridgewell/gen-mapping": {
|
||||
"version": "0.3.4",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.4.tgz",
|
||||
"integrity": "sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw=="
|
||||
"version": "0.3.5",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
|
||||
"integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg=="
|
||||
},
|
||||
"@jridgewell/resolve-uri": {
|
||||
"version": "3.1.2",
|
||||
@@ -12,9 +12,9 @@
|
||||
"integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="
|
||||
},
|
||||
"@jridgewell/set-array": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
|
||||
"integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw=="
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
|
||||
"integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A=="
|
||||
},
|
||||
"@jridgewell/source-map": {
|
||||
"version": "0.3.5",
|
||||
@@ -27,9 +27,9 @@
|
||||
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
|
||||
},
|
||||
"@jridgewell/trace-mapping": {
|
||||
"version": "0.3.23",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.23.tgz",
|
||||
"integrity": "sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg=="
|
||||
"version": "0.3.25",
|
||||
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
|
||||
"integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ=="
|
||||
},
|
||||
"acorn": {
|
||||
"version": "8.11.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "JavaScript minifier",
|
||||
version: '3.0.0-beta300.4',
|
||||
version: '3.0.0-beta300.6',
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
|
||||
@@ -216,6 +216,16 @@ export default class Cursor {
|
||||
return LocalCollection._observeFromObserveChanges(this, options);
|
||||
}
|
||||
|
||||
/**
|
||||
* @summary observe async version
|
||||
* @locus Anywhere
|
||||
* @memberOf Promise<Mongo.Cursor>
|
||||
* @instance
|
||||
*/
|
||||
observeAsync(options) {
|
||||
return new Promise(resolve => resolve(this.observe(options)));
|
||||
}
|
||||
|
||||
/**
|
||||
* @summary Watch a query. Receive callbacks as the result set changes. Only
|
||||
* the differences between the old and new documents are passed to
|
||||
@@ -373,6 +383,19 @@ export default class Cursor {
|
||||
return handle;
|
||||
}
|
||||
|
||||
/**
|
||||
* @summary observeChanges async version
|
||||
* @locus Anywhere
|
||||
* @memberOf Promise<Mongo.Cursor>
|
||||
* @instance
|
||||
*/
|
||||
observeChangesAsync(options) {
|
||||
return new Promise((resolve) => {
|
||||
const handle = this.observeChanges(options);
|
||||
handle.isReadyPromise.then(() => resolve(handle));
|
||||
});
|
||||
}
|
||||
|
||||
// XXX Maybe we need a version of observe that just calls a callback if
|
||||
// anything changed.
|
||||
_depend(changers, _allow_unordered) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user