ultimate-jekyll-manager 0.0.51 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -140,7 +140,7 @@ export default function (Manager) {
|
|
|
140
140
|
async function handleRedirectResult() {
|
|
141
141
|
try {
|
|
142
142
|
// Import Firebase auth functions
|
|
143
|
-
const { getAuth, getRedirectResult } = await import('
|
|
143
|
+
const { getAuth, getRedirectResult } = await import('@firebase/auth');
|
|
144
144
|
const auth = getAuth();
|
|
145
145
|
|
|
146
146
|
// Check for redirect result
|
|
@@ -233,7 +233,7 @@ export default function (Manager) {
|
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
async function attemptEmailSignIn(email, password) {
|
|
236
|
-
const { getAuth, signInWithEmailAndPassword } = await import('
|
|
236
|
+
const { getAuth, signInWithEmailAndPassword } = await import('@firebase/auth');
|
|
237
237
|
const auth = getAuth();
|
|
238
238
|
const userCredential = await signInWithEmailAndPassword(auth, email, password);
|
|
239
239
|
return userCredential;
|
|
@@ -278,7 +278,7 @@ export default function (Manager) {
|
|
|
278
278
|
|
|
279
279
|
try {
|
|
280
280
|
// Import Firebase auth functions
|
|
281
|
-
const { getAuth, createUserWithEmailAndPassword } = await import('
|
|
281
|
+
const { getAuth, createUserWithEmailAndPassword } = await import('@firebase/auth');
|
|
282
282
|
|
|
283
283
|
// Get auth instance and create user
|
|
284
284
|
const auth = getAuth();
|
|
@@ -441,7 +441,7 @@ export default function (Manager) {
|
|
|
441
441
|
|
|
442
442
|
try {
|
|
443
443
|
// Import Firebase auth functions
|
|
444
|
-
const { getAuth, sendPasswordResetEmail } = await import('
|
|
444
|
+
const { getAuth, sendPasswordResetEmail } = await import('@firebase/auth');
|
|
445
445
|
|
|
446
446
|
// Get auth instance
|
|
447
447
|
const auth = getAuth();
|
|
@@ -505,7 +505,7 @@ export default function (Manager) {
|
|
|
505
505
|
FacebookAuthProvider,
|
|
506
506
|
TwitterAuthProvider,
|
|
507
507
|
GithubAuthProvider
|
|
508
|
-
} = await import('
|
|
508
|
+
} = await import('@firebase/auth');
|
|
509
509
|
|
|
510
510
|
const auth = getAuth();
|
|
511
511
|
let provider;
|
|
@@ -44,7 +44,7 @@ async function initializeSigninMethods() {
|
|
|
44
44
|
// Check for redirect result from Google auth
|
|
45
45
|
async function checkRedirectResult() {
|
|
46
46
|
try {
|
|
47
|
-
const { getRedirectResult } = await import('
|
|
47
|
+
const { getRedirectResult } = await import('@firebase/auth');
|
|
48
48
|
const result = await getRedirectResult(firebaseAuth);
|
|
49
49
|
|
|
50
50
|
if (result && result.user) {
|
|
@@ -414,7 +414,7 @@ function initializeSignoutAllForm() {
|
|
|
414
414
|
// Connect Google provider
|
|
415
415
|
async function connectGoogleProvider() {
|
|
416
416
|
// Dynamic import of Firebase auth methods
|
|
417
|
-
const { GoogleAuthProvider, linkWithPopup, linkWithRedirect } = await import('
|
|
417
|
+
const { GoogleAuthProvider, linkWithPopup, linkWithRedirect } = await import('@firebase/auth');
|
|
418
418
|
|
|
419
419
|
const provider = new GoogleAuthProvider();
|
|
420
420
|
|
|
@@ -461,7 +461,7 @@ async function disconnectGoogleProvider() {
|
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
// Dynamic import of Firebase auth methods
|
|
464
|
-
const { unlink } = await import('
|
|
464
|
+
const { unlink } = await import('@firebase/auth');
|
|
465
465
|
|
|
466
466
|
const user = firebaseAuth.currentUser;
|
|
467
467
|
|
|
@@ -491,7 +491,7 @@ async function handleChangePassword() {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
// Import Firebase auth method
|
|
494
|
-
const { sendPasswordResetEmail } = await import('
|
|
494
|
+
const { sendPasswordResetEmail } = await import('@firebase/auth');
|
|
495
495
|
|
|
496
496
|
// Send password reset email
|
|
497
497
|
await sendPasswordResetEmail(firebaseAuth, user.email);
|
|
@@ -4,7 +4,6 @@ const logger = Manager.logger('minifyHtml');
|
|
|
4
4
|
const { src, dest, series } = require('gulp');
|
|
5
5
|
const { minify } = require('html-minifier-terser');
|
|
6
6
|
const through2 = require('through2');
|
|
7
|
-
const terser = require('terser');
|
|
8
7
|
|
|
9
8
|
// Load package
|
|
10
9
|
const package = Manager.getPackage('main');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultimate-jekyll-manager",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"description": "Ultimate Jekyll dependency manager",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
"prettier": "^3.6.2",
|
|
94
94
|
"sass": "^1.92.1",
|
|
95
95
|
"spellchecker": "^3.7.1",
|
|
96
|
-
"terser": "^5.44.0",
|
|
97
96
|
"through2": "^4.0.2",
|
|
98
97
|
"web-manager": "^4.0.0",
|
|
99
98
|
"webpack": "^5.101.3",
|