meodp 0.0.1 → 0.0.2

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.
@@ -7,11 +7,10 @@ const utils = require('consola/utils');
7
7
  const yargs = require('yargs');
8
8
  const helpers = require('yargs/helpers');
9
9
  require('playwright');
10
- const config = require('../shared/meodp.6ae77875.cjs');
10
+ const config = require('../shared/meodp.b4a14fdc.cjs');
11
11
  require('node:path');
12
12
  require('strip-ansi');
13
13
  require('winston');
14
- require('winston/lib/winston/transports');
15
14
  require('p-queue');
16
15
  require('date-fns');
17
16
  require('fs-extra');
@@ -5,11 +5,10 @@ import { colors } from 'consola/utils';
5
5
  import yargs from 'yargs';
6
6
  import { hideBin } from 'yargs/helpers';
7
7
  import 'playwright';
8
- import { h as defaultMEODPConfig, M as MEODP, r as runByConfig } from '../shared/meodp.faa3c78c.mjs';
8
+ import { h as defaultMEODPConfig, M as MEODP, r as runByConfig } from '../shared/meodp.7bf7330e.mjs';
9
9
  import 'node:path';
10
10
  import 'strip-ansi';
11
11
  import 'winston';
12
- import 'winston/lib/winston/transports';
13
12
  import 'p-queue';
14
13
  import 'date-fns';
15
14
  import 'fs-extra';
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const config = require('./shared/meodp.6ae77875.cjs');
3
+ const config = require('./shared/meodp.b4a14fdc.cjs');
4
4
  require('consola');
5
5
  require('p-queue');
6
6
  require('consola/utils');
@@ -11,7 +11,6 @@ require('date-fns');
11
11
  require('fs-extra');
12
12
  require('strip-ansi');
13
13
  require('winston');
14
- require('winston/lib/winston/transports');
15
14
  require('cli-progress');
16
15
  require('cli-progress/lib/options');
17
16
  require('cli-progress/lib/format-bar');
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { g as getBrowser, s as siteUrlMap } from './shared/meodp.faa3c78c.mjs';
2
- export { L as LocalLog, P as PQueueMap, a as checkLink, c as checkMEODPUrl, f as checkSite, e as checkSiteUrl, d as checkUrlNomoduleAssets, k as createMEODPLogger, m as createWinstonLogger, h as defaultMEODPConfig, i as defineConfig, w as emojiMap, q as formatArgs, t as getFormattedDataFromResponse, x as getMEODPUrlItemInfo, b as getSiteLinks, u as isLink, j as localLog, l as logUrlItemInfo, n as multiBar, v as parseUrlMap, p as progressBarMap, o as registerPageEvents, r as runByConfig } from './shared/meodp.faa3c78c.mjs';
1
+ import { g as getBrowser, s as siteUrlMap } from './shared/meodp.7bf7330e.mjs';
2
+ export { L as LocalLog, P as PQueueMap, a as checkLink, c as checkMEODPUrl, f as checkSite, e as checkSiteUrl, d as checkUrlNomoduleAssets, k as createMEODPLogger, m as createWinstonLogger, h as defaultMEODPConfig, i as defineConfig, w as emojiMap, q as formatArgs, t as getFormattedDataFromResponse, x as getMEODPUrlItemInfo, b as getSiteLinks, u as isLink, j as localLog, l as logUrlItemInfo, n as multiBar, v as parseUrlMap, p as progressBarMap, o as registerPageEvents, r as runByConfig } from './shared/meodp.7bf7330e.mjs';
3
3
  import 'consola';
4
4
  import 'p-queue';
5
5
  import 'consola/utils';
@@ -10,7 +10,6 @@ import 'date-fns';
10
10
  import 'fs-extra';
11
11
  import 'strip-ansi';
12
12
  import 'winston';
13
- import 'winston/lib/winston/transports';
14
13
  import 'cli-progress';
15
14
  import 'cli-progress/lib/options';
16
15
  import 'cli-progress/lib/format-bar';
@@ -8,7 +8,6 @@ import { formatDate } from 'date-fns';
8
8
  import fs from 'fs-extra';
9
9
  import stripAnsi from 'strip-ansi';
10
10
  import winston from 'winston';
11
- import transports from 'winston/lib/winston/transports';
12
11
  import cliProgress from 'cli-progress';
13
12
  import Options from 'cli-progress/lib/options';
14
13
  import _defaultFormatBar from 'cli-progress/lib/format-bar';
@@ -407,11 +406,11 @@ function createWinstonLogger() {
407
406
  })
408
407
  );
409
408
  const customTransports = [
410
- new transports.File({
409
+ new winston.transports.File({
411
410
  filename: errorLogPath,
412
411
  level: "error"
413
412
  }),
414
- new transports.File({
413
+ new winston.transports.File({
415
414
  filename: allLogPath
416
415
  // level: 'info',
417
416
  })
@@ -10,7 +10,6 @@ const dateFns = require('date-fns');
10
10
  const fs = require('fs-extra');
11
11
  const stripAnsi = require('strip-ansi');
12
12
  const winston = require('winston');
13
- const transports = require('winston/lib/winston/transports');
14
13
  const cliProgress = require('cli-progress');
15
14
  const Options = require('cli-progress/lib/options');
16
15
  const _defaultFormatBar = require('cli-progress/lib/format-bar');
@@ -25,7 +24,6 @@ const process__default = /*#__PURE__*/_interopDefaultCompat(process);
25
24
  const fs__default = /*#__PURE__*/_interopDefaultCompat(fs);
26
25
  const stripAnsi__default = /*#__PURE__*/_interopDefaultCompat(stripAnsi);
27
26
  const winston__default = /*#__PURE__*/_interopDefaultCompat(winston);
28
- const transports__default = /*#__PURE__*/_interopDefaultCompat(transports);
29
27
  const cliProgress__default = /*#__PURE__*/_interopDefaultCompat(cliProgress);
30
28
  const Options__default = /*#__PURE__*/_interopDefaultCompat(Options);
31
29
  const _defaultFormatBar__default = /*#__PURE__*/_interopDefaultCompat(_defaultFormatBar);
@@ -424,11 +422,11 @@ function createWinstonLogger() {
424
422
  })
425
423
  );
426
424
  const customTransports = [
427
- new transports__default.File({
425
+ new winston__default.transports.File({
428
426
  filename: errorLogPath,
429
427
  level: "error"
430
428
  }),
431
- new transports__default.File({
429
+ new winston__default.transports.File({
432
430
  filename: allLogPath
433
431
  // level: 'info',
434
432
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meodp",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "packageManager": "pnpm@9.12.3",
6
6
  "description": "Mystic Eyes of Death Perception. Find out dead links in your site.",
7
7
  "keywords": [