0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

7
web/node_modules/history/es/DOMUtils.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('DOMUtils');
import { DOMUtils } from '../esm/history.js';
export default DOMUtils;

7
web/node_modules/history/es/ExecutionEnvironment.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('ExecutionEnvironment');
import { ExecutionEnvironment } from '../esm/history.js';
export default ExecutionEnvironment;

7
web/node_modules/history/es/LocationUtils.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('LocationUtils');
import { LocationUtils } from '../esm/history.js';
export default LocationUtils;

7
web/node_modules/history/es/PathUtils.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('PathUtils');
import { PathUtils } from '../esm/history.js';
export default PathUtils;

7
web/node_modules/history/es/createBrowserHistory.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('createBrowserHistory');
import { createBrowserHistory } from '../esm/history.js';
export default createBrowserHistory;

7
web/node_modules/history/es/createHashHistory.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('createHashHistory');
import { createHashHistory } from '../esm/history.js';
export default createHashHistory;

7
web/node_modules/history/es/createMemoryHistory.js generated vendored Normal file
View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('createMemoryHistory');
import { createMemoryHistory } from '../esm/history.js';
export default createMemoryHistory;

View file

@ -0,0 +1,7 @@
'use strict';
import warnAboutDeprecatedESMImport from './warnAboutDeprecatedESMImport.js';
warnAboutDeprecatedESMImport('createTransitionManager');
import { createTransitionManager } from '../esm/history.js';
export default createTransitionManager;

View file

@ -0,0 +1,35 @@
'use strict';
var printWarning = function() {};
if (process.env.NODE_ENV !== 'production') {
printWarning = function(format, subs) {
var index = 0;
var message =
'Warning: ' +
(subs.length > 0
? format.replace(/%s/g, function() {
return subs[index++];
})
: format);
if (typeof console !== 'undefined') {
console.error(message);
}
try {
// --- Welcome to debugging history ---
// This error was thrown as a convenience so that you can use the
// stack trace to find the callsite that triggered this warning.
throw new Error(message);
} catch (e) {}
};
}
export default function(member) {
printWarning(
'Please use `import { %s } from "history"` instead of `import %s from "history/es/%s"`. ' +
'Support for the latter will be removed in the next major release.',
[member, member]
);
}