poe-code 12.0.11 → 13.0.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.
- package/dist/index.js +6 -3
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/node_modules/esprima/LICENSE.BSD +21 -0
- package/node_modules/esprima/README.md +46 -0
- package/node_modules/esprima/bin/esparse.js +139 -0
- package/node_modules/esprima/bin/esvalidate.js +236 -0
- package/node_modules/esprima/dist/esprima.js +6709 -0
- package/node_modules/esprima/package.json +112 -0
- package/node_modules/extend-shallow/LICENSE +21 -0
- package/node_modules/extend-shallow/README.md +61 -0
- package/node_modules/extend-shallow/index.js +33 -0
- package/node_modules/extend-shallow/package.json +56 -0
- package/node_modules/gray-matter/LICENSE +21 -0
- package/node_modules/gray-matter/README.md +565 -0
- package/node_modules/gray-matter/gray-matter.d.ts +114 -0
- package/node_modules/gray-matter/index.js +228 -0
- package/node_modules/gray-matter/lib/defaults.js +18 -0
- package/node_modules/gray-matter/lib/engine.js +30 -0
- package/node_modules/gray-matter/lib/engines.js +54 -0
- package/node_modules/gray-matter/lib/excerpt.js +32 -0
- package/node_modules/gray-matter/lib/parse.js +13 -0
- package/node_modules/gray-matter/lib/stringify.js +56 -0
- package/node_modules/gray-matter/lib/to-file.js +43 -0
- package/node_modules/gray-matter/lib/utils.js +66 -0
- package/node_modules/gray-matter/node_modules/argparse/LICENSE +21 -0
- package/node_modules/gray-matter/node_modules/argparse/README.md +257 -0
- package/node_modules/gray-matter/node_modules/argparse/index.js +3 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/append/constant.js +47 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/append.js +53 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/count.js +40 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/help.js +47 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/store/constant.js +43 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/store/false.js +27 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/store/true.js +26 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/store.js +50 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/subparsers.js +149 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action/version.js +47 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action.js +146 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/action_container.js +482 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/argparse.js +14 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/argument/error.js +50 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/argument/exclusive.js +54 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/argument/group.js +75 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/argument_parser.js +1161 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/const.js +21 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/help/added_formatters.js +87 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/help/formatter.js +795 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/namespace.js +76 -0
- package/node_modules/gray-matter/node_modules/argparse/lib/utils.js +57 -0
- package/node_modules/gray-matter/node_modules/argparse/package.json +34 -0
- package/node_modules/gray-matter/node_modules/js-yaml/LICENSE +21 -0
- package/node_modules/gray-matter/node_modules/js-yaml/README.md +302 -0
- package/node_modules/gray-matter/node_modules/js-yaml/bin/js-yaml.js +132 -0
- package/node_modules/gray-matter/node_modules/js-yaml/dist/js-yaml.js +4011 -0
- package/node_modules/gray-matter/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
- package/node_modules/gray-matter/node_modules/js-yaml/index.js +7 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/loader.js +1666 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- package/node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml.js +39 -0
- package/node_modules/gray-matter/node_modules/js-yaml/package.json +52 -0
- package/node_modules/gray-matter/package.json +127 -0
- package/node_modules/is-extendable/LICENSE +21 -0
- package/node_modules/is-extendable/README.md +72 -0
- package/node_modules/is-extendable/index.js +13 -0
- package/node_modules/is-extendable/package.json +51 -0
- package/node_modules/kind-of/LICENSE +21 -0
- package/node_modules/kind-of/README.md +367 -0
- package/node_modules/kind-of/index.js +129 -0
- package/node_modules/kind-of/package.json +88 -0
- package/node_modules/section-matter/LICENSE +21 -0
- package/node_modules/section-matter/README.md +236 -0
- package/node_modules/section-matter/index.js +136 -0
- package/node_modules/section-matter/package.json +55 -0
- package/node_modules/sprintf-js/.npmignore +1 -0
- package/node_modules/sprintf-js/LICENSE +24 -0
- package/node_modules/sprintf-js/README.md +88 -0
- package/node_modules/sprintf-js/bower.json +14 -0
- package/node_modules/sprintf-js/demo/angular.html +20 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
- package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
- package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
- package/node_modules/sprintf-js/gruntfile.js +36 -0
- package/node_modules/sprintf-js/package.json +22 -0
- package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
- package/node_modules/sprintf-js/src/sprintf.js +208 -0
- package/node_modules/sprintf-js/test/test.js +82 -0
- package/node_modules/strip-bom-string/LICENSE +21 -0
- package/node_modules/strip-bom-string/README.md +66 -0
- package/node_modules/strip-bom-string/index.js +15 -0
- package/node_modules/strip-bom-string/package.json +60 -0
- package/package.json +6 -3
- package/packages/safe-fs/dist/fs/webdav/webdav.d.ts +2 -0
- package/packages/safe-js/dist/browser/chunks/{chunk-MUKMA7ZY.js → chunk-GJWMQ42Z.js} +35 -2
- package/packages/safe-js/dist/browser/chunks/{chunk-MUKMA7ZY.js.map → chunk-GJWMQ42Z.js.map} +2 -2
- package/packages/safe-js/dist/browser/safe-fs-core.js +1 -1
- package/packages/safe-js/dist/browser/safe-fs.js +1 -1
- package/packages/safe-js/dist/chunks/{chunk-HCODJUGF.js → chunk-EL23VF23.js} +3 -3
- package/packages/safe-js/dist/chunks/{chunk-YBQUQPZV.js → chunk-WVN5MMDR.js} +35 -2
- package/packages/safe-js/dist/chunks/chunk-WVN5MMDR.js.map +7 -0
- package/packages/safe-js/dist/chunks/{chunk-F7NY24BF.js → chunk-ZRX5HT5L.js} +2 -2
- package/packages/safe-js/dist/cli.js +3 -3
- package/packages/safe-js/dist/index.js +3 -3
- package/packages/safe-js/dist/safe-fs-core.js +1 -1
- package/packages/safe-js/dist/safe-fs-node.js +2 -2
- package/packages/safe-js/dist/safe-fs.js +2 -2
- package/packages/safe-js/dist/chunks/chunk-YBQUQPZV.js.map +0 -7
- /package/packages/safe-js/dist/chunks/{chunk-HCODJUGF.js.map → chunk-EL23VF23.js.map} +0 -0
- /package/packages/safe-js/dist/chunks/{chunk-F7NY24BF.js.map → chunk-ZRX5HT5L.js.map} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Constants
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
module.exports.EOL = '\n';
|
|
8
|
+
|
|
9
|
+
module.exports.SUPPRESS = '==SUPPRESS==';
|
|
10
|
+
|
|
11
|
+
module.exports.OPTIONAL = '?';
|
|
12
|
+
|
|
13
|
+
module.exports.ZERO_OR_MORE = '*';
|
|
14
|
+
|
|
15
|
+
module.exports.ONE_OR_MORE = '+';
|
|
16
|
+
|
|
17
|
+
module.exports.PARSER = 'A...';
|
|
18
|
+
|
|
19
|
+
module.exports.REMAINDER = '...';
|
|
20
|
+
|
|
21
|
+
module.exports._UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var util = require('util');
|
|
4
|
+
|
|
5
|
+
// Constants
|
|
6
|
+
var c = require('../const');
|
|
7
|
+
|
|
8
|
+
var $$ = require('../utils');
|
|
9
|
+
var HelpFormatter = require('./formatter.js');
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* new RawDescriptionHelpFormatter(options)
|
|
13
|
+
* new ArgumentParser({formatterClass: argparse.RawDescriptionHelpFormatter, ...})
|
|
14
|
+
*
|
|
15
|
+
* Help message formatter which adds default values to argument help.
|
|
16
|
+
*
|
|
17
|
+
* Only the name of this class is considered a public API. All the methods
|
|
18
|
+
* provided by the class are considered an implementation detail.
|
|
19
|
+
**/
|
|
20
|
+
|
|
21
|
+
function ArgumentDefaultsHelpFormatter(options) {
|
|
22
|
+
HelpFormatter.call(this, options);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
util.inherits(ArgumentDefaultsHelpFormatter, HelpFormatter);
|
|
26
|
+
|
|
27
|
+
ArgumentDefaultsHelpFormatter.prototype._getHelpString = function (action) {
|
|
28
|
+
var help = action.help;
|
|
29
|
+
if (action.help.indexOf('%(defaultValue)s') === -1) {
|
|
30
|
+
if (action.defaultValue !== c.SUPPRESS) {
|
|
31
|
+
var defaulting_nargs = [ c.OPTIONAL, c.ZERO_OR_MORE ];
|
|
32
|
+
if (action.isOptional() || (defaulting_nargs.indexOf(action.nargs) >= 0)) {
|
|
33
|
+
help += ' (default: %(defaultValue)s)';
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return help;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
module.exports.ArgumentDefaultsHelpFormatter = ArgumentDefaultsHelpFormatter;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* new RawDescriptionHelpFormatter(options)
|
|
44
|
+
* new ArgumentParser({formatterClass: argparse.RawDescriptionHelpFormatter, ...})
|
|
45
|
+
*
|
|
46
|
+
* Help message formatter which retains any formatting in descriptions.
|
|
47
|
+
*
|
|
48
|
+
* Only the name of this class is considered a public API. All the methods
|
|
49
|
+
* provided by the class are considered an implementation detail.
|
|
50
|
+
**/
|
|
51
|
+
|
|
52
|
+
function RawDescriptionHelpFormatter(options) {
|
|
53
|
+
HelpFormatter.call(this, options);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
util.inherits(RawDescriptionHelpFormatter, HelpFormatter);
|
|
57
|
+
|
|
58
|
+
RawDescriptionHelpFormatter.prototype._fillText = function (text, width, indent) {
|
|
59
|
+
var lines = text.split('\n');
|
|
60
|
+
lines = lines.map(function (line) {
|
|
61
|
+
return $$.trimEnd(indent + line);
|
|
62
|
+
});
|
|
63
|
+
return lines.join('\n');
|
|
64
|
+
};
|
|
65
|
+
module.exports.RawDescriptionHelpFormatter = RawDescriptionHelpFormatter;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* new RawTextHelpFormatter(options)
|
|
69
|
+
* new ArgumentParser({formatterClass: argparse.RawTextHelpFormatter, ...})
|
|
70
|
+
*
|
|
71
|
+
* Help message formatter which retains formatting of all help text.
|
|
72
|
+
*
|
|
73
|
+
* Only the name of this class is considered a public API. All the methods
|
|
74
|
+
* provided by the class are considered an implementation detail.
|
|
75
|
+
**/
|
|
76
|
+
|
|
77
|
+
function RawTextHelpFormatter(options) {
|
|
78
|
+
RawDescriptionHelpFormatter.call(this, options);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
util.inherits(RawTextHelpFormatter, RawDescriptionHelpFormatter);
|
|
82
|
+
|
|
83
|
+
RawTextHelpFormatter.prototype._splitLines = function (text) {
|
|
84
|
+
return text.split('\n');
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
module.exports.RawTextHelpFormatter = RawTextHelpFormatter;
|