@forsakringskassan/docs-generator 2.15.0 → 2.15.1

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-pXsqfYWx.js');
7
7
  var path = require('node:path/posix');
8
8
  require('@vue/compiler-sfc');
9
- require('./vendor-Dlhn3sOl.js');
9
+ require('./vendor-BvMAw5Lj.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-BvMAw5Lj.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-pXsqfYWx.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-BvMAw5Lj.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-wLtbCCUj.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-pXsqfYWx.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-wLtbCCUj.js');
4
+ require('./vendor-BvMAw5Lj.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-pXsqfYWx.js');
41
41
 
42
42
 
43
43
 
@@ -41846,6 +41846,7 @@ const pl = process.platform;
41846
41846
  const isWindows = pl === 'win32';
41847
41847
  const isMacos = pl === 'darwin';
41848
41848
  const isLinux = pl === 'linux';
41849
+ const isFreeBSD = pl === 'freebsd';
41849
41850
  const isIBMi = require$$0$5.type() === 'OS400';
41850
41851
  const EVENTS = {
41851
41852
  ALL: 'all',
@@ -42194,7 +42195,7 @@ class NodeFsHandler {
42194
42195
  if (!at || at <= mt || mt !== prevStats.mtimeMs) {
42195
42196
  this.fsw._emit(EV.CHANGE, file, newStats);
42196
42197
  }
42197
- if ((isMacos || isLinux) && prevStats.ino !== newStats.ino) {
42198
+ if ((isMacos || isLinux || isFreeBSD) && prevStats.ino !== newStats.ino) {
42198
42199
  this.fsw._closeFile(path);
42199
42200
  prevStats = newStats;
42200
42201
  const closer = this._watchWithNodeFs(file, listener);
@@ -42462,6 +42463,7 @@ class NodeFsHandler {
42462
42463
  }
42463
42464
  }
42464
42465
 
42466
+ /*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */
42465
42467
  const SLASH = '/';
42466
42468
  const SLASH_SLASH = '//';
42467
42469
  const ONE_DOT = '.';
@@ -42884,9 +42886,9 @@ class FSWatcher extends require$$3.EventEmitter {
42884
42886
  return watchList;
42885
42887
  }
42886
42888
  emitWithAll(event, args) {
42887
- this.emit(...args);
42889
+ this.emit(event, ...args);
42888
42890
  if (event !== EVENTS.ERROR)
42889
- this.emit(EVENTS.ALL, ...args);
42891
+ this.emit(EVENTS.ALL, event, ...args);
42890
42892
  }
42891
42893
  // Common helpers
42892
42894
  // --------------
@@ -42906,7 +42908,7 @@ class FSWatcher extends require$$3.EventEmitter {
42906
42908
  path = sysPath__namespace.normalize(path);
42907
42909
  if (opts.cwd)
42908
42910
  path = sysPath__namespace.relative(opts.cwd, path);
42909
- const args = [event, path];
42911
+ const args = [path];
42910
42912
  if (stats != null)
42911
42913
  args.push(stats);
42912
42914
  const awf = opts.awaitWriteFinish;
@@ -42917,7 +42919,7 @@ class FSWatcher extends require$$3.EventEmitter {
42917
42919
  }
42918
42920
  if (opts.atomic) {
42919
42921
  if (event === EVENTS.UNLINK) {
42920
- this._pendingUnlinks.set(path, args);
42922
+ this._pendingUnlinks.set(path, [event, ...args]);
42921
42923
  setTimeout(() => {
42922
42924
  this._pendingUnlinks.forEach((entry, path) => {
42923
42925
  this.emit(...entry);
@@ -42928,21 +42930,21 @@ class FSWatcher extends require$$3.EventEmitter {
42928
42930
  return this;
42929
42931
  }
42930
42932
  if (event === EVENTS.ADD && this._pendingUnlinks.has(path)) {
42931
- event = args[0] = EVENTS.CHANGE;
42933
+ event = EVENTS.CHANGE;
42932
42934
  this._pendingUnlinks.delete(path);
42933
42935
  }
42934
42936
  }
42935
42937
  if (awf && (event === EVENTS.ADD || event === EVENTS.CHANGE) && this._readyEmitted) {
42936
42938
  const awfEmit = (err, stats) => {
42937
42939
  if (err) {
42938
- event = args[0] = EVENTS.ERROR;
42939
- args[1] = err;
42940
+ event = EVENTS.ERROR;
42941
+ args[0] = err;
42940
42942
  this.emitWithAll(event, args);
42941
42943
  }
42942
42944
  else if (stats) {
42943
42945
  // if stats doesn't exist the file must have been deleted
42944
- if (args.length > 2) {
42945
- args[2] = stats;
42946
+ if (args.length > 1) {
42947
+ args[1] = stats;
42946
42948
  }
42947
42949
  else {
42948
42950
  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-BvMAw5Lj.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.1",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"