meodp 0.0.2 → 0.0.4

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.
package/bin/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict'
3
+
4
+ import { run } from '../dist/cli/index.mjs'
5
+
6
+ run()
@@ -7,7 +7,7 @@ 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.b4a14fdc.cjs');
10
+ const config = require('../shared/meodp.e8cfff87.cjs');
11
11
  require('node:path');
12
12
  require('strip-ansi');
13
13
  require('winston');
@@ -15,9 +15,9 @@ require('p-queue');
15
15
  require('date-fns');
16
16
  require('fs-extra');
17
17
  require('cli-progress');
18
- require('cli-progress/lib/options');
19
- require('cli-progress/lib/format-bar');
20
- require('cli-progress/lib/format-time');
18
+ require('cli-progress/lib/options.js');
19
+ require('cli-progress/lib/format-bar.js');
20
+ require('cli-progress/lib/format-time.js');
21
21
 
22
22
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
23
23
 
@@ -5,7 +5,7 @@ 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.7bf7330e.mjs';
8
+ import { h as defaultMEODPConfig, M as MEODP, r as runByConfig } from '../shared/meodp.f86a1a9f.mjs';
9
9
  import 'node:path';
10
10
  import 'strip-ansi';
11
11
  import 'winston';
@@ -13,9 +13,9 @@ import 'p-queue';
13
13
  import 'date-fns';
14
14
  import 'fs-extra';
15
15
  import 'cli-progress';
16
- import 'cli-progress/lib/options';
17
- import 'cli-progress/lib/format-bar';
18
- import 'cli-progress/lib/format-time';
16
+ import 'cli-progress/lib/options.js';
17
+ import 'cli-progress/lib/format-bar.js';
18
+ import 'cli-progress/lib/format-time.js';
19
19
 
20
20
  function commonOptions(args) {
21
21
  return args.positional("root", {
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const config = require('./shared/meodp.b4a14fdc.cjs');
3
+ const config = require('./shared/meodp.e8cfff87.cjs');
4
4
  require('consola');
5
5
  require('p-queue');
6
6
  require('consola/utils');
@@ -12,9 +12,9 @@ require('fs-extra');
12
12
  require('strip-ansi');
13
13
  require('winston');
14
14
  require('cli-progress');
15
- require('cli-progress/lib/options');
16
- require('cli-progress/lib/format-bar');
17
- require('cli-progress/lib/format-time');
15
+ require('cli-progress/lib/options.js');
16
+ require('cli-progress/lib/format-bar.js');
17
+ require('cli-progress/lib/format-time.js');
18
18
 
19
19
  async function checkSiteMap(urlItem) {
20
20
  const { url } = urlItem;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
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';
1
+ import { g as getBrowser, s as siteUrlMap } from './shared/meodp.f86a1a9f.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.f86a1a9f.mjs';
3
3
  import 'consola';
4
4
  import 'p-queue';
5
5
  import 'consola/utils';
@@ -11,9 +11,9 @@ import 'fs-extra';
11
11
  import 'strip-ansi';
12
12
  import 'winston';
13
13
  import 'cli-progress';
14
- import 'cli-progress/lib/options';
15
- import 'cli-progress/lib/format-bar';
16
- import 'cli-progress/lib/format-time';
14
+ import 'cli-progress/lib/options.js';
15
+ import 'cli-progress/lib/format-bar.js';
16
+ import 'cli-progress/lib/format-time.js';
17
17
 
18
18
  async function checkSiteMap(urlItem) {
19
19
  const { url } = urlItem;
@@ -11,9 +11,9 @@ const fs = require('fs-extra');
11
11
  const stripAnsi = require('strip-ansi');
12
12
  const winston = require('winston');
13
13
  const cliProgress = require('cli-progress');
14
- const Options = require('cli-progress/lib/options');
15
- const _defaultFormatBar = require('cli-progress/lib/format-bar');
16
- const _defaultFormatTime = require('cli-progress/lib/format-time');
14
+ const Options = require('cli-progress/lib/options.js');
15
+ const _defaultFormatBar = require('cli-progress/lib/format-bar.js');
16
+ const _defaultFormatTime = require('cli-progress/lib/format-time.js');
17
17
 
18
18
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
19
19
 
@@ -9,9 +9,9 @@ import fs from 'fs-extra';
9
9
  import stripAnsi from 'strip-ansi';
10
10
  import winston from 'winston';
11
11
  import cliProgress from 'cli-progress';
12
- import Options from 'cli-progress/lib/options';
13
- import _defaultFormatBar from 'cli-progress/lib/format-bar';
14
- import _defaultFormatTime from 'cli-progress/lib/format-time';
12
+ import Options from 'cli-progress/lib/options.js';
13
+ import _defaultFormatBar from 'cli-progress/lib/format-bar.js';
14
+ import _defaultFormatTime from 'cli-progress/lib/format-time.js';
15
15
 
16
16
  const siteUrlMap = /* @__PURE__ */ new Map();
17
17
  const PQueueMap = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "meodp",
3
3
  "type": "module",
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
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": [
@@ -23,6 +23,7 @@
23
23
  "meodp": "dist/index.mjs"
24
24
  },
25
25
  "files": [
26
+ "bin",
26
27
  "dist"
27
28
  ],
28
29
  "scripts": {