Merge remote-tracking branch 'origin/release-3.0' into connect-clean-up

This commit is contained in:
filipenevola
2023-10-22 19:49:16 -04:00
203 changed files with 3943 additions and 5650 deletions

View File

@@ -1,6 +1,8 @@
language: node_js
os: linux
dist: jammy
sudo: required
services: xvfb
node_js:
- "18.16.0"
cache:

View File

@@ -367,6 +367,7 @@
- Async local storage was added to help deal with async methods.
- Added `promiseEmmiter` to help with async methods.
- Removed `fibers` from package.
- `Meteor.absoluteUrl` in localhost uses `127.0.1` by default.
- `minifier-css@2.0.0`:

View File

@@ -379,6 +379,7 @@
- Async local storage was added to help deal with async methods.
- Added `promiseEmmiter` to help with async methods.
- Removed `fibers` from package.
- `Meteor.absoluteUrl` in localhost uses `127.0.1` by default.
- `minifier-css@2.0.0`:
@@ -737,6 +738,11 @@ If you are running Meteor with docker you will
need to update your docker file to use our [new docker image](https://hub.docker.com/r/meteor/node)
that contains Nodejs v14.21.4.
#### Known issues
Please, [check our known issues page](https://docs.meteor.com/known-issues)
for more information about the problems and issues you might find while migrating.
#### Internal changes
* `ddp-server@3.0.0`:

View File

@@ -1,3 +1,3 @@
[build]
publish = "public"
command = "npm install && npm run build"
command = "npm cache clear --force && npm install --legacy-peer-deps && npm run build"

8304
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,9 +2,9 @@
"lockfileVersion": 4,
"dependencies": {
"@types/node": {
"version": "20.5.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz",
"integrity": "sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg=="
"version": "20.6.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.2.tgz",
"integrity": "sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw=="
},
"@types/notp": {
"version": "2.0.2",

View File

@@ -59,7 +59,7 @@ Meteor.methods({
});
const svg = new QRCode(uri).svg();
await Meteor.users.update(
await Meteor.users.updateAsync(
{ _id: user._id },
{
$set: {
@@ -94,7 +94,7 @@ Meteor.methods({
Accounts._handleError('Invalid 2FA code', true, 'invalid-2fa-code');
}
await Meteor.users.update(
await Meteor.users.updateAsync(
{ _id: user._id },
{
$set: {
@@ -113,7 +113,7 @@ Meteor.methods({
throw new Meteor.Error(400, 'No user logged in.');
}
await Meteor.users.update(
await Meteor.users.updateAsync(
{ _id: userId },
{
$unset: {

View File

@@ -1,5 +1,5 @@
Package.describe({
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
summary:
'Package used to enable two factor authentication through OTP protocol',
});

View File

@@ -1193,6 +1193,7 @@ export class AccountsServer extends AccountsCommon {
let fullUser;
if (this._onCreateUserHook) {
// Allows _onCreateUserHook to be a promise returning func
fullUser = await this._onCreateUserHook(options, user);
// This is *not* part of the API. We need this because we can't isolate

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'A user account system',
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Login service for Facebook accounts",
version: '2.0.0-alpha300.11',
version: "1.3.4-alpha300.15",
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Login service for Github accounts',
version: '2.0.0-alpha300.11',
version: '1.5.1-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Login service for Google accounts",
version: '2.0.0-alpha300.11',
version: "1.4.1-alpha300.15",
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Login service for Meetup accounts',
version: '2.0.0-alpha300.11',
version: '1.5.1-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Login service for Meteor developer accounts',
version: '2.0.0-alpha300.11',
version: '1.5.1-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Common code for OAuth-based login services",
version: '2.0.0-alpha300.11',
version: "1.4.2",
});
Package.onUse(api => {

View File

@@ -193,9 +193,9 @@
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
},
"node-fetch": {
"version": "2.6.13",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz",
"integrity": "sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA=="
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
"integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A=="
},
"nopt": {
"version": "5.0.0",
@@ -268,9 +268,9 @@
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
},
"tar": {
"version": "6.1.15",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz",
"integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A=="
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
"integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ=="
},
"tr46": {
"version": "0.0.3",

View File

@@ -49,9 +49,9 @@ testAsyncMulti("accounts emails - reset password flow", [
}));
},
function (test, expect) {
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
},
function (test, expect) {
@@ -62,9 +62,9 @@ testAsyncMulti("accounts emails - reset password flow", [
}));
},
function (test, expect) {
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
}
]);
@@ -168,40 +168,45 @@ testAsyncMulti("accounts emails - verify email flow", [
{email: this.email, password: 'foobar'},
loggedIn(test, expect));
},
function (test, expect) {
test.equal(Meteor.user().emails.length, 1);
test.equal(Meteor.user().emails[0].address, this.email);
test.isFalse(Meteor.user().emails[0].verified);
async function (test, expect) {
const u = await Meteor.user();
test.equal(u.emails.length, 1);
test.equal(u.emails[0].address, this.email);
test.isFalse(u.emails[0].verified);
// We should NOT be publishing things like verification tokens!
test.isFalse(Object.prototype.hasOwnProperty.call(Meteor.user(), 'services'));
test.isFalse(Object.prototype.hasOwnProperty.call(u, 'services'));
},
function (test, expect) {
getVerifyEmailToken(this.email, test, expect);
},
function (test, expect) {
// Log out, to test that verifyEmail logs us back in.
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
},
function (test, expect) {
Accounts.verifyEmail(verifyEmailToken,
loggedIn(test, expect));
},
function (test, expect) {
test.equal(Meteor.user().emails.length, 1);
test.equal(Meteor.user().emails[0].address, this.email);
test.isTrue(Meteor.user().emails[0].verified);
async function (test, expect) {
const u = await Meteor.user();
test.equal(u.emails.length, 1);
test.equal(u.emails[0].address, this.email);
test.isTrue(u.emails[0].verified);
},
function (test, expect) {
Accounts.connection.call(
"addEmailForTestAndVerify", this.anotherEmail,
expect((error, result) => {
expect(async (error, result) => {
const u = await Meteor.user();
test.isFalse(error);
test.equal(Meteor.user().emails.length, 2);
test.equal(Meteor.user().emails[1].address, this.anotherEmail);
test.isFalse(Meteor.user().emails[1].verified);
test.equal(u.emails.length, 2);
test.equal(u.emails[1].address, this.anotherEmail);
test.isFalse(u.emails[1].verified);
}));
},
function (test, expect) {
@@ -210,9 +215,9 @@ testAsyncMulti("accounts emails - verify email flow", [
function (test, expect) {
// Log out, to test that verifyEmail logs us back in. (And if we don't
// do that, waitUntilLoggedIn won't be able to prevent race conditions.)
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
},
function (test, expect) {
@@ -226,11 +231,12 @@ testAsyncMulti("accounts emails - verify email flow", [
function (test, expect) {
Accounts.connection.call(
"addEmailForTestAndVerify", this.anotherEmailCaps,
expect((error, result) => {
expect(async (error, result) => {
const u = await Meteor.user();
test.isFalse(error);
test.equal(Meteor.user().emails.length, 3);
test.equal(Meteor.user().emails[2].address, this.anotherEmailCaps);
test.isFalse(Meteor.user().emails[2].verified);
test.equal(u.emails.length, 3);
test.equal(u.emails[2].address, this.anotherEmailCaps);
test.isFalse(u.emails[2].verified);
}));
},
function (test, expect) {
@@ -239,23 +245,25 @@ testAsyncMulti("accounts emails - verify email flow", [
function (test, expect) {
// Log out, to test that verifyEmail logs us back in. (And if we don't
// do that, waitUntilLoggedIn won't be able to prevent race conditions.)
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
},
function (test, expect) {
Accounts.verifyEmail(verifyEmailToken,
loggedIn(test, expect));
},
function (test, expect) {
test.equal(Meteor.user().emails[2].address, this.anotherEmailCaps);
test.isTrue(Meteor.user().emails[2].verified);
async function (test, expect) {
const u = await Meteor.user();
test.equal(u.emails[2].address, this.anotherEmailCaps);
test.isTrue(u.emails[2].verified);
},
function (test, expect) {
Meteor.logout(expect((error) => {
Meteor.logout(expect(async (error) => {
test.equal(error, undefined);
test.equal(Meteor.user(), null);
test.equal(await Meteor.user(), null);
}));
}
]);

View File

@@ -44,7 +44,7 @@ Meteor.methods(
addEmailForTestAndVerify:
async email => {
check(email, String);
await Meteor.users.update(
await Meteor.users.updateAsync(
{ _id: Accounts.userId() },
{ $push: { emails: { address: email, verified: false } } });
await Accounts.sendVerificationEmail(Accounts.userId(), email);

View File

@@ -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-alpha300.11',
version: '3.0.0-alpha300.15',
});
Npm.depends({

View File

@@ -700,8 +700,8 @@ if (Meteor.isClient) (() => {
// test Meteor.user(). This test properly belongs in
// accounts-base/accounts_tests.js, but this is where the tests that
// actually log in are.
function (test, expect) {
const clientUser = Meteor.user();
async function (test, expect) {
const clientUser = await Meteor.user();
Accounts.connection.call('testMeteorUser', expect((err, result) => {
test.equal(result._id, clientUser._id);
test.equal(result.username, clientUser.username);

View File

@@ -128,7 +128,7 @@ Meteor.methods(
if (!this.userId) throw new Error("Not logged in!");
await Meteor
.users
.update(this.userId, { $unset: { profile: 1, username: 1 } });
.updateAsync(this.userId, { $unset: { profile: 1, username: 1 } });
},
expireTokens:
@@ -137,6 +137,6 @@ Meteor.methods(
},
removeUser:
async username => await Meteor.users.remove({ "username": username }),
async username => await Meteor.users.removeAsync({ "username": username }),
}
);

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'No-password login/sign-up support for accounts',
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Login service for Twitter accounts",
version: '2.0.0-alpha300.11',
version: "1.5.1-alpha300.15",
});
Package.onUse(api => {
@@ -12,7 +12,7 @@ Package.onUse(api => {
api.use('twitter-oauth');
api.imply('twitter-oauth');
api.use('http@1.0.1', ['client', 'server']);
api.use('http', ['client', 'server']);
api.use(['accounts-ui', 'twitter-config-ui'], ['client', 'server'], { weak: true });
api.addFiles("notice.js");

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Unstyled version of login widgets',
version: '2.0.0-alpha300.11',
version: '1.7.1-alpha300.15',
});
Package.onUse(function(api) {
@@ -10,7 +10,7 @@ Package.onUse(function(api) {
'service-configuration',
'accounts-base',
'ecmascript',
'templating@2.0.0-alpha300.5',
'templating@1.4.1',
'session',
],
'client'

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Simple templates to add login widgets to an app",
version: '2.0.0-alpha300.11',
version: "1.4.3-alpha300.15",
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Login service for Sina Weibo accounts",
version: '2.0.0-alpha300.11',
version: "1.4.1-alpha300.15",
});
Package.onUse(api => {

View File

@@ -193,6 +193,16 @@ CollectionPrototype._defineMutationMethods = function(options) {
return self[validatedMethodName].apply(self, args);
} else if (self._isInsecure()) {
if (generatedId !== null) args[0]._id = generatedId;
// In insecure mode we use the server _collection methods, and these sync methods
// do not exist in the server anymore, so we have this mapper to call the async methods
// instead.
const syncMethodsMapper = {
insert: "insertAsync",
update: "updateAsync",
remove: "removeAsync",
};
// In insecure mode, allow any mutation (with a simple selector).
// XXX This is kind of bogus. Instead of blindly passing whatever
// we get from the network to this function, we should actually
@@ -204,7 +214,7 @@ CollectionPrototype._defineMutationMethods = function(options) {
// invoke it. Bam, broken DDP connection. Probably should just
// take this whole method and write it three times, invoking
// helpers for the common code.
return self._collection[method].apply(self._collection, args);
return self._collection[syncMethodsMapper[method] || method].apply(self._collection, args);
} else {
// In secure mode, if we haven't called allow or deny, then nothing
// is permitted.

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'allow-deny',
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
// 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.

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Enable the application cache in the browser",
version: '2.0.0-alpha300.11',
version: '1.2.9-alpha300.15',
deprecated: true,
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Try to detect inadequate input sanitization",
version: '2.0.0-alpha300.11',
version: '1.0.7'
});
// This package is empty; its presence is detected by livedata.

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "(For prototyping only) Publish the entire database to all clients",
version: '2.0.0-alpha300.11',
version: '1.0.8-alpha300.15'
});
// This package is empty; its presence is detected by several other packages

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Update the client when new client code is available',
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
});
Package.onUse(function(api) {

View File

@@ -1,7 +1,7 @@
Package.describe({
name: "babel-compiler",
summary: "Parser/transpiler for ECMAScript 2015+ syntax",
version: '8.0.0-alpha300.11',
version: '7.11.0-alpha300.15',
});
Npm.depends({

View File

@@ -1,7 +1,7 @@
Package.describe({
name: "babel-runtime",
summary: "Runtime support for output of Babel transpiler",
version: '2.0.0-alpha300.11',
version: '1.5.2-alpha300.15',
documentation: 'README.md'
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Base64 encoding and decoding",
version: '2.0.0-alpha300.11',
version: '1.0.12',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Binary Heap datastructure implementation",
version: '2.0.0-alpha300.11',
version: '1.0.12-alpha300.15'
});
Package.onUse(api => {

View File

@@ -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: '2.0.0-alpha300.11',
version: '1.5.1',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Generates the boilerplate html from program's manifest",
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
});
Npm.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Common code for browser-policy packages",
version: '2.0.0-alpha300.11',
version: '1.0.13-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -300,8 +300,6 @@ _.each(resources, function (resource) {
};
});
// TODO[fibers]: change this when we have TLA
await setDefaultPolicy();
exports.BrowserPolicy = BrowserPolicy;

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Configure content security policies",
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Restrict which websites can frame your app",
version: '2.0.0-alpha300.11',
version: '1.1.2'
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Configure security policies enforced by the browser",
version: '2.0.0-alpha300.11',
version: '1.1.2'
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'caching-compiler',
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
summary: 'An easy way to make compiler plugins cache',
documentation: 'README.md'
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Register callbacks on a hook",
version: '2.0.0-alpha300.11',
version: '1.6.0-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Check whether a value matches a pattern',
version: '2.0.0-alpha300.11',
version: '1.3.3-alpha300.15',
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Given the set of the constraints, picks a satisfying configuration",
version: '2.0.0-alpha300.11',
version: '2.0.0-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1 +0,0 @@
node_modules

View File

@@ -1,7 +0,0 @@
This directory and the files immediately inside it are automatically generated
when you change this package's NPM dependencies. Commit the files in this
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control
so that others run the same versions of sub-dependencies.
You should NOT check in the node_modules directory that Meteor automatically
creates; if you are using git, the .gitignore file tells git to ignore it.

View File

@@ -1,20 +0,0 @@
{
"lockfileVersion": 4,
"dependencies": {
"@types/node": {
"version": "20.5.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz",
"integrity": "sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg=="
},
"@wry/context": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/@wry/context/-/context-0.4.4.tgz",
"integrity": "sha512-LrKVLove/zw6h2Md/KZyWxIkFM6AoyKp71OqpH9Hiip1csjPVoD3tPxlbQUNxEnHENks3UGgNpSBCAfq9KWuag=="
},
"tslib": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
}
}
}

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Core runtime to load packages and the app",
version: '2.0.0-alpha300.11',
version: '1.0.0-alpha300.15',
documentation: null
});

View File

@@ -1,7 +1,7 @@
Package.describe({
summary: "Makes your Cordova application use the Crosswalk WebView \
instead of the System WebView on Android",
version: '2.0.0-alpha300.11',
version: '1.7.1',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Meteor's latency-compensated distributed data client",
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Code shared beween ddp-client and ddp-server",
version: '2.0.0-alpha300.11',
version: '1.4.1-alpha300.15',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'ddp-rate-limiter',
version: '2.0.0-alpha300.11',
version: '1.2.1-alpha300.15',
// Brief, one-line summary of the package.
summary: 'The DDPRateLimiter allows users to add rate limits to DDP' +
' methods and subscriptions.',

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Meteor's latency-compensated distributed data server",
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Meteor's latency-compensated distributed data framework",
version: '2.0.0-alpha300.11',
version: '1.4.2-alpha300.15'
});
Package.onUse(function (api) {

View File

@@ -1,8 +1,9 @@
Package.describe({
name: "context",
version: '1.0.0-alpha300.11',
version: '1.0.0-alpha300.15',
summary: "Manage contextual information without passing objects around",
documentation: "README.md"
documentation: "README.md",
deprecated: 'You should not be needing this package in Meteor 3'
});
Npm.depends({

View File

@@ -7,7 +7,7 @@ Package.describe({
Package.onUse(function (api) {
api.use(['underscore'], ['client', 'server']);
api.use(['templating@2.0.0-alpha300.5', 'mongo', 'ddp'], ['client']);
api.use(['templating@1.2.13', 'mongo', 'ddp'], ['client']);
// Detect whether autopublish is used.
api.use('autopublish', 'server', {weak: true});

View File

@@ -2,14 +2,14 @@
Package.describe({
summary: "Markdown-to-HTML processor",
version: "3.0.0-alpha300.11",
version: "3.0.0-alpha300.15",
deprecated: true,
documentation: 'README.md'
});
Package.onUse(function (api) {
api.use('ecmascript@1.0.0-alpha300.11');
api.use("templating@2.0.0-alpha300.6", "client", {weak: true});
api.use('ecmascript@0.16.8-alpha300.15');
api.use("templating@1.4.2", "client", {weak: true});
api.mainModule('template-integration.js', 'client');
});

View File

@@ -9,7 +9,7 @@ Package.onUse(function (api) {
api.use('webapp', 'server');
api.use(['ddp', 'tracker'], 'client');
api.use(['callback-hook'], 'client');
api.use(['templating@2.0.0-alpha300.5'], 'client');
api.use(['templating@1.4.2'], 'client');
api.use(['underscore'], ['client', 'server']);
api.export('Spiderable');

View File

@@ -1,5 +1,5 @@
Package.describe({
version: '1.0.0-alpha300.11',
version: '0.1.3-alpha300.15',
summary: 'Show build errors in client when using HMR',
documentation: 'README.md',
devOnly: true

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "An implementation of a diff algorithm on arrays and objects.",
version: '2.0.0-alpha300.11',
version: '1.1.3-alpha300.15',
documentation: null
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Disables oplog tailing",
version: '2.0.0-alpha300.11',
version: '1.0.7'
});
// This package is empty; its presence is detected by mongo-livedata.

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "dynamic-import",
version: '1.0.0-alpha300.11',
version: "0.7.4-alpha300.15",
summary: "Runtime support for Meteor 1.5 dynamic import(...) syntax",
documentation: "README.md"
});

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'ecmascript-runtime-client',
version: '1.0.0-alpha300.11',
version: '0.12.2-alpha300.15',
summary: 'Polyfills for new ECMAScript 2015 APIs like Map and Set',
git:
'https://github.com/meteor/meteor/tree/devel/packages/ecmascript-runtime-client',

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "ecmascript-runtime-server",
version: '1.0.0-alpha300.11',
version: "0.11.1-alpha300.15",
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"

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "ecmascript-runtime",
version: '1.0.0-alpha300.11',
version: '0.8.2-alpha300.15',
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
git: "https://github.com/meteor/ecmascript-runtime",
documentation: "README.md"

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'ecmascript',
version: '1.0.0-alpha300.11',
version: '0.16.8-alpha300.15',
summary: 'Compiler plugin that supports ES2015+ in all .js files',
documentation: 'README.md',
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Extended and Extensible JSON library',
version: '2.0.0-alpha300.11',
version: '1.1.4-alpha300.15',
});
Package.onUse(function onUse(api) {

View File

@@ -2,9 +2,9 @@
"lockfileVersion": 4,
"dependencies": {
"@types/node": {
"version": "20.5.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.1.tgz",
"integrity": "sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg=="
"version": "20.6.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.2.tgz",
"integrity": "sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw=="
},
"@types/nodemailer": {
"version": "6.4.7",

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Send email messages',
version: '3.0.0-alpha300.11',
version: '3.0.0-alpha300.15',
});
Npm.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "es5-shim",
version: '5.0.0-alpha300.11',
version: "4.8.1-alpha300.15",
summary: "Shims and polyfills to improve ECMAScript 5 support",
documentation: "README.md"
});

View File

@@ -1,11 +1,11 @@
Package.describe({
summary: "Blaze configuration templates for Facebook OAuth.",
version: '2.0.0-alpha300.11',
version: '1.0.4-alpha300.15',
});
Package.onUse(api => {
api.use('ecmascript', 'client');
api.use('templating@2.0.0-alpha300.5', 'client');
api.use('templating@1.4.2', 'client');
api.addFiles('facebook_login_button.css', 'client');
api.addFiles(

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Facebook OAuth flow",
version: '2.0.0-alpha300.11',
version: '1.11.2'
});
Package.onUse(api => {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Publish internal app statistics",
version: '2.0.0-alpha300.11',
version: '1.0.2-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Display internal app statistics",
version: '2.0.0-alpha300.11',
version: '1.0.2-alpha300.15',
});
Package.onUse(function (api) {
@@ -8,7 +8,7 @@ Package.onUse(function (api) {
'ecmascript',
'facts-base',
'mongo',
'templating@2.0.0-alpha300.5'
'templating@1.4.2'
], 'client');
api.imply('facts-base');

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "fetch",
version: '1.0.0-alpha300.11',
version: '0.1.4-alpha300.15',
summary: "Isomorphic modern/legacy/Node polyfill for WHATWG fetch()",
documentation: "README.md"
});

View File

@@ -4,14 +4,15 @@ Tinytest.add("fetch - sanity", function (test) {
test.equal(typeof fetch, "function");
});
Tinytest.addAsync("fetch - asset", function (test) {
return fetch(
Meteor.absoluteUrl("/packages/local-test_fetch/tests/asset.json")
).then(res => {
if (! res.ok) throw res;
return res.json();
}).then(json => {
test.equal(json.word, "oyez");
test.equal(json.times, 3);
});
Tinytest.addAsync("fetch - asset", async function (test) {
const url = Meteor.absoluteUrl("/packages/local-test_fetch/tests/asset.json")
const {
word,
times
} = await fetch(url).then((res) => {
if (!res.ok) throw res;
return res.json();
}).catch(console.error)
test.equal(word, "oyez");
test.equal(times, 3);
});

View File

@@ -46,10 +46,15 @@
"resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz",
"integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g=="
},
"define-data-property": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.0.tgz",
"integrity": "sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g=="
},
"define-properties": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz",
"integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA=="
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
"integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg=="
},
"expand-brackets": {
"version": "0.1.5",
@@ -116,6 +121,11 @@
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
"integrity": "sha512-JDYOvfxio/t42HKdxkAYaCiBN7oYiuxykOxKxdaUW5Qn0zaYN3gRQWolrwdnf0shM9/EP0ebuuTmyoXNr1cC5w=="
},
"gopd": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
"integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA=="
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@@ -326,9 +336,9 @@
"integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ=="
},
"regexp.prototype.flags": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz",
"integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA=="
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
"integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg=="
},
"remove-trailing-separator": {
"version": "1.1.0",
@@ -345,6 +355,11 @@
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w=="
},
"set-function-name": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
"integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA=="
},
"to-file-path": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/to-file-path/-/to-file-path-1.0.0.tgz",

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Internal force-ssl common code.',
version: '2.0.0-alpha300.11',
version: '1.1.0'
});
Npm.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Require this application to use HTTPS",
version: '2.0.0-alpha300.11',
version: "1.1.0",
prodOnly: true
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'GeoJSON utility functions (from https://github.com/maxogden/geojson-js-utils)',
version: '2.0.0-alpha300.11',
version: '1.0.12-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1,11 +1,11 @@
Package.describe({
summary: 'Blaze configuration templates for GitHub OAuth.',
version: '2.0.0-alpha300.11',
version: '1.0.3-alpha300.15',
});
Package.onUse(api => {
api.use('ecmascript', 'client');
api.use('templating@2.0.0-alpha300.5', 'client');
api.use('templating@1.4.2', 'client');
api.addFiles('github_login_button.css', 'client');
api.addFiles(
['github_configure.html', 'github_configure.js'],

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'GitHub OAuth flow',
version: '2.0.0-alpha300.11',
version: '1.4.1'
});
Package.onUse(api => {

View File

@@ -1,11 +1,11 @@
Package.describe({
summary: 'Blaze configuration templates for Google OAuth.',
version: '2.0.0-alpha300.11',
version: '1.0.4-alpha300.15',
});
Package.onUse(api => {
api.use('ecmascript', 'client');
api.use('templating@2.0.0-alpha300.5', 'client');
api.use('templating@1.4.2', 'client');
api.addFiles('google_login_button.css', 'client');
api.addFiles(['google_configure.html', 'google_configure.js'], 'client');

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Google OAuth flow",
version: '2.0.0-alpha300.11',
version: "1.4.4",
});
Cordova.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'hot-code-push',
version: '2.0.0-alpha300.11',
version: '1.0.5-alpha300.15',
// 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.

View File

@@ -1,6 +1,6 @@
Package.describe({
name: 'hot-module-replacement',
version: '1.0.0-alpha300.11',
version: '0.5.4-alpha300.15',
summary: 'Update code in development without reloading the page',
documentation: 'README.md',
debugOnly: true,
@@ -16,7 +16,7 @@ Package.onUse(function(api) {
// Provides polyfills needed by Meteor.absoluteUrl in legacy browsers
api.use('ecmascript-runtime-client', { weak: true });
api.imply('modules-runtime-hot@1.0.0-alpha300.5');
api.imply('modules-runtime-hot@0.14.2');
api.addFiles(['./hot-api.js', './client.js'], 'client');
api.addFiles('./server.js', 'server');
});

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Dictionary data structure allowing non-string keys",
version: '2.0.0-alpha300.11',
version: '1.2.0-alpha300.15',
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "(For prototyping only) Allow all database writes from the client",
version: '2.0.0-alpha300.11',
version: '1.0.8-alpha300.15'
});
// This package is empty; its presence is detected by mongo-livedata.

View File

@@ -1,6 +1,6 @@
Package.describe({
name: "inter-process-messaging",
version: '1.0.0-alpha300.11',
version: "0.1.2-alpha300.15",
summary: "Support for sending messages from the build process to the server process",
documentation: "README.md"
});

View File

@@ -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: '2.0.0-alpha300.11',
version: '1.3.1-alpha300.15',
});
Cordova.depends({

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: "Simulates local storage on IE 6,7 using userData",
version: '2.0.0-alpha300.11',
version: "1.2.1-alpha300.15",
});
Package.onUse(function (api) {

View File

@@ -1,6 +1,6 @@
Package.describe({
summary: 'Logging facility.',
version: '2.0.0-alpha300.11',
version: '1.3.3-alpha300.15',
});
Npm.depends({

Some files were not shown because too many files have changed in this diff Show More