mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #13459 from meteor/fix-cordova-accounts-url-legacy
Fix Cordova issue when using accounts-base
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
try {
|
||||
require("url-search-params-polyfill");
|
||||
URLSearchParams = window.URLSearchParams;
|
||||
exports.URLSearchParams = URLSearchParams;
|
||||
|
||||
require("core-js/proposals/url");
|
||||
URL = window.URL;
|
||||
exports.URL = URL;
|
||||
} catch (e) {
|
||||
throw new Error([
|
||||
"The core-js npm package could not be found in your node_modules ",
|
||||
|
||||
@@ -6,7 +6,8 @@ Package.describe({
|
||||
});
|
||||
|
||||
Npm.depends({
|
||||
"core-js": "3.38.1"
|
||||
"core-js": "3.39.0",
|
||||
"url-search-params-polyfill": "8.2.5",
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
|
||||
Reference in New Issue
Block a user