@forsakringskassan/docs-generator 2.15.0 → 2.15.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.
@@ -3,10 +3,10 @@
3
3
  var path$1 = require('node:path');
4
4
  var esbuild = require('esbuild');
5
5
  var vue = require('vue');
6
- var vue3 = require('./vue3-CI942beq.js');
6
+ var vue3 = require('./vue3-C1XLD9Wv.js');
7
7
  var path = require('node:path/posix');
8
8
  require('@vue/compiler-sfc');
9
- require('./vendor-Dlhn3sOl.js');
9
+ require('./vendor-BL9nAHkj.js');
10
10
  require('node:url');
11
11
  require('fs');
12
12
  require('node:fs');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var vendor = require('./vendor-Dlhn3sOl.js');
3
+ var vendor = require('./vendor-BL9nAHkj.js');
4
4
  var path = require('node:path/posix');
5
5
  var path$1 = require('node:path');
6
6
  require('crypto');
@@ -8,7 +8,7 @@ var crypto = require('node:crypto');
8
8
  require('node:child_process');
9
9
  var fs = require('node:fs');
10
10
  var vue = require('vue');
11
- var vue3 = require('./vue3-CI942beq.js');
11
+ var vue3 = require('./vue3-C1XLD9Wv.js');
12
12
 
13
13
  function findDocument(haystack, needle) {
14
14
  const match = haystack.find((it) => {
package/dist/index.js CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  var fs = require('node:fs/promises');
4
4
  var path = require('node:path/posix');
5
- var vendor = require('./vendor-Dlhn3sOl.js');
5
+ var vendor = require('./vendor-BL9nAHkj.js');
6
6
  var path$1 = require('node:path');
7
7
  var require$$1 = require('crypto');
8
8
  require('node:crypto');
9
- var createMarkdownRenderer = require('./create-markdown-renderer-CDFtdfff.js');
9
+ var createMarkdownRenderer = require('./create-markdown-renderer-Di-qCq2u.js');
10
10
  var node_child_process = require('node:child_process');
11
11
  var util = require('node:util');
12
12
  var vueDocgenApi = require('vue-docgen-api');
@@ -43,7 +43,7 @@ require('tls');
43
43
  require('tty');
44
44
  require('querystring');
45
45
  require('vue');
46
- require('./vue3-CI942beq.js');
46
+ require('./vue3-C1XLD9Wv.js');
47
47
 
48
48
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
49
49
  function toArray$2(value) {
package/dist/markdown.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var createMarkdownRenderer = require('./create-markdown-renderer-CDFtdfff.js');
4
- require('./vendor-Dlhn3sOl.js');
3
+ var createMarkdownRenderer = require('./create-markdown-renderer-Di-qCq2u.js');
4
+ require('./vendor-BL9nAHkj.js');
5
5
  require('node:url');
6
6
  require('node:path');
7
7
  require('fs');
@@ -37,7 +37,7 @@ require('querystring');
37
37
  require('node:path/posix');
38
38
  require('node:crypto');
39
39
  require('vue');
40
- require('./vue3-CI942beq.js');
40
+ require('./vue3-C1XLD9Wv.js');
41
41
 
42
42
 
43
43
 
@@ -26937,7 +26937,7 @@ function requireCore () {
26937
26937
  return mode;
26938
26938
  }
26939
26939
 
26940
- var version = "11.11.0";
26940
+ var version = "11.11.1";
26941
26941
 
26942
26942
  class HTMLInjectionError extends Error {
26943
26943
  constructor(reason, html) {
@@ -37296,6 +37296,11 @@ function requireRust () {
37296
37296
  begin: /b?"/,
37297
37297
  illegal: null
37298
37298
  }),
37299
+ {
37300
+ className: 'symbol',
37301
+ // negative lookahead to avoid matching `'`
37302
+ begin: /'[a-zA-Z_][a-zA-Z0-9_]*(?!')/
37303
+ },
37299
37304
  {
37300
37305
  scope: 'string',
37301
37306
  variants: [
@@ -37306,16 +37311,12 @@ function requireRust () {
37306
37311
  contains: [
37307
37312
  {
37308
37313
  scope: "char.escape",
37309
- match: /\\(\w|x\w{2}|u\w{4}|U\w{8})/
37314
+ match: /\\('|\w|x\w{2}|u\w{4}|U\w{8})/
37310
37315
  }
37311
37316
  ]
37312
37317
  }
37313
37318
  ]
37314
37319
  },
37315
- {
37316
- className: 'symbol',
37317
- begin: /'[a-zA-Z_][a-zA-Z0-9_]*/
37318
- },
37319
37320
  {
37320
37321
  className: 'number',
37321
37322
  variants: [
@@ -41846,6 +41847,7 @@ const pl = process.platform;
41846
41847
  const isWindows = pl === 'win32';
41847
41848
  const isMacos = pl === 'darwin';
41848
41849
  const isLinux = pl === 'linux';
41850
+ const isFreeBSD = pl === 'freebsd';
41849
41851
  const isIBMi = require$$0$5.type() === 'OS400';
41850
41852
  const EVENTS = {
41851
41853
  ALL: 'all',
@@ -42194,7 +42196,7 @@ class NodeFsHandler {
42194
42196
  if (!at || at <= mt || mt !== prevStats.mtimeMs) {
42195
42197
  this.fsw._emit(EV.CHANGE, file, newStats);
42196
42198
  }
42197
- if ((isMacos || isLinux) && prevStats.ino !== newStats.ino) {
42199
+ if ((isMacos || isLinux || isFreeBSD) && prevStats.ino !== newStats.ino) {
42198
42200
  this.fsw._closeFile(path);
42199
42201
  prevStats = newStats;
42200
42202
  const closer = this._watchWithNodeFs(file, listener);
@@ -42462,6 +42464,7 @@ class NodeFsHandler {
42462
42464
  }
42463
42465
  }
42464
42466
 
42467
+ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
42465
42468
  const SLASH = '/';
42466
42469
  const SLASH_SLASH = '//';
42467
42470
  const ONE_DOT = '.';
@@ -42884,9 +42887,9 @@ class FSWatcher extends require$$3.EventEmitter {
42884
42887
  return watchList;
42885
42888
  }
42886
42889
  emitWithAll(event, args) {
42887
- this.emit(...args);
42890
+ this.emit(event, ...args);
42888
42891
  if (event !== EVENTS.ERROR)
42889
- this.emit(EVENTS.ALL, ...args);
42892
+ this.emit(EVENTS.ALL, event, ...args);
42890
42893
  }
42891
42894
  // Common helpers
42892
42895
  // --------------
@@ -42906,7 +42909,7 @@ class FSWatcher extends require$$3.EventEmitter {
42906
42909
  path = sysPath__namespace.normalize(path);
42907
42910
  if (opts.cwd)
42908
42911
  path = sysPath__namespace.relative(opts.cwd, path);
42909
- const args = [event, path];
42912
+ const args = [path];
42910
42913
  if (stats != null)
42911
42914
  args.push(stats);
42912
42915
  const awf = opts.awaitWriteFinish;
@@ -42917,7 +42920,7 @@ class FSWatcher extends require$$3.EventEmitter {
42917
42920
  }
42918
42921
  if (opts.atomic) {
42919
42922
  if (event === EVENTS.UNLINK) {
42920
- this._pendingUnlinks.set(path, args);
42923
+ this._pendingUnlinks.set(path, [event, ...args]);
42921
42924
  setTimeout(() => {
42922
42925
  this._pendingUnlinks.forEach((entry, path) => {
42923
42926
  this.emit(...entry);
@@ -42928,21 +42931,21 @@ class FSWatcher extends require$$3.EventEmitter {
42928
42931
  return this;
42929
42932
  }
42930
42933
  if (event === EVENTS.ADD && this._pendingUnlinks.has(path)) {
42931
- event = args[0] = EVENTS.CHANGE;
42934
+ event = EVENTS.CHANGE;
42932
42935
  this._pendingUnlinks.delete(path);
42933
42936
  }
42934
42937
  }
42935
42938
  if (awf && (event === EVENTS.ADD || event === EVENTS.CHANGE) && this._readyEmitted) {
42936
42939
  const awfEmit = (err, stats) => {
42937
42940
  if (err) {
42938
- event = args[0] = EVENTS.ERROR;
42939
- args[1] = err;
42941
+ event = EVENTS.ERROR;
42942
+ args[0] = err;
42940
42943
  this.emitWithAll(event, args);
42941
42944
  }
42942
42945
  else if (stats) {
42943
42946
  // if stats doesn't exist the file must have been deleted
42944
- if (args.length > 2) {
42945
- args[2] = stats;
42947
+ if (args.length > 1) {
42948
+ args[1] = stats;
42946
42949
  }
42947
42950
  else {
42948
42951
  args.push(stats);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('@vue/compiler-sfc');
4
- require('./vendor-Dlhn3sOl.js');
4
+ require('./vendor-BL9nAHkj.js');
5
5
 
6
6
  var __create = Object.create;
7
7
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "2.15.0",
3
+ "version": "2.15.2",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"