@diplodoc/cli-tests 4.59.10 → 4.60.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.
@@ -21,6 +21,8 @@ exports[`Allow load custom resources > md2html single page with custom resources
21
21
  "_bundle/latex-extension.css",
22
22
  "_bundle/latex-extension.js",
23
23
  "_bundle/mermaid-extension.js",
24
+ "_bundle/page-constructor-extension.css",
25
+ "_bundle/page-constructor-extension.js",
24
26
  "_bundle/search-js-0",
25
27
  "_bundle/search-js-1",
26
28
  "_bundle/search-css-0",
@@ -249,6 +251,8 @@ exports[`Allow load custom resources > md2html with custom resources > filelist
249
251
  "_bundle/latex-extension.css",
250
252
  "_bundle/latex-extension.js",
251
253
  "_bundle/mermaid-extension.js",
254
+ "_bundle/page-constructor-extension.css",
255
+ "_bundle/page-constructor-extension.js",
252
256
  "_bundle/search-js-0",
253
257
  "_bundle/search-js-1",
254
258
  "_bundle/search-css-0",
@@ -9,6 +9,8 @@ exports[`Allow load custom resources > md2html with metadata > filelist 1`] = `
9
9
  "_bundle/latex-extension.css",
10
10
  "_bundle/latex-extension.js",
11
11
  "_bundle/mermaid-extension.js",
12
+ "_bundle/page-constructor-extension.css",
13
+ "_bundle/page-constructor-extension.js",
12
14
  "_bundle/search-js-0",
13
15
  "_bundle/search-js-1",
14
16
  "_bundle/search-css-0",
@@ -199,6 +199,8 @@ exports[`Regression > internal > filelist 2`] = `
199
199
  "_bundle/latex-extension.css",
200
200
  "_bundle/latex-extension.js",
201
201
  "_bundle/mermaid-extension.js",
202
+ "_bundle/page-constructor-extension.css",
203
+ "_bundle/page-constructor-extension.js",
202
204
  "_bundle/search-js-0",
203
205
  "_bundle/search-js-1",
204
206
  "_bundle/search-css-0",
@@ -12,6 +12,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
12
12
  "_bundle/latex-extension.css",
13
13
  "_bundle/latex-extension.js",
14
14
  "_bundle/mermaid-extension.js",
15
+ "_bundle/page-constructor-extension.css",
16
+ "_bundle/page-constructor-extension.js",
15
17
  "_bundle/search-js-0",
16
18
  "_bundle/search-js-1",
17
19
  "_bundle/search-css-0",
@@ -314,6 +316,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
314
316
  "_bundle/latex-extension.css",
315
317
  "_bundle/latex-extension.js",
316
318
  "_bundle/mermaid-extension.js",
319
+ "_bundle/page-constructor-extension.css",
320
+ "_bundle/page-constructor-extension.js",
317
321
  "_bundle/search-js-0",
318
322
  "_bundle/search-js-1",
319
323
  "_bundle/search-css-0",
@@ -4,7 +4,7 @@ export function platformless(text: string): string {
4
4
  return text
5
5
  .replace(/\r\n/g, '\n')
6
6
  .replace(/\w{8}-\w{4}-\w{4}-\w{4}-\w{12}/g, 'UUID')
7
- .replace(/(content"?[:=]{1}[" ]{1}Diplodoc.*? )v\d+\.\d+\.\d+/g, `$1vDIPLODOC-VERSION`)
7
+ .replace(/(content"?[:=]{1}[" ]{1}Diplodoc.*? )v\d+\.\d+\.\d+(?:-[\w-]+)?/g, `$1vDIPLODOC-VERSION`)
8
8
  .replace(/(\\(?![/"'])){1,2}/g, '/');
9
9
  }
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "4.59.10",
3
+ "version": "4.60.0",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },
@@ -17,7 +17,8 @@
17
17
  ],
18
18
  "scripts": {
19
19
  "build": "false",
20
- "test": "vitest run"
20
+ "test": "vitest run",
21
+ "test:update": "vitest -u"
21
22
  },
22
23
  "publishConfig": {
23
24
  "access": "public"