@forsakringskassan/docs-generator 2.32.2 → 2.33.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.
@@ -21122,22 +21122,22 @@ var hasRequiredCiInfo;
21122
21122
  function requireCiInfo () {
21123
21123
  if (hasRequiredCiInfo) return ciInfo;
21124
21124
  hasRequiredCiInfo = 1;
21125
- (function (exports) {
21125
+ (function (exports$1) {
21126
21126
 
21127
21127
  const vendors = require$$0;
21128
21128
 
21129
21129
  const env = process.env;
21130
21130
 
21131
21131
  // Used for testing only
21132
- Object.defineProperty(exports, '_vendors', {
21132
+ Object.defineProperty(exports$1, '_vendors', {
21133
21133
  value: vendors.map(function (v) {
21134
21134
  return v.constant
21135
21135
  })
21136
21136
  });
21137
21137
 
21138
- exports.name = null;
21139
- exports.isPR = null;
21140
- exports.id = null;
21138
+ exports$1.name = null;
21139
+ exports$1.isPR = null;
21140
+ exports$1.id = null;
21141
21141
 
21142
21142
  vendors.forEach(function (vendor) {
21143
21143
  const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
@@ -21145,18 +21145,18 @@ function requireCiInfo () {
21145
21145
  return checkEnv(obj)
21146
21146
  });
21147
21147
 
21148
- exports[vendor.constant] = isCI;
21148
+ exports$1[vendor.constant] = isCI;
21149
21149
 
21150
21150
  if (!isCI) {
21151
21151
  return
21152
21152
  }
21153
21153
 
21154
- exports.name = vendor.name;
21155
- exports.isPR = checkPR(vendor);
21156
- exports.id = vendor.constant;
21154
+ exports$1.name = vendor.name;
21155
+ exports$1.isPR = checkPR(vendor);
21156
+ exports$1.id = vendor.constant;
21157
21157
  });
21158
21158
 
21159
- exports.isCI = !!(
21159
+ exports$1.isCI = !!(
21160
21160
  env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'
21161
21161
  (env.BUILD_ID || // Jenkins, Cloudbees
21162
21162
  env.BUILD_NUMBER || // Jenkins, TeamCity
@@ -21167,7 +21167,7 @@ function requireCiInfo () {
21167
21167
  env.CI_NAME || // Codeship and others
21168
21168
  env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
21169
21169
  env.RUN_ID || // TaskCluster, dsari
21170
- exports.name ||
21170
+ exports$1.name ||
21171
21171
  false)
21172
21172
  );
21173
21173
 
@@ -22273,7 +22273,7 @@ var hasRequiredFs;
22273
22273
  function requireFs () {
22274
22274
  if (hasRequiredFs) return fs;
22275
22275
  hasRequiredFs = 1;
22276
- (function (exports) {
22276
+ (function (exports$1) {
22277
22277
  // This is adapted from https://github.com/normalize/mz
22278
22278
  // Copyright (c) 2014-2016 Jonathan Ong me@jongleberry.com and Contributors
22279
22279
  const u = requireUniversalify().fromCallback;
@@ -22328,16 +22328,16 @@ function requireFs () {
22328
22328
  });
22329
22329
 
22330
22330
  // Export cloned fs:
22331
- Object.assign(exports, fs);
22331
+ Object.assign(exports$1, fs);
22332
22332
 
22333
22333
  // Universalify async methods:
22334
22334
  api.forEach(method => {
22335
- exports[method] = u(fs[method]);
22335
+ exports$1[method] = u(fs[method]);
22336
22336
  });
22337
22337
 
22338
22338
  // We differ from mz/fs in that we still ship the old, broken, fs.exists()
22339
22339
  // since we are a drop-in replacement for the native module
22340
- exports.exists = function (filename, callback) {
22340
+ exports$1.exists = function (filename, callback) {
22341
22341
  if (typeof callback === 'function') {
22342
22342
  return fs.exists(filename, callback)
22343
22343
  }
@@ -22348,7 +22348,7 @@ function requireFs () {
22348
22348
 
22349
22349
  // fs.read(), fs.write(), fs.readv(), & fs.writev() need special treatment due to multiple callback args
22350
22350
 
22351
- exports.read = function (fd, buffer, offset, length, position, callback) {
22351
+ exports$1.read = function (fd, buffer, offset, length, position, callback) {
22352
22352
  if (typeof callback === 'function') {
22353
22353
  return fs.read(fd, buffer, offset, length, position, callback)
22354
22354
  }
@@ -22365,7 +22365,7 @@ function requireFs () {
22365
22365
  // OR
22366
22366
  // fs.write(fd, string[, position[, encoding]], callback)
22367
22367
  // We need to handle both cases, so we use ...args
22368
- exports.write = function (fd, buffer, ...args) {
22368
+ exports$1.write = function (fd, buffer, ...args) {
22369
22369
  if (typeof args[args.length - 1] === 'function') {
22370
22370
  return fs.write(fd, buffer, ...args)
22371
22371
  }
@@ -22381,7 +22381,7 @@ function requireFs () {
22381
22381
  // Function signature is
22382
22382
  // s.readv(fd, buffers[, position], callback)
22383
22383
  // We need to handle the optional arg, so we use ...args
22384
- exports.readv = function (fd, buffers, ...args) {
22384
+ exports$1.readv = function (fd, buffers, ...args) {
22385
22385
  if (typeof args[args.length - 1] === 'function') {
22386
22386
  return fs.readv(fd, buffers, ...args)
22387
22387
  }
@@ -22397,7 +22397,7 @@ function requireFs () {
22397
22397
  // Function signature is
22398
22398
  // s.writev(fd, buffers[, position], callback)
22399
22399
  // We need to handle the optional arg, so we use ...args
22400
- exports.writev = function (fd, buffers, ...args) {
22400
+ exports$1.writev = function (fd, buffers, ...args) {
22401
22401
  if (typeof args[args.length - 1] === 'function') {
22402
22402
  return fs.writev(fd, buffers, ...args)
22403
22403
  }
@@ -22412,7 +22412,7 @@ function requireFs () {
22412
22412
 
22413
22413
  // fs.realpath.native sometimes not available if fs is monkey-patched
22414
22414
  if (typeof fs.realpath.native === 'function') {
22415
- exports.realpath.native = u(fs.realpath.native);
22415
+ exports$1.realpath.native = u(fs.realpath.native);
22416
22416
  } else {
22417
22417
  process.emitWarning(
22418
22418
  'fs.realpath.native is not a function. Is fs being monkey-patched?',
@@ -26162,7 +26162,9 @@ class I18n extends EventEmitter {
26162
26162
  return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf('-arab') > 1 ? 'rtl' : 'ltr';
26163
26163
  }
26164
26164
  static createInstance(options = {}, callback) {
26165
- return new I18n(options, callback);
26165
+ const instance = new I18n(options, callback);
26166
+ instance.createInstance = I18n.createInstance;
26167
+ return instance;
26166
26168
  }
26167
26169
  cloneInstance(options = {}, callback = noop) {
26168
26170
  const forkResourceStore = options.forkResourceStore;
@@ -26226,7 +26228,6 @@ class I18n extends EventEmitter {
26226
26228
  }
26227
26229
  }
26228
26230
  const instance = I18n.createInstance();
26229
- instance.createInstance = I18n.createInstance;
26230
26231
 
26231
26232
  const createInstance = instance.createInstance;
26232
26233
  instance.dir;
@@ -47045,7 +47046,7 @@ var hasRequiredSafeBuffer;
47045
47046
  function requireSafeBuffer () {
47046
47047
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
47047
47048
  hasRequiredSafeBuffer = 1;
47048
- (function (module, exports) {
47049
+ (function (module, exports$1) {
47049
47050
  /* eslint-disable node/no-deprecated-api */
47050
47051
  var buffer = require$$0$5;
47051
47052
  var Buffer = buffer.Buffer;
@@ -47060,8 +47061,8 @@ function requireSafeBuffer () {
47060
47061
  module.exports = buffer;
47061
47062
  } else {
47062
47063
  // Copy properties from require('buffer')
47063
- copyProps(buffer, exports);
47064
- exports.Buffer = SafeBuffer;
47064
+ copyProps(buffer, exports$1);
47065
+ exports$1.Buffer = SafeBuffer;
47065
47066
  }
47066
47067
 
47067
47068
  function SafeBuffer (arg, encodingOrOffset, length) {
@@ -51150,7 +51151,7 @@ var hasRequiredBrowser;
51150
51151
  function requireBrowser () {
51151
51152
  if (hasRequiredBrowser) return browser.exports;
51152
51153
  hasRequiredBrowser = 1;
51153
- (function (module, exports) {
51154
+ (function (module, exports$1) {
51154
51155
 
51155
51156
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
51156
51157
 
@@ -51159,17 +51160,17 @@ function requireBrowser () {
51159
51160
  /**
51160
51161
  * This is the web browser implementation of `debug()`.
51161
51162
  */
51162
- exports.log = log;
51163
- exports.formatArgs = formatArgs;
51164
- exports.save = save;
51165
- exports.load = load;
51166
- exports.useColors = useColors;
51167
- exports.storage = localstorage();
51163
+ exports$1.log = log;
51164
+ exports$1.formatArgs = formatArgs;
51165
+ exports$1.save = save;
51166
+ exports$1.load = load;
51167
+ exports$1.useColors = useColors;
51168
+ exports$1.storage = localstorage();
51168
51169
  /**
51169
51170
  * Colors.
51170
51171
  */
51171
51172
 
51172
- exports.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33'];
51173
+ exports$1.colors = ['#0000CC', '#0000FF', '#0033CC', '#0033FF', '#0066CC', '#0066FF', '#0099CC', '#0099FF', '#00CC00', '#00CC33', '#00CC66', '#00CC99', '#00CCCC', '#00CCFF', '#3300CC', '#3300FF', '#3333CC', '#3333FF', '#3366CC', '#3366FF', '#3399CC', '#3399FF', '#33CC00', '#33CC33', '#33CC66', '#33CC99', '#33CCCC', '#33CCFF', '#6600CC', '#6600FF', '#6633CC', '#6633FF', '#66CC00', '#66CC33', '#9900CC', '#9900FF', '#9933CC', '#9933FF', '#99CC00', '#99CC33', '#CC0000', '#CC0033', '#CC0066', '#CC0099', '#CC00CC', '#CC00FF', '#CC3300', '#CC3333', '#CC3366', '#CC3399', '#CC33CC', '#CC33FF', '#CC6600', '#CC6633', '#CC9900', '#CC9933', '#CCCC00', '#CCCC33', '#FF0000', '#FF0033', '#FF0066', '#FF0099', '#FF00CC', '#FF00FF', '#FF3300', '#FF3333', '#FF3366', '#FF3399', '#FF33CC', '#FF33FF', '#FF6600', '#FF6633', '#FF9900', '#FF9933', '#FFCC00', '#FFCC33'];
51173
51174
  /**
51174
51175
  * Currently only WebKit-based Web Inspectors, Firefox >= v31,
51175
51176
  * and the Firebug extension (any Firefox version) are known
@@ -51262,9 +51263,9 @@ function requireBrowser () {
51262
51263
  function save(namespaces) {
51263
51264
  try {
51264
51265
  if (namespaces) {
51265
- exports.storage.setItem('debug', namespaces);
51266
+ exports$1.storage.setItem('debug', namespaces);
51266
51267
  } else {
51267
- exports.storage.removeItem('debug');
51268
+ exports$1.storage.removeItem('debug');
51268
51269
  }
51269
51270
  } catch (error) {// Swallow
51270
51271
  // XXX (@Qix-) should we be logging these?
@@ -51282,7 +51283,7 @@ function requireBrowser () {
51282
51283
  var r;
51283
51284
 
51284
51285
  try {
51285
- r = exports.storage.getItem('debug');
51286
+ r = exports$1.storage.getItem('debug');
51286
51287
  } catch (error) {} // Swallow
51287
51288
  // XXX (@Qix-) should we be logging these?
51288
51289
  // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
@@ -51316,7 +51317,7 @@ function requireBrowser () {
51316
51317
  }
51317
51318
  }
51318
51319
 
51319
- module.exports = requireCommon()(exports);
51320
+ module.exports = requireCommon()(exports$1);
51320
51321
  var formatters = module.exports.formatters;
51321
51322
  /**
51322
51323
  * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
@@ -51499,7 +51500,7 @@ var hasRequiredNode;
51499
51500
  function requireNode () {
51500
51501
  if (hasRequiredNode) return node.exports;
51501
51502
  hasRequiredNode = 1;
51502
- (function (module, exports) {
51503
+ (function (module, exports$1) {
51503
51504
 
51504
51505
  /**
51505
51506
  * Module dependencies.
@@ -51512,17 +51513,17 @@ function requireNode () {
51512
51513
  */
51513
51514
 
51514
51515
 
51515
- exports.init = init;
51516
- exports.log = log;
51517
- exports.formatArgs = formatArgs;
51518
- exports.save = save;
51519
- exports.load = load;
51520
- exports.useColors = useColors;
51516
+ exports$1.init = init;
51517
+ exports$1.log = log;
51518
+ exports$1.formatArgs = formatArgs;
51519
+ exports$1.save = save;
51520
+ exports$1.load = load;
51521
+ exports$1.useColors = useColors;
51521
51522
  /**
51522
51523
  * Colors.
51523
51524
  */
51524
51525
 
51525
- exports.colors = [6, 2, 3, 4, 5, 1];
51526
+ exports$1.colors = [6, 2, 3, 4, 5, 1];
51526
51527
 
51527
51528
  try {
51528
51529
  // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
@@ -51530,7 +51531,7 @@ function requireNode () {
51530
51531
  var supportsColor = requireSupportsColor();
51531
51532
 
51532
51533
  if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
51533
- exports.colors = [20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221];
51534
+ exports$1.colors = [20, 21, 26, 27, 32, 33, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 62, 63, 68, 69, 74, 75, 76, 77, 78, 79, 80, 81, 92, 93, 98, 99, 112, 113, 128, 129, 134, 135, 148, 149, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 178, 179, 184, 185, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 214, 215, 220, 221];
51534
51535
  }
51535
51536
  } catch (error) {} // Swallow - we only care if `supports-color` is available; it doesn't have to be.
51536
51537
 
@@ -51541,7 +51542,7 @@ function requireNode () {
51541
51542
  */
51542
51543
 
51543
51544
 
51544
- exports.inspectOpts = Object.keys(process.env).filter(function (key) {
51545
+ exports$1.inspectOpts = Object.keys(process.env).filter(function (key) {
51545
51546
  return /^debug_/i.test(key);
51546
51547
  }).reduce(function (obj, key) {
51547
51548
  // Camel-case
@@ -51569,7 +51570,7 @@ function requireNode () {
51569
51570
  */
51570
51571
 
51571
51572
  function useColors() {
51572
- return 'colors' in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
51573
+ return 'colors' in exports$1.inspectOpts ? Boolean(exports$1.inspectOpts.colors) : tty.isatty(process.stderr.fd);
51573
51574
  }
51574
51575
  /**
51575
51576
  * Adds ANSI color escape codes if enabled.
@@ -51594,7 +51595,7 @@ function requireNode () {
51594
51595
  }
51595
51596
 
51596
51597
  function getDate() {
51597
- if (exports.inspectOpts.hideDate) {
51598
+ if (exports$1.inspectOpts.hideDate) {
51598
51599
  return '';
51599
51600
  }
51600
51601
 
@@ -51646,14 +51647,14 @@ function requireNode () {
51646
51647
 
51647
51648
  function init(debug) {
51648
51649
  debug.inspectOpts = {};
51649
- var keys = Object.keys(exports.inspectOpts);
51650
+ var keys = Object.keys(exports$1.inspectOpts);
51650
51651
 
51651
51652
  for (var i = 0; i < keys.length; i++) {
51652
- debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
51653
+ debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
51653
51654
  }
51654
51655
  }
51655
51656
 
51656
- module.exports = requireCommon()(exports);
51657
+ module.exports = requireCommon()(exports$1);
51657
51658
  var formatters = module.exports.formatters;
51658
51659
  /**
51659
51660
  * Map %o to `util.inspect()`, all on a single line.
@@ -51702,9 +51703,9 @@ var hasRequiredClient;
51702
51703
  function requireClient () {
51703
51704
  if (hasRequiredClient) return client$2.exports;
51704
51705
  hasRequiredClient = 1;
51705
- (function (module, exports) {
51706
+ (function (module, exports$1) {
51706
51707
 
51707
- Object.defineProperty(exports, "__esModule", {
51708
+ Object.defineProperty(exports$1, "__esModule", {
51708
51709
  value: true
51709
51710
  });
51710
51711
 
@@ -51845,8 +51846,8 @@ function requireClient () {
51845
51846
  return Client;
51846
51847
  }(_events2.default.EventEmitter);
51847
51848
 
51848
- exports.default = Client;
51849
- module.exports = exports['default'];
51849
+ exports$1.default = Client;
51850
+ module.exports = exports$1['default'];
51850
51851
  } (client$2, client$2.exports));
51851
51852
  return client$2.exports;
51852
51853
  }
@@ -55784,9 +55785,9 @@ var hasRequiredServer;
55784
55785
  function requireServer () {
55785
55786
  if (hasRequiredServer) return server$1.exports;
55786
55787
  hasRequiredServer = 1;
55787
- (function (module, exports) {
55788
+ (function (module, exports$1) {
55788
55789
 
55789
- Object.defineProperty(exports, "__esModule", {
55790
+ Object.defineProperty(exports$1, "__esModule", {
55790
55791
  value: true
55791
55792
  });
55792
55793
 
@@ -56178,8 +56179,8 @@ function requireServer () {
56178
56179
  return Server;
56179
56180
  }(_events2.default.EventEmitter);
56180
56181
 
56181
- exports.default = Server;
56182
- module.exports = exports['default'];
56182
+ exports$1.default = Server;
56183
+ module.exports = exports$1['default'];
56183
56184
  } (server$1, server$1.exports));
56184
56185
  return server$1.exports;
56185
56186
  }
@@ -56189,9 +56190,9 @@ var hasRequiredSrc;
56189
56190
  function requireSrc () {
56190
56191
  if (hasRequiredSrc) return src$1.exports;
56191
56192
  hasRequiredSrc = 1;
56192
- (function (module, exports) {
56193
+ (function (module, exports$1) {
56193
56194
 
56194
- Object.defineProperty(exports, "__esModule", {
56195
+ Object.defineProperty(exports$1, "__esModule", {
56195
56196
  value: true
56196
56197
  });
56197
56198
 
@@ -56210,7 +56211,7 @@ function requireSrc () {
56210
56211
  // Need to keep track of LR servers when notifying
56211
56212
  var servers = [];
56212
56213
 
56213
- exports.default = tinylr;
56214
+ exports$1.default = tinylr;
56214
56215
 
56215
56216
  // Expose Server / Client objects
56216
56217
 
@@ -56249,7 +56250,7 @@ function requireSrc () {
56249
56250
  });
56250
56251
  done();
56251
56252
  }
56252
- module.exports = exports['default'];
56253
+ module.exports = exports$1['default'];
56253
56254
  } (src$1, src$1.exports));
56254
56255
  return src$1.exports;
56255
56256
  }
@@ -56258,4 +56259,4 @@ var srcExports = requireSrc();
56258
56259
  var tinylr = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
56259
56260
 
56260
56261
  export { HighlightJS as H, MarkdownIt as M, deflist_plugin as a, closest as b, createTwoFilesPatch as c, dedent as d, distance as e, fm as f, globSync as g, glob as h, isCI as i, moduleImporter as j, cliProgress as k, createInstance as l, minimatch as m, fse as n, inter as o, tinylr as t, watch$1 as w };
56261
- //# sourceMappingURL=vendor-BYLZFg6n.mjs.map
56262
+ //# sourceMappingURL=vendor-BAYn8diL.mjs.map