@diplodoc/cli 5.22.1 → 5.22.3

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/build/index.js CHANGED
@@ -346429,7 +346429,7 @@ var import_config75 = require("@diplodoc/cli/lib/config");
346429
346429
 
346430
346430
  // src/constants.ts
346431
346431
  var import_node_path2 = require("node:path");
346432
- var VERSION = "5.22.1" ? "5.22.1" : "0.0.0";
346432
+ var VERSION = "5.22.3" ? "5.22.3" : "0.0.0";
346433
346433
  var MAIN_TIMER_ID = "Build time";
346434
346434
  var ASSETS_FOLDER = (0, import_node_path2.resolve)(__dirname, "../assets");
346435
346435
  var BUNDLE_FOLDER = "_bundle";
@@ -390118,8 +390118,8 @@ var run2 = async (argv2) => {
390118
390118
  if (import_node_worker_threads4.isMainThread && require.main === module) {
390119
390119
  (async () => {
390120
390120
  import_utils383.console.time(MAIN_TIMER_ID);
390121
- if ("5.22.1") {
390122
- import_utils383.console.log(`Using v${"5.22.1"} version`);
390121
+ if ("5.22.3") {
390122
+ import_utils383.console.log(`Using v${"5.22.3"} version`);
390123
390123
  }
390124
390124
  const report = await run2(process.argv);
390125
390125
  import_utils383.console.timeEnd(MAIN_TIMER_ID);
package/build/index.mjs CHANGED
@@ -346416,7 +346416,7 @@ import { Command as Command7 } from "@diplodoc/cli/lib/config";
346416
346416
 
346417
346417
  // src/constants.ts
346418
346418
  import { join, resolve as resolve2 } from "node:path";
346419
- var VERSION = "5.22.1" ? "5.22.1" : "0.0.0";
346419
+ var VERSION = "5.22.3" ? "5.22.3" : "0.0.0";
346420
346420
  var MAIN_TIMER_ID = "Build time";
346421
346421
  var ASSETS_FOLDER = resolve2(__dirname, "../assets");
346422
346422
  var BUNDLE_FOLDER = "_bundle";
@@ -390138,8 +390138,8 @@ var run2 = async (argv2) => {
390138
390138
  if (isMainThread4 && __require.main === module) {
390139
390139
  (async () => {
390140
390140
  console5.time(MAIN_TIMER_ID);
390141
- if ("5.22.1") {
390142
- console5.log(`Using v${"5.22.1"} version`);
390141
+ if ("5.22.3") {
390142
+ console5.log(`Using v${"5.22.3"} version`);
390143
390143
  }
390144
390144
  const report = await run2(process.argv);
390145
390145
  console5.timeEnd(MAIN_TIMER_ID);
@@ -1,38 +1,36 @@
1
1
  {
2
2
  "search": {
3
3
  "async": [
4
- "653-c787e961145fac8e.js",
5
- "444-504c3782d2b3e0db.js"
4
+ "976-40cbc1d2518eb8ea.js"
6
5
  ],
7
6
  "js": [
8
- "search-c50badbbac7436bd.js",
9
- "vendor-e69d71e99c7f296b.js",
10
- "react-23c48c44d4a3ad02.js"
7
+ "vendor-42f1b39e64aa43b8.js",
8
+ "search-b6246854f4238deb.js",
9
+ "react-869ecca253e3f1ec.js"
11
10
  ],
12
11
  "css": [
13
- "vendor-e5eeb71c1997ffe8.css",
14
- "search-280911aabe9278d9.css",
15
- "vendor-4c0354f0a19e087a.rtl.css",
16
- "app-880ffb3cf6f4654a.rtl.css",
17
- "search-1bd4ab40cb1fdeb7.rtl.css"
12
+ "vendor-69b711131a987c84.css",
13
+ "search-3ffb6aeff915ff58.css",
14
+ "vendor-9f8370ee77b163b3.rtl.css",
15
+ "app-6e5798a37c0f3a7e.rtl.css",
16
+ "search-03f27342624537ca.rtl.css"
18
17
  ]
19
18
  },
20
19
  "app": {
21
20
  "async": [
22
- "653-c787e961145fac8e.js",
23
- "444-504c3782d2b3e0db.js"
21
+ "976-40cbc1d2518eb8ea.js"
24
22
  ],
25
23
  "js": [
26
- "vendor-e69d71e99c7f296b.js",
27
- "react-23c48c44d4a3ad02.js",
28
- "app-e70f636e61ffb694.js"
24
+ "app-c87e24eeaae1b0dc.js",
25
+ "vendor-42f1b39e64aa43b8.js",
26
+ "react-869ecca253e3f1ec.js"
29
27
  ],
30
28
  "css": [
31
- "vendor-e5eeb71c1997ffe8.css",
32
- "app-891e338b5e1bb86f.css",
33
- "vendor-4c0354f0a19e087a.rtl.css",
34
- "app-880ffb3cf6f4654a.rtl.css",
35
- "search-1bd4ab40cb1fdeb7.rtl.css"
29
+ "vendor-69b711131a987c84.css",
30
+ "app-5cac08de3f4d258c.css",
31
+ "vendor-9f8370ee77b163b3.rtl.css",
32
+ "app-6e5798a37c0f3a7e.rtl.css",
33
+ "search-03f27342624537ca.rtl.css"
36
34
  ]
37
35
  }
38
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli",
3
- "version": "5.22.1",
3
+ "version": "5.22.3",
4
4
  "description": "Make documentation using yfm-docs in Markdown and HTML formats",
5
5
  "keywords": [
6
6
  "markdown",
@@ -76,7 +76,7 @@
76
76
  ]
77
77
  },
78
78
  "dependencies": {
79
- "@diplodoc/client": "^5.2.1",
79
+ "@diplodoc/client": "^5.2.2",
80
80
  "@diplodoc/liquid": "^1.4.0",
81
81
  "@diplodoc/transform": "^4.68.1",
82
82
  "@diplodoc/translation": "^1.7.19",
@@ -106,7 +106,7 @@
106
106
  "@aws-sdk/client-s3": "^3.758.0",
107
107
  "@aws-sdk/lib-storage": "^3.758.0",
108
108
  "@diplodoc/latex-extension": "^1.4.1",
109
- "@diplodoc/lint": "^1.10.2",
109
+ "@diplodoc/lint": "^1.10.3",
110
110
  "@diplodoc/mermaid-extension": "^1.3.5",
111
111
  "@diplodoc/openapi-extension": "^5.1.1",
112
112
  "@diplodoc/page-constructor-extension": "^0.13.0",
@@ -116,6 +116,7 @@
116
116
  "@octokit/core": "4.2.4",
117
117
  "@types/async": "3.2.15",
118
118
  "@types/chalk": "2.2.0",
119
+ "@types/chroma-js": "^3.1.2",
119
120
  "@types/html-escaper": "3.0.0",
120
121
  "@types/js-yaml": "4.0.9",
121
122
  "@types/json-stringify-safe": "5.0.3",
@@ -123,7 +124,6 @@
123
124
  "@types/markdown-it": "^13.0.9",
124
125
  "@types/mime-types": "2.1.4",
125
126
  "@types/node": "^22.19.0",
126
- "@types/chroma-js": "^3.1.2",
127
127
  "@vitest/coverage-v8": "^3.2.1",
128
128
  "ajv": "^8.11.0",
129
129
  "async": "^3.2.4",
@@ -1,2 +0,0 @@
1
- (()=>{"use strict";var e={87598:function(e,r,t){var i=t(76150),n=t(24460),s=t(28395),o={message:"Unknown message type!",code:"UNKNOWN_HANDLER"},a={message:"Worker is not initialized with required config!",code:"NOT_INITIALIZED"},c={message:"Worker is not initialized with required api!",code:"NOT_INITIALIZED"};function u(e){if(!e)throw a}function f(e){if(!e)throw c}var p={init:function(e){return(0,i._)(function(){return(0,s.Jh)(this,function(r){switch(r.label){case 0:if(self.config=e,self.config.api&&(self.config.api.startsWith("/")?importScripts(self.config.api):importScripts(self.config.base+"/"+self.config.api)),!(self.api&&self.api.init))return[3,2];return[4,self.api.init()];case 1:return[2,r.sent()];case 2:return[2]}})})()},suggest:function(e){return(0,i._)(function(e){var r,t,i;return(0,s.Jh)(this,function(n){switch(n.label){case 0:return r=e.query,i=void 0===(t=e.count)?10:t,u(self.config),f(self.api),[4,self.api.suggest(r,i)];case 1:return[2,n.sent()]}})}).apply(this,arguments)},search:function(e){return(0,i._)(function(e){var r,t,i,n,o;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return r=e.query,i=void 0===(t=e.count)?10:t,o=void 0===(n=e.page)?1:n,u(self.config),f(self.api),[4,self.api.search(r,i,o)];case 1:return[2,s.sent()]}})}).apply(this,arguments)}};self.onmessage=function(e){return(0,i._)(function(){var r,t,i,a;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(r=(0,n._)(e.ports,1)[0],!(t=p[e.data.type]))return r.postMessage({error:o}),[2];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,t(e.data)];case 2:return i=s.sent(),r.postMessage({result:i}),[3,4];case 3:return a=s.sent(),r.postMessage({error:a}),[3,4];case 4:return[2]}})})()}}},r={};function t(i){var n=r[i];if(void 0!==n)return n.exports;var s=r[i]={exports:{}};return e[i](s,s.exports,t),s.exports}t.m=e,t.x=()=>{var e=t.O(void 0,["653"],function(){return t(87598)});return t.O(e)},t.d=(e,r)=>{for(var i in r)t.o(r,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,i)=>(t.f[i](e,r),r),[])),t.u=e=>""+e+"-c787e961145fac8e.js",t.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e=[];t.O=(r,i,n,s)=>{if(i){s=s||0;for(var o=e.length;o>0&&e[o-1][2]>s;o--)e[o]=e[o-1];e[o]=[i,n,s];return}for(var a=1/0,o=0;o<e.length;o++){for(var[i,n,s]=e[o],c=!0,u=0;u<i.length;u++)(!1&s||a>=s)&&Object.keys(t.O).every(e=>t.O[e](i[u]))?i.splice(u--,1):(c=!1,s<a&&(a=s));if(c){e.splice(o--,1);var f=n();void 0!==f&&(r=f)}}return r}})(),t.rv=()=>"1.4.11",(()=>{var e=t.x;t.x=()=>t.e("653").then(e)})(),(()=>{t.g.importScripts&&(e=t.g.location+"");var e,r=t.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var i=r.getElementsByTagName("script");if(i.length)for(var n=i.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=i[n--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");t.p=e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")})(),(()=>{var e={444:1};t.f.i=(r,i)=>{e[r]||importScripts(t.p+t.u(r))};var r=self.webpackChunk_diplodoc_client=self.webpackChunk_diplodoc_client||[],i=r.push.bind(r);r.push=r=>{var[n,s,o]=r;for(var a in s)t.o(s,a)&&(t.m[a]=s[a]);for(o&&o(t);n.length;)e[n.pop()]=1;i(r)}})(),t.ruid="bundler=rspack@1.4.11",t.x()})();
2
- //# sourceMappingURL=444-504c3782d2b3e0db.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_diplodoc_client=self.webpackChunk_diplodoc_client||[]).push([["653"],{87245:function(t,r,n){n.d(r,{_:()=>e});function e(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}},76150:function(t,r,n){function e(t,r,n,e,o,a,i){try{var u=t[a](i),l=u.value}catch(t){n(t);return}u.done?r(l):Promise.resolve(l).then(e,o)}function o(t){return function(){var r=this,n=arguments;return new Promise(function(o,a){var i=t.apply(r,n);function u(t){e(i,o,a,u,l,"next",t)}function l(t){e(i,o,a,u,l,"throw",t)}u(void 0)})}}n.d(r,{_:()=>o})},24460:function(t,r,n){n.d(r,{_:()=>o});var e=n(17501);function o(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n,e,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a=[],i=!0,u=!1;try{for(o=o.call(t);!(i=(n=o.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(t){u=!0,e=t}finally{try{i||null==o.return||o.return()}finally{if(u)throw e}}return a}}(t,r)||(0,e._)(t,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17501:function(t,r,n){n.d(r,{_:()=>o});var e=n(87245);function o(t,r){if(t){if("string"==typeof t)return(0,e._)(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,e._)(t,r)}}},28395:function(t,r,n){n.d(r,{Jh:()=>o,pi:()=>e});var e=function(){return(e=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)};function o(t,r){var n,e,o,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(l){var c=[u,l];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,e&&(o=2&c[0]?e.return:c[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,c[1])).done)return o;switch(e=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,e=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=r.call(t,a)}catch(t){c=[6,t],e=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}}}]);
2
- //# sourceMappingURL=653-c787e961145fac8e.js.map