dobo-extra 2.0.1 → 2.2.0

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.
Files changed (53) hide show
  1. package/.github/FUNDING.yml +0 -0
  2. package/.github/workflows/repo-lockdown.yml +0 -0
  3. package/.jsdoc.conf.json +0 -0
  4. package/LICENSE +0 -0
  5. package/README.md +2 -2
  6. package/docs/DoboExtra.html +0 -0
  7. package/docs/data/search.json +0 -0
  8. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  9. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  10. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  11. package/docs/global.html +0 -0
  12. package/docs/index.html +0 -0
  13. package/docs/index.js.html +0 -0
  14. package/docs/scripts/core.js +476 -477
  15. package/docs/scripts/core.min.js +0 -0
  16. package/docs/scripts/resize.js +36 -36
  17. package/docs/scripts/search.js +105 -105
  18. package/docs/scripts/search.min.js +0 -0
  19. package/docs/scripts/third-party/Apache-License-2.0.txt +0 -0
  20. package/docs/scripts/third-party/fuse.js +1 -1
  21. package/docs/scripts/third-party/hljs-line-num-original.js +282 -285
  22. package/docs/scripts/third-party/hljs-line-num.js +1 -1
  23. package/docs/scripts/third-party/hljs-original.js +1195 -1202
  24. package/docs/scripts/third-party/hljs.js +1 -1
  25. package/docs/scripts/third-party/popper.js +1 -1
  26. package/docs/scripts/third-party/tippy.js +1 -1
  27. package/docs/scripts/third-party/tocbot.js +508 -509
  28. package/docs/scripts/third-party/tocbot.min.js +0 -0
  29. package/docs/static/bitcoin.jpeg +0 -0
  30. package/docs/static/home.md +0 -0
  31. package/docs/static/logo-ecosystem.png +0 -0
  32. package/docs/static/logo.png +0 -0
  33. package/docs/styles/clean-jsdoc-theme-base.css +0 -0
  34. package/docs/styles/clean-jsdoc-theme-dark.css +0 -0
  35. package/docs/styles/clean-jsdoc-theme-light.css +0 -0
  36. package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -0
  37. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -0
  38. package/docs/styles/clean-jsdoc-theme.min.css +0 -0
  39. package/extend/bajo/intl/en-US.json +0 -0
  40. package/extend/bajo/intl/id.json +0 -0
  41. package/extend/bajoCli/applet/archive.js +0 -0
  42. package/extend/bajoCli/applet/export-to.js +0 -0
  43. package/extend/bajoCli/applet/import-from.js +0 -0
  44. package/extend/bajoCli/applet.js +0 -0
  45. package/index.js +9 -4
  46. package/{method → lib}/export-to.js +2 -2
  47. package/{method → lib}/import-from.js +2 -2
  48. package/lib/io-exts.js +0 -0
  49. package/lib/ndjson-csv-xlsx.js +0 -0
  50. package/package.json +4 -2
  51. package/wiki/CHANGES.md +5 -0
  52. package/wiki/CONFIG.md +0 -0
  53. package/wiki/CONTRIBUTING.md +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ import exportTo from './lib/export-to.js'
2
+ import importFrom from './lib/import-from.js'
3
+
1
4
  /**
2
5
  * Plugin factory
3
6
  *
@@ -12,10 +15,7 @@ async function factory (pkgName) {
12
15
  *
13
16
  * @class
14
17
  */
15
- class DoboExtra extends this.app.pluginClass.base {
16
- static alias = 'dbx'
17
- static dependencies = ['dobo', 'bajo-extra']
18
-
18
+ class DoboExtra extends this.app.baseClass.Base {
19
19
  constructor () {
20
20
  super(pkgName, me.app)
21
21
  this.config = {
@@ -36,6 +36,8 @@ async function factory (pkgName) {
36
36
  runEarly: true
37
37
  }
38
38
  }
39
+
40
+ this.selfBind(['exportTo', 'importFrom'])
39
41
  }
40
42
 
41
43
  init = async () => {
@@ -74,6 +76,9 @@ async function factory (pkgName) {
74
76
  })
75
77
  }, this.config.archive.checkInterval * 60 * 1000)
76
78
  }
79
+
80
+ exportTo = exportTo
81
+ importFrom = importFrom
77
82
  }
78
83
 
79
84
  return DoboExtra
@@ -1,8 +1,8 @@
1
1
  import path from 'path'
2
- import format from '../lib/ndjson-csv-xlsx.js'
2
+ import format from './ndjson-csv-xlsx.js'
3
3
  import { createGzip } from 'node:zlib'
4
4
  import scramjet from 'scramjet'
5
- import supportedExt from '../lib/io-exts.js'
5
+ import supportedExt from './io-exts.js'
6
6
 
7
7
  const { DataStream } = scramjet
8
8
  const { json, ndjson, csv, xlsx } = format
@@ -1,7 +1,7 @@
1
1
  import path from 'path'
2
- import format from '../lib/ndjson-csv-xlsx.js'
2
+ import format from './ndjson-csv-xlsx.js'
3
3
  import { createGunzip } from 'zlib'
4
- import supportedExt from '../lib/io-exts.js'
4
+ import supportedExt from './io-exts.js'
5
5
  import scramjet from 'scramjet'
6
6
 
7
7
  const { DataStream } = scramjet
package/lib/io-exts.js CHANGED
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo-extra",
3
- "version": "2.0.1",
3
+ "version": "2.2.0",
4
4
  "description": "Bajo DB Extra Tools/Utility",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,9 @@
9
9
  },
10
10
  "type": "module",
11
11
  "bajo": {
12
- "type": "plugin"
12
+ "type": "plugin",
13
+ "alias": "dbx",
14
+ "dependencies": ["dobo", "bajo-extra"]
13
15
  },
14
16
  "repository": {
15
17
  "type": "git",
@@ -0,0 +1,5 @@
1
+ # Changes
2
+
3
+ ## 2025-12-28
4
+
5
+ - [2.1.0] Ported to ```bajo@2.2.x``` & ```dobo@2.2.x``` specs
package/wiki/CONFIG.md CHANGED
File without changes
File without changes