angular-slickgrid 4.2.1 → 4.2.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.
Files changed (205) hide show
  1. package/LICENSE +20 -20
  2. package/app/modules/angular-slickgrid/components/angular-slickgrid.component.d.ts +2 -2
  3. package/app/modules/angular-slickgrid/extensions/slickRowDetailView.d.ts +0 -2
  4. package/docs/assets/lib/multiple-select/README.md +17 -17
  5. package/esm2020/app/modules/angular-slickgrid/components/angular-slickgrid.component.mjs +14 -14
  6. package/esm2020/app/modules/angular-slickgrid/constants.mjs +1 -1
  7. package/esm2020/app/modules/angular-slickgrid/extensions/index.mjs +1 -1
  8. package/esm2020/app/modules/angular-slickgrid/extensions/slickRowDetailView.mjs +2 -4
  9. package/esm2020/app/modules/angular-slickgrid/global-grid-options.mjs +1 -1
  10. package/esm2020/app/modules/angular-slickgrid/index.mjs +1 -1
  11. package/esm2020/app/modules/angular-slickgrid/models/angularComponentOutput.interface.mjs +1 -1
  12. package/esm2020/app/modules/angular-slickgrid/models/angularGridInstance.interface.mjs +1 -1
  13. package/esm2020/app/modules/angular-slickgrid/models/externalTestingDependencies.interface.mjs +1 -1
  14. package/esm2020/app/modules/angular-slickgrid/models/gridOption.interface.mjs +1 -1
  15. package/esm2020/app/modules/angular-slickgrid/models/index.mjs +1 -1
  16. package/esm2020/app/modules/angular-slickgrid/models/rowDetailView.interface.mjs +1 -1
  17. package/esm2020/app/modules/angular-slickgrid/models/slickGrid.interface.mjs +1 -1
  18. package/esm2020/app/modules/angular-slickgrid/modules/angular-slickgrid.module.mjs +7 -10
  19. package/esm2020/app/modules/angular-slickgrid/services/angularUtil.service.mjs +4 -4
  20. package/esm2020/app/modules/angular-slickgrid/services/bsDropdown.service.mjs +4 -4
  21. package/esm2020/app/modules/angular-slickgrid/services/container.service.mjs +4 -4
  22. package/esm2020/app/modules/angular-slickgrid/services/index.mjs +1 -1
  23. package/esm2020/app/modules/angular-slickgrid/services/translater.service.mjs +4 -4
  24. package/esm2020/app/modules/angular-slickgrid/services/utilities.mjs +1 -1
  25. package/esm2020/app/modules/angular-slickgrid/slickgrid-config.mjs +1 -1
  26. package/esm2020/public_api.mjs +1 -1
  27. package/fesm2015/angular-slickgrid.mjs +32 -37
  28. package/fesm2015/angular-slickgrid.mjs.map +1 -1
  29. package/fesm2020/angular-slickgrid.mjs +32 -37
  30. package/fesm2020/angular-slickgrid.mjs.map +1 -1
  31. package/i18n/en.json +89 -89
  32. package/i18n/fr.json +90 -90
  33. package/{angular-slickgrid.d.ts → index.d.ts} +0 -0
  34. package/package.json +11 -11
  35. package/test/cypress/node_modules/@cypress/request/README.md +1038 -0
  36. package/test/cypress/node_modules/@cypress/xvfb/README.md +48 -0
  37. package/test/cypress/node_modules/@cypress/xvfb/node_modules/debug/README.md +437 -0
  38. package/test/cypress/node_modules/@types/node/README.md +16 -0
  39. package/test/cypress/node_modules/@types/sinonjs__fake-timers/README.md +16 -0
  40. package/test/cypress/node_modules/@types/sizzle/README.md +16 -0
  41. package/test/cypress/node_modules/@types/yauzl/README.md +16 -0
  42. package/test/cypress/node_modules/@types/yauzl/node_modules/@types/node/README.md +16 -0
  43. package/test/cypress/node_modules/aggregate-error/README.md +61 -0
  44. package/test/cypress/node_modules/ansi-colors/README.md +315 -0
  45. package/test/cypress/node_modules/ansi-escapes/README.md +245 -0
  46. package/test/cypress/node_modules/ansi-regex/README.md +78 -0
  47. package/test/cypress/node_modules/ansi-styles/README.md +152 -0
  48. package/test/cypress/node_modules/arch/README.md +71 -0
  49. package/test/cypress/node_modules/asn1/README.md +50 -0
  50. package/test/cypress/node_modules/assert-plus/README.md +162 -0
  51. package/test/cypress/node_modules/astral-regex/README.md +46 -0
  52. package/test/cypress/node_modules/async/README.md +60 -0
  53. package/test/cypress/node_modules/asynckit/README.md +233 -0
  54. package/test/cypress/node_modules/at-least-node/README.md +25 -0
  55. package/test/cypress/node_modules/aws-sign2/README.md +4 -0
  56. package/test/cypress/node_modules/aws4/README.md +183 -0
  57. package/test/cypress/node_modules/balanced-match/README.md +91 -0
  58. package/test/cypress/node_modules/base64-js/README.md +34 -0
  59. package/test/cypress/node_modules/bcrypt-pbkdf/README.md +45 -0
  60. package/test/cypress/node_modules/blob-util/README.md +623 -0
  61. package/test/cypress/node_modules/bluebird/README.md +57 -0
  62. package/test/cypress/node_modules/brace-expansion/README.md +129 -0
  63. package/test/cypress/node_modules/buffer/README.md +410 -0
  64. package/test/cypress/node_modules/buffer-crc32/README.md +47 -0
  65. package/test/cypress/node_modules/cachedir/README.md +27 -0
  66. package/test/cypress/node_modules/caseless/README.md +45 -0
  67. package/test/cypress/node_modules/chalk/README.md +293 -0
  68. package/test/cypress/node_modules/chalk/node_modules/supports-color/README.md +76 -0
  69. package/test/cypress/node_modules/check-more-types/README.md +952 -0
  70. package/test/cypress/node_modules/ci-info/README.md +114 -0
  71. package/test/cypress/node_modules/clean-stack/README.md +76 -0
  72. package/test/cypress/node_modules/cli-cursor/README.md +55 -0
  73. package/test/cypress/node_modules/cli-table3/README.md +218 -0
  74. package/test/cypress/node_modules/cli-truncate/README.md +139 -0
  75. package/test/cypress/node_modules/color-convert/README.md +68 -0
  76. package/test/cypress/node_modules/color-name/README.md +11 -0
  77. package/test/cypress/node_modules/colorette/README.md +102 -0
  78. package/test/cypress/node_modules/colors/README.md +221 -0
  79. package/test/cypress/node_modules/combined-stream/README.md +138 -0
  80. package/test/cypress/node_modules/commander/README.md +737 -0
  81. package/test/cypress/node_modules/common-tags/README.md +687 -0
  82. package/test/cypress/node_modules/core-util-is/README.md +3 -0
  83. package/test/cypress/node_modules/cross-spawn/README.md +96 -0
  84. package/test/cypress/node_modules/cypress/README.md +25 -0
  85. package/test/cypress/node_modules/cypress/mount-utils/README.md +14 -0
  86. package/test/cypress/node_modules/cypress/react/README.md +414 -0
  87. package/test/cypress/node_modules/cypress/vue/README.md +678 -0
  88. package/test/cypress/node_modules/cypress/vue2/README.md +693 -0
  89. package/test/cypress/node_modules/dashdash/README.md +574 -0
  90. package/test/cypress/node_modules/dayjs/README.md +128 -0
  91. package/test/cypress/node_modules/debug/README.md +455 -0
  92. package/test/cypress/node_modules/delayed-stream/README.md +141 -0
  93. package/test/cypress/node_modules/ecc-jsbn/README.md +8 -0
  94. package/test/cypress/node_modules/emoji-regex/README.md +73 -0
  95. package/test/cypress/node_modules/end-of-stream/README.md +54 -0
  96. package/test/cypress/node_modules/enquirer/README.md +1752 -0
  97. package/test/cypress/node_modules/escape-string-regexp/README.md +27 -0
  98. package/test/cypress/node_modules/eventemitter2/README.md +809 -0
  99. package/test/cypress/node_modules/execa/README.md +656 -0
  100. package/test/cypress/node_modules/executable/README.md +64 -0
  101. package/test/cypress/node_modules/extend/README.md +81 -0
  102. package/test/cypress/node_modules/extract-zip/README.md +57 -0
  103. package/test/cypress/node_modules/extract-zip/node_modules/debug/README.md +455 -0
  104. package/test/cypress/node_modules/extsprintf/README.md +46 -0
  105. package/test/cypress/node_modules/fd-slicer/README.md +199 -0
  106. package/test/cypress/node_modules/figures/README.md +139 -0
  107. package/test/cypress/node_modules/forever-agent/README.md +4 -0
  108. package/test/cypress/node_modules/form-data/README.md +234 -0
  109. package/test/cypress/node_modules/fs-extra/README.md +264 -0
  110. package/test/cypress/node_modules/fs.realpath/README.md +33 -0
  111. package/test/cypress/node_modules/get-stream/README.md +124 -0
  112. package/test/cypress/node_modules/getos/README.md +79 -0
  113. package/test/cypress/node_modules/getpass/README.md +32 -0
  114. package/test/cypress/node_modules/glob/README.md +375 -0
  115. package/test/cypress/node_modules/global-dirs/README.md +72 -0
  116. package/test/cypress/node_modules/graceful-fs/README.md +133 -0
  117. package/test/cypress/node_modules/has-flag/README.md +89 -0
  118. package/test/cypress/node_modules/http-signature/README.md +80 -0
  119. package/test/cypress/node_modules/human-signals/README.md +155 -0
  120. package/test/cypress/node_modules/ieee754/README.md +51 -0
  121. package/test/cypress/node_modules/indent-string/README.md +70 -0
  122. package/test/cypress/node_modules/inflight/README.md +37 -0
  123. package/test/cypress/node_modules/inherits/README.md +42 -0
  124. package/test/cypress/node_modules/ini/README.md +102 -0
  125. package/test/cypress/node_modules/is-ci/README.md +50 -0
  126. package/test/cypress/node_modules/is-fullwidth-code-point/README.md +39 -0
  127. package/test/cypress/node_modules/is-installed-globally/README.md +31 -0
  128. package/test/cypress/node_modules/is-path-inside/README.md +63 -0
  129. package/test/cypress/node_modules/is-stream/README.md +57 -0
  130. package/test/cypress/node_modules/is-typedarray/README.md +16 -0
  131. package/test/cypress/node_modules/isexe/README.md +51 -0
  132. package/test/cypress/node_modules/isstream/README.md +66 -0
  133. package/test/cypress/node_modules/jsbn/README.md +175 -0
  134. package/test/cypress/node_modules/json-schema/README.md +3 -0
  135. package/test/cypress/node_modules/json-stringify-safe/README.md +52 -0
  136. package/test/cypress/node_modules/jsonfile/README.md +205 -0
  137. package/test/cypress/node_modules/jsonfile/node_modules/universalify/README.md +76 -0
  138. package/test/cypress/node_modules/jsprim/README.md +287 -0
  139. package/test/cypress/node_modules/lazy-ass/README.md +269 -0
  140. package/test/cypress/node_modules/listr2/README.md +17 -0
  141. package/test/cypress/node_modules/lodash/README.md +39 -0
  142. package/test/cypress/node_modules/lodash.once/README.md +18 -0
  143. package/test/cypress/node_modules/log-symbols/README.md +51 -0
  144. package/test/cypress/node_modules/log-update/README.md +97 -0
  145. package/test/cypress/node_modules/log-update/node_modules/slice-ansi/README.md +66 -0
  146. package/test/cypress/node_modules/log-update/node_modules/wrap-ansi/README.md +97 -0
  147. package/test/cypress/node_modules/lru-cache/README.md +166 -0
  148. package/test/cypress/node_modules/merge-stream/README.md +78 -0
  149. package/test/cypress/node_modules/mime-db/README.md +102 -0
  150. package/test/cypress/node_modules/mime-types/README.md +123 -0
  151. package/test/cypress/node_modules/mimic-fn/README.md +69 -0
  152. package/test/cypress/node_modules/minimatch/README.md +209 -0
  153. package/test/cypress/node_modules/ms/README.md +60 -0
  154. package/test/cypress/node_modules/npm-run-path/README.md +115 -0
  155. package/test/cypress/node_modules/once/README.md +79 -0
  156. package/test/cypress/node_modules/onetime/README.md +94 -0
  157. package/test/cypress/node_modules/ospath/README.md +53 -0
  158. package/test/cypress/node_modules/p-map/README.md +89 -0
  159. package/test/cypress/node_modules/path-is-absolute/README.md +59 -0
  160. package/test/cypress/node_modules/path-key/README.md +61 -0
  161. package/test/cypress/node_modules/pend/README.md +41 -0
  162. package/test/cypress/node_modules/performance-now/README.md +30 -0
  163. package/test/cypress/node_modules/pify/README.md +119 -0
  164. package/test/cypress/node_modules/pretty-bytes/README.md +131 -0
  165. package/test/cypress/node_modules/proxy-from-env/README.md +131 -0
  166. package/test/cypress/node_modules/psl/README.md +215 -0
  167. package/test/cypress/node_modules/pump/README.md +65 -0
  168. package/test/cypress/node_modules/punycode/README.md +122 -0
  169. package/test/cypress/node_modules/qs/README.md +475 -0
  170. package/test/cypress/node_modules/request-progress/README.md +78 -0
  171. package/test/cypress/node_modules/restore-cursor/README.md +26 -0
  172. package/test/cypress/node_modules/rimraf/README.md +101 -0
  173. package/test/cypress/node_modules/rxjs/README.md +147 -0
  174. package/test/cypress/node_modules/rxjs/_esm2015/README.md +147 -0
  175. package/test/cypress/node_modules/rxjs/_esm5/README.md +147 -0
  176. package/test/cypress/node_modules/rxjs/src/README.md +147 -0
  177. package/test/cypress/node_modules/safe-buffer/README.md +584 -0
  178. package/test/cypress/node_modules/safer-buffer/README.md +156 -0
  179. package/test/cypress/node_modules/semver/README.md +566 -0
  180. package/test/cypress/node_modules/shebang-command/README.md +34 -0
  181. package/test/cypress/node_modules/shebang-regex/README.md +33 -0
  182. package/test/cypress/node_modules/signal-exit/README.md +39 -0
  183. package/test/cypress/node_modules/slice-ansi/README.md +72 -0
  184. package/test/cypress/node_modules/sshpk/README.md +804 -0
  185. package/test/cypress/node_modules/string-width/README.md +50 -0
  186. package/test/cypress/node_modules/strip-ansi/README.md +46 -0
  187. package/test/cypress/node_modules/strip-final-newline/README.md +30 -0
  188. package/test/cypress/node_modules/supports-color/README.md +77 -0
  189. package/test/cypress/node_modules/throttleit/README.md +32 -0
  190. package/test/cypress/node_modules/tmp/README.md +365 -0
  191. package/test/cypress/node_modules/tough-cookie/README.md +527 -0
  192. package/test/cypress/node_modules/tslib/README.md +142 -0
  193. package/test/cypress/node_modules/tunnel-agent/README.md +4 -0
  194. package/test/cypress/node_modules/tweetnacl/README.md +459 -0
  195. package/test/cypress/node_modules/type-fest/README.md +760 -0
  196. package/test/cypress/node_modules/universalify/README.md +76 -0
  197. package/test/cypress/node_modules/untildify/README.md +30 -0
  198. package/test/cypress/node_modules/uuid/README.md +505 -0
  199. package/test/cypress/node_modules/verror/README.md +528 -0
  200. package/test/cypress/node_modules/verror/node_modules/extsprintf/README.md +46 -0
  201. package/test/cypress/node_modules/which/README.md +54 -0
  202. package/test/cypress/node_modules/wrap-ansi/README.md +91 -0
  203. package/test/cypress/node_modules/wrappy/README.md +36 -0
  204. package/test/cypress/node_modules/yallist/README.md +204 -0
  205. package/test/cypress/node_modules/yauzl/README.md +658 -0
@@ -0,0 +1,80 @@
1
+ # node-http-signature
2
+
3
+ node-http-signature is a node.js library that has client and server components
4
+ for Joyent's [HTTP Signature Scheme](http_signing.md).
5
+
6
+ ## Usage
7
+
8
+ Note the example below signs a request with the same key/cert used to start an
9
+ HTTP server. This is almost certainly not what you actually want, but is just
10
+ used to illustrate the API calls; you will need to provide your own key
11
+ management in addition to this library.
12
+
13
+ ### Client
14
+
15
+ ```js
16
+ var fs = require('fs');
17
+ var https = require('https');
18
+ var httpSignature = require('http-signature');
19
+
20
+ var key = fs.readFileSync('./key.pem', 'ascii');
21
+
22
+ var options = {
23
+ host: 'localhost',
24
+ port: 8443,
25
+ path: '/',
26
+ method: 'GET',
27
+ headers: {}
28
+ };
29
+
30
+ // Adds a 'Date' header in, signs it, and adds the
31
+ // 'Authorization' header in.
32
+ var req = https.request(options, function(res) {
33
+ console.log(res.statusCode);
34
+ });
35
+
36
+
37
+ httpSignature.sign(req, {
38
+ key: key,
39
+ keyId: './cert.pem',
40
+ keyPassphrase: 'secret' // (optional)
41
+ });
42
+
43
+ req.end();
44
+ ```
45
+
46
+ ### Server
47
+
48
+ ```js
49
+ var fs = require('fs');
50
+ var https = require('https');
51
+ var httpSignature = require('http-signature');
52
+
53
+ var options = {
54
+ key: fs.readFileSync('./key.pem'),
55
+ cert: fs.readFileSync('./cert.pem')
56
+ };
57
+
58
+ https.createServer(options, function (req, res) {
59
+ var rc = 200;
60
+ var parsed = httpSignature.parseRequest(req);
61
+ var pub = fs.readFileSync(parsed.keyId, 'ascii');
62
+ if (!httpSignature.verifySignature(parsed, pub))
63
+ rc = 401;
64
+
65
+ res.writeHead(rc);
66
+ res.end();
67
+ }).listen(8443);
68
+ ```
69
+
70
+ ## Installation
71
+
72
+ npm install http-signature
73
+
74
+ ## License
75
+
76
+ MIT.
77
+
78
+ ## Bugs
79
+
80
+ See <https://github.com/joyent/node-http-signature/issues>.
@@ -0,0 +1,155 @@
1
+ [![Codecov](https://img.shields.io/codecov/c/github/ehmicky/human-signals.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/human-signals)
2
+ [![Travis](https://img.shields.io/badge/cross-platform-4cc61e.svg?logo=travis)](https://travis-ci.org/ehmicky/human-signals)
3
+ [![Node](https://img.shields.io/node/v/human-signals.svg?logo=node.js)](https://www.npmjs.com/package/human-signals)
4
+ [![Gitter](https://img.shields.io/gitter/room/ehmicky/human-signals.svg?logo=gitter)](https://gitter.im/ehmicky/human-signals)
5
+ [![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-4cc61e.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
6
+ [![Medium](https://img.shields.io/badge/%E2%80%8B-medium-4cc61e.svg?logo=medium)](https://medium.com/@ehmicky)
7
+
8
+ Human-friendly process signals.
9
+
10
+ This is a map of known process signals with some information about each signal.
11
+
12
+ Unlike
13
+ [`os.constants.signals`](https://nodejs.org/api/os.html#os_signal_constants)
14
+ this includes:
15
+
16
+ - human-friendly [descriptions](#description)
17
+ - [default actions](#action), including whether they [can be prevented](#forced)
18
+ - whether the signal is [supported](#supported) by the current OS
19
+
20
+ # Example
21
+
22
+ ```js
23
+ const { signalsByName, signalsByNumber } = require('human-signals')
24
+
25
+ console.log(signalsByName.SIGINT)
26
+ // {
27
+ // name: 'SIGINT',
28
+ // number: 2,
29
+ // description: 'User interruption with CTRL-C',
30
+ // supported: true,
31
+ // action: 'terminate',
32
+ // forced: false,
33
+ // standard: 'ansi'
34
+ // }
35
+
36
+ console.log(signalsByNumber[8])
37
+ // {
38
+ // name: 'SIGFPE',
39
+ // number: 8,
40
+ // description: 'Floating point arithmetic error',
41
+ // supported: true,
42
+ // action: 'core',
43
+ // forced: false,
44
+ // standard: 'ansi'
45
+ // }
46
+ ```
47
+
48
+ # Install
49
+
50
+ ```bash
51
+ npm install human-signals
52
+ ```
53
+
54
+ # Usage
55
+
56
+ ## signalsByName
57
+
58
+ _Type_: `object`
59
+
60
+ Object whose keys are signal [names](#name) and values are
61
+ [signal objects](#signal).
62
+
63
+ ## signalsByNumber
64
+
65
+ _Type_: `object`
66
+
67
+ Object whose keys are signal [numbers](#number) and values are
68
+ [signal objects](#signal).
69
+
70
+ ## signal
71
+
72
+ _Type_: `object`
73
+
74
+ Signal object with the following properties.
75
+
76
+ ### name
77
+
78
+ _Type_: `string`
79
+
80
+ Standard name of the signal, for example `'SIGINT'`.
81
+
82
+ ### number
83
+
84
+ _Type_: `number`
85
+
86
+ Code number of the signal, for example `2`. While most `number` are
87
+ cross-platform, some are different between different OS.
88
+
89
+ ### description
90
+
91
+ _Type_: `string`
92
+
93
+ Human-friendly description for the signal, for example
94
+ `'User interruption with CTRL-C'`.
95
+
96
+ ### supported
97
+
98
+ _Type_: `boolean`
99
+
100
+ Whether the current OS can handle this signal in Node.js using
101
+ [`process.on(name, handler)`](https://nodejs.org/api/process.html#process_signal_events).
102
+
103
+ The list of supported signals
104
+ [is OS-specific](https://github.com/ehmicky/cross-platform-node-guide/blob/master/docs/6_networking_ipc/signals.md#cross-platform-signals).
105
+
106
+ ### action
107
+
108
+ _Type_: `string`<br>_Enum_: `'terminate'`, `'core'`, `'ignore'`, `'pause'`,
109
+ `'unpause'`
110
+
111
+ What is the default action for this signal when it is not handled.
112
+
113
+ ### forced
114
+
115
+ _Type_: `boolean`
116
+
117
+ Whether the signal's default action cannot be prevented. This is `true` for
118
+ `SIGTERM`, `SIGKILL` and `SIGSTOP`.
119
+
120
+ ### standard
121
+
122
+ _Type_: `string`<br>_Enum_: `'ansi'`, `'posix'`, `'bsd'`, `'systemv'`, `'other'`
123
+
124
+ Which standard defined that signal.
125
+
126
+ # Support
127
+
128
+ If you found a bug or would like a new feature, _don't hesitate_ to
129
+ [submit an issue on GitHub](../../issues).
130
+
131
+ For other questions, feel free to
132
+ [chat with us on Gitter](https://gitter.im/ehmicky/human-signals).
133
+
134
+ Everyone is welcome regardless of personal background. We enforce a
135
+ [Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and
136
+ inclusive environment.
137
+
138
+ # Contributing
139
+
140
+ This project was made with ❤️. The simplest way to give back is by starring and
141
+ sharing it online.
142
+
143
+ If the documentation is unclear or has a typo, please click on the page's `Edit`
144
+ button (pencil icon) and suggest a correction.
145
+
146
+ If you would like to help us fix a bug or add a new feature, please check our
147
+ [guidelines](CONTRIBUTING.md). Pull requests are welcome!
148
+
149
+ <!-- Thanks go to our wonderful contributors: -->
150
+
151
+ <!-- ALL-CONTRIBUTORS-LIST:START -->
152
+ <!-- prettier-ignore -->
153
+ <table><tr><td align="center"><a href="https://twitter.com/ehmicky"><img src="https://avatars2.githubusercontent.com/u/8136211?v=4" width="100px;" alt="ehmicky"/><br /><sub><b>ehmicky</b></sub></a><br /><a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Code">💻</a> <a href="#design-ehmicky" title="Design">🎨</a> <a href="#ideas-ehmicky" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/ehmicky/human-signals/commits?author=ehmicky" title="Documentation">📖</a></td></tr></table>
154
+
155
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
@@ -0,0 +1,51 @@
1
+ # ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
2
+
3
+ [travis-image]: https://img.shields.io/travis/feross/ieee754/master.svg
4
+ [travis-url]: https://travis-ci.org/feross/ieee754
5
+ [npm-image]: https://img.shields.io/npm/v/ieee754.svg
6
+ [npm-url]: https://npmjs.org/package/ieee754
7
+ [downloads-image]: https://img.shields.io/npm/dm/ieee754.svg
8
+ [downloads-url]: https://npmjs.org/package/ieee754
9
+ [standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
10
+ [standard-url]: https://standardjs.com
11
+
12
+ [![saucelabs][saucelabs-image]][saucelabs-url]
13
+
14
+ [saucelabs-image]: https://saucelabs.com/browser-matrix/ieee754.svg
15
+ [saucelabs-url]: https://saucelabs.com/u/ieee754
16
+
17
+ ### Read/write IEEE754 floating point numbers from/to a Buffer or array-like object.
18
+
19
+ ## install
20
+
21
+ ```
22
+ npm install ieee754
23
+ ```
24
+
25
+ ## methods
26
+
27
+ `var ieee754 = require('ieee754')`
28
+
29
+ The `ieee754` object has the following functions:
30
+
31
+ ```
32
+ ieee754.read = function (buffer, offset, isLE, mLen, nBytes)
33
+ ieee754.write = function (buffer, value, offset, isLE, mLen, nBytes)
34
+ ```
35
+
36
+ The arguments mean the following:
37
+
38
+ - buffer = the buffer
39
+ - offset = offset into the buffer
40
+ - value = value to set (only for `write`)
41
+ - isLe = is little endian?
42
+ - mLen = mantissa length
43
+ - nBytes = number of bytes
44
+
45
+ ## what is ieee754?
46
+
47
+ The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point computation. [Read more](http://en.wikipedia.org/wiki/IEEE_floating_point).
48
+
49
+ ## license
50
+
51
+ BSD 3 Clause. Copyright (c) 2008, Fair Oaks Labs, Inc.
@@ -0,0 +1,70 @@
1
+ # indent-string [![Build Status](https://travis-ci.org/sindresorhus/indent-string.svg?branch=master)](https://travis-ci.org/sindresorhus/indent-string)
2
+
3
+ > Indent each line in a string
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install indent-string
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const indentString = require('indent-string');
17
+
18
+ indentString('Unicorns\nRainbows', 4);
19
+ //=> ' Unicorns\n Rainbows'
20
+
21
+ indentString('Unicorns\nRainbows', 4, {indent: '♥'});
22
+ //=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
23
+ ```
24
+
25
+
26
+ ## API
27
+
28
+ ### indentString(string, [count], [options])
29
+
30
+ #### string
31
+
32
+ Type: `string`
33
+
34
+ The string to indent.
35
+
36
+ #### count
37
+
38
+ Type: `number`<br>
39
+ Default: `1`
40
+
41
+ How many times you want `options.indent` repeated.
42
+
43
+ #### options
44
+
45
+ Type: `object`
46
+
47
+ ##### indent
48
+
49
+ Type: `string`<br>
50
+ Default: `' '`
51
+
52
+ The string to use for the indent.
53
+
54
+ ##### includeEmptyLines
55
+
56
+ Type: `boolean`<br>
57
+ Default: `false`
58
+
59
+ Also indent empty lines.
60
+
61
+
62
+ ## Related
63
+
64
+ - [indent-string-cli](https://github.com/sindresorhus/indent-string-cli) - CLI for this module
65
+ - [strip-indent](https://github.com/sindresorhus/strip-indent) - Strip leading whitespace from every line in a string
66
+
67
+
68
+ ## License
69
+
70
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,37 @@
1
+ # inflight
2
+
3
+ Add callbacks to requests in flight to avoid async duplication
4
+
5
+ ## USAGE
6
+
7
+ ```javascript
8
+ var inflight = require('inflight')
9
+
10
+ // some request that does some stuff
11
+ function req(key, callback) {
12
+ // key is any random string. like a url or filename or whatever.
13
+ //
14
+ // will return either a falsey value, indicating that the
15
+ // request for this key is already in flight, or a new callback
16
+ // which when called will call all callbacks passed to inflightk
17
+ // with the same key
18
+ callback = inflight(key, callback)
19
+
20
+ // If we got a falsey value back, then there's already a req going
21
+ if (!callback) return
22
+
23
+ // this is where you'd fetch the url or whatever
24
+ // callback is also once()-ified, so it can safely be assigned
25
+ // to multiple events etc. First call wins.
26
+ setTimeout(function() {
27
+ callback(null, key)
28
+ }, 100)
29
+ }
30
+
31
+ // only assigns a single setTimeout
32
+ // when it dings, all cbs get called
33
+ req('foo', cb1)
34
+ req('foo', cb2)
35
+ req('foo', cb3)
36
+ req('foo', cb4)
37
+ ```
@@ -0,0 +1,42 @@
1
+ Browser-friendly inheritance fully compatible with standard node.js
2
+ [inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
3
+
4
+ This package exports standard `inherits` from node.js `util` module in
5
+ node environment, but also provides alternative browser-friendly
6
+ implementation through [browser
7
+ field](https://gist.github.com/shtylman/4339901). Alternative
8
+ implementation is a literal copy of standard one located in standalone
9
+ module to avoid requiring of `util`. It also has a shim for old
10
+ browsers with no `Object.create` support.
11
+
12
+ While keeping you sure you are using standard `inherits`
13
+ implementation in node.js environment, it allows bundlers such as
14
+ [browserify](https://github.com/substack/node-browserify) to not
15
+ include full `util` package to your client code if all you need is
16
+ just `inherits` function. It worth, because browser shim for `util`
17
+ package is large and `inherits` is often the single function you need
18
+ from it.
19
+
20
+ It's recommended to use this package instead of
21
+ `require('util').inherits` for any code that has chances to be used
22
+ not only in node.js but in browser too.
23
+
24
+ ## usage
25
+
26
+ ```js
27
+ var inherits = require('inherits');
28
+ // then use exactly as the standard one
29
+ ```
30
+
31
+ ## note on version ~1.0
32
+
33
+ Version ~1.0 had completely different motivation and is not compatible
34
+ neither with 2.0 nor with standard node.js `inherits`.
35
+
36
+ If you are using version ~1.0 and planning to switch to ~2.0, be
37
+ careful:
38
+
39
+ * new version uses `super_` instead of `super` for referencing
40
+ superclass
41
+ * new version overwrites current prototype while old one preserves any
42
+ existing fields on it
@@ -0,0 +1,102 @@
1
+ An ini format parser and serializer for node.
2
+
3
+ Sections are treated as nested objects. Items before the first
4
+ heading are saved on the object directly.
5
+
6
+ ## Usage
7
+
8
+ Consider an ini-file `config.ini` that looks like this:
9
+
10
+ ; this comment is being ignored
11
+ scope = global
12
+
13
+ [database]
14
+ user = dbuser
15
+ password = dbpassword
16
+ database = use_this_database
17
+
18
+ [paths.default]
19
+ datadir = /var/lib/data
20
+ array[] = first value
21
+ array[] = second value
22
+ array[] = third value
23
+
24
+ You can read, manipulate and write the ini-file like so:
25
+
26
+ var fs = require('fs')
27
+ , ini = require('ini')
28
+
29
+ var config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'))
30
+
31
+ config.scope = 'local'
32
+ config.database.database = 'use_another_database'
33
+ config.paths.default.tmpdir = '/tmp'
34
+ delete config.paths.default.datadir
35
+ config.paths.default.array.push('fourth value')
36
+
37
+ fs.writeFileSync('./config_modified.ini', ini.stringify(config, { section: 'section' }))
38
+
39
+ This will result in a file called `config_modified.ini` being written
40
+ to the filesystem with the following content:
41
+
42
+ [section]
43
+ scope=local
44
+ [section.database]
45
+ user=dbuser
46
+ password=dbpassword
47
+ database=use_another_database
48
+ [section.paths.default]
49
+ tmpdir=/tmp
50
+ array[]=first value
51
+ array[]=second value
52
+ array[]=third value
53
+ array[]=fourth value
54
+
55
+
56
+ ## API
57
+
58
+ ### decode(inistring)
59
+
60
+ Decode the ini-style formatted `inistring` into a nested object.
61
+
62
+ ### parse(inistring)
63
+
64
+ Alias for `decode(inistring)`
65
+
66
+ ### encode(object, [options])
67
+
68
+ Encode the object `object` into an ini-style formatted string. If the
69
+ optional parameter `section` is given, then all top-level properties
70
+ of the object are put into this section and the `section`-string is
71
+ prepended to all sub-sections, see the usage example above.
72
+
73
+ The `options` object may contain the following:
74
+
75
+ * `section` A string which will be the first `section` in the encoded
76
+ ini data. Defaults to none.
77
+ * `whitespace` Boolean to specify whether to put whitespace around the
78
+ `=` character. By default, whitespace is omitted, to be friendly to
79
+ some persnickety old parsers that don't tolerate it well. But some
80
+ find that it's more human-readable and pretty with the whitespace.
81
+
82
+ For backwards compatibility reasons, if a `string` options is passed
83
+ in, then it is assumed to be the `section` value.
84
+
85
+ ### stringify(object, [options])
86
+
87
+ Alias for `encode(object, [options])`
88
+
89
+ ### safe(val)
90
+
91
+ Escapes the string `val` such that it is safe to be used as a key or
92
+ value in an ini-file. Basically escapes quotes. For example
93
+
94
+ ini.safe('"unsafe string"')
95
+
96
+ would result in
97
+
98
+ "\"unsafe string\""
99
+
100
+ ### unsafe(val)
101
+
102
+ Unescapes the string `val`
@@ -0,0 +1,50 @@
1
+ # is-ci
2
+
3
+ Returns `true` if the current environment is a Continuous Integration
4
+ server.
5
+
6
+ Please [open an issue](https://github.com/watson/is-ci/issues) if your
7
+ CI server isn't properly detected :)
8
+
9
+ [![npm](https://img.shields.io/npm/v/is-ci.svg)](https://www.npmjs.com/package/is-ci)
10
+ [![Tests](https://github.com/watson/is-ci/workflows/Tests/badge.svg)](https://github.com/watson/is-ci/actions)
11
+ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ npm install is-ci --save
17
+ ```
18
+
19
+ ## Programmatic Usage
20
+
21
+ ```js
22
+ const isCI = require('is-ci')
23
+
24
+ if (isCI) {
25
+ console.log('The code is running on a CI server')
26
+ }
27
+ ```
28
+
29
+ ## CLI Usage
30
+
31
+ For CLI usage you need to have the `is-ci` executable in your `PATH`.
32
+ There's a few ways to do that:
33
+
34
+ - Either install the module globally using `npm install is-ci -g`
35
+ - Or add the module as a dependency to your app in which case it can be
36
+ used inside your package.json scripts as is
37
+ - Or provide the full path to the executable, e.g.
38
+ `./node_modules/.bin/is-ci`
39
+
40
+ ```bash
41
+ is-ci && echo "This is a CI server"
42
+ ```
43
+
44
+ ## Supported CI tools
45
+
46
+ Refer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's
47
+
48
+ ## License
49
+
50
+ [MIT](LICENSE)
@@ -0,0 +1,39 @@
1
+ # is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
2
+
3
+ > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install is-fullwidth-code-point
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const isFullwidthCodePoint = require('is-fullwidth-code-point');
17
+
18
+ isFullwidthCodePoint('谢'.codePointAt(0));
19
+ //=> true
20
+
21
+ isFullwidthCodePoint('a'.codePointAt(0));
22
+ //=> false
23
+ ```
24
+
25
+
26
+ ## API
27
+
28
+ ### isFullwidthCodePoint(codePoint)
29
+
30
+ #### codePoint
31
+
32
+ Type: `number`
33
+
34
+ The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
35
+
36
+
37
+ ## License
38
+
39
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -0,0 +1,31 @@
1
+ # is-installed-globally
2
+
3
+ > Check if your package was installed globally
4
+
5
+ Can be useful if your CLI needs different behavior when installed globally and locally.
6
+
7
+ ## Install
8
+
9
+ ```
10
+ $ npm install is-installed-globally
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const isInstalledGlobally = require('is-installed-globally');
17
+
18
+ // With `npm install your-package`
19
+ console.log(isInstalledGlobally);
20
+ //=> false
21
+
22
+ // With `npm install --global your-package`
23
+ console.log(isInstalledGlobally);
24
+ //=> true
25
+ ```
26
+
27
+ ## Related
28
+
29
+ - [import-global](https://github.com/sindresorhus/import-global) - Import a globally installed module
30
+ - [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module
31
+ - [global-dirs](https://github.com/sindresorhus/global-dirs) - Get the directory of globally installed packages and binaries