@agnostack/verifyd 1.0.14-beta.1 → 1.0.14-beta.3

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 (91) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/lib/utils/rawbody.d.ts.map +1 -1
  3. package/dist/lib/utils/rawbody.js +6 -5
  4. package/dist/lib/utils/rawbody.js.map +1 -1
  5. package/dist/umd/lib/index.js +6 -368
  6. package/dist/umd/lib/index.js.map +1 -1
  7. package/dist/umd/lib/lib/utils/rawbody.d.ts.map +1 -1
  8. package/package.json +4 -5
  9. package/node_modules/bytes/History.md +0 -97
  10. package/node_modules/bytes/LICENSE +0 -23
  11. package/node_modules/bytes/Readme.md +0 -152
  12. package/node_modules/bytes/index.js +0 -170
  13. package/node_modules/bytes/package.json +0 -42
  14. package/node_modules/depd/History.md +0 -103
  15. package/node_modules/depd/LICENSE +0 -22
  16. package/node_modules/depd/Readme.md +0 -280
  17. package/node_modules/depd/index.js +0 -538
  18. package/node_modules/depd/lib/browser/index.js +0 -77
  19. package/node_modules/depd/package.json +0 -45
  20. package/node_modules/http-errors/HISTORY.md +0 -180
  21. package/node_modules/http-errors/LICENSE +0 -23
  22. package/node_modules/http-errors/README.md +0 -169
  23. package/node_modules/http-errors/index.js +0 -289
  24. package/node_modules/http-errors/package.json +0 -50
  25. package/node_modules/iconv-lite/Changelog.md +0 -162
  26. package/node_modules/iconv-lite/LICENSE +0 -21
  27. package/node_modules/iconv-lite/README.md +0 -156
  28. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  29. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  30. package/node_modules/iconv-lite/encodings/index.js +0 -22
  31. package/node_modules/iconv-lite/encodings/internal.js +0 -188
  32. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  33. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  34. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  35. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  36. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  37. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  38. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  39. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  40. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  41. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  42. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  43. package/node_modules/iconv-lite/encodings/utf16.js +0 -177
  44. package/node_modules/iconv-lite/encodings/utf7.js +0 -290
  45. package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  46. package/node_modules/iconv-lite/lib/extend-node.js +0 -217
  47. package/node_modules/iconv-lite/lib/index.d.ts +0 -24
  48. package/node_modules/iconv-lite/lib/index.js +0 -153
  49. package/node_modules/iconv-lite/lib/streams.js +0 -121
  50. package/node_modules/iconv-lite/package.json +0 -46
  51. package/node_modules/inherits/LICENSE +0 -16
  52. package/node_modules/inherits/README.md +0 -42
  53. package/node_modules/inherits/inherits.js +0 -9
  54. package/node_modules/inherits/inherits_browser.js +0 -27
  55. package/node_modules/inherits/package.json +0 -29
  56. package/node_modules/raw-body/HISTORY.md +0 -308
  57. package/node_modules/raw-body/LICENSE +0 -22
  58. package/node_modules/raw-body/README.md +0 -223
  59. package/node_modules/raw-body/SECURITY.md +0 -24
  60. package/node_modules/raw-body/index.d.ts +0 -87
  61. package/node_modules/raw-body/index.js +0 -336
  62. package/node_modules/raw-body/package.json +0 -49
  63. package/node_modules/safer-buffer/LICENSE +0 -21
  64. package/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  65. package/node_modules/safer-buffer/Readme.md +0 -156
  66. package/node_modules/safer-buffer/dangerous.js +0 -58
  67. package/node_modules/safer-buffer/package.json +0 -34
  68. package/node_modules/safer-buffer/safer.js +0 -77
  69. package/node_modules/safer-buffer/tests.js +0 -406
  70. package/node_modules/setprototypeof/LICENSE +0 -13
  71. package/node_modules/setprototypeof/README.md +0 -31
  72. package/node_modules/setprototypeof/index.d.ts +0 -2
  73. package/node_modules/setprototypeof/index.js +0 -17
  74. package/node_modules/setprototypeof/package.json +0 -38
  75. package/node_modules/setprototypeof/test/index.js +0 -24
  76. package/node_modules/statuses/HISTORY.md +0 -82
  77. package/node_modules/statuses/LICENSE +0 -23
  78. package/node_modules/statuses/README.md +0 -136
  79. package/node_modules/statuses/codes.json +0 -65
  80. package/node_modules/statuses/index.js +0 -146
  81. package/node_modules/statuses/package.json +0 -49
  82. package/node_modules/toidentifier/HISTORY.md +0 -9
  83. package/node_modules/toidentifier/LICENSE +0 -21
  84. package/node_modules/toidentifier/README.md +0 -61
  85. package/node_modules/toidentifier/index.js +0 -32
  86. package/node_modules/toidentifier/package.json +0 -38
  87. package/node_modules/unpipe/HISTORY.md +0 -4
  88. package/node_modules/unpipe/LICENSE +0 -22
  89. package/node_modules/unpipe/README.md +0 -43
  90. package/node_modules/unpipe/index.js +0 -69
  91. package/node_modules/unpipe/package.json +0 -27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agnostack/verifyd",
3
- "version": "1.0.14-beta.1",
3
+ "version": "1.0.14-beta.3",
4
4
  "author": "agnoStack Dev <developers@agnostack.com> (https://agnostack.com)",
5
5
  "owner": "agnoStack",
6
6
  "description": "Please contact agnoStack via info@agnostack.com for any questions",
@@ -66,6 +66,7 @@
66
66
  "firebase-admin": ">=8.10.0",
67
67
  "http-proxy": ">=1.18.1",
68
68
  "next": ">=12.1.0",
69
+ "raw-body": ">=2.5.2",
69
70
  "react": ">=17.0.2",
70
71
  "react-dom": ">=17.0.2",
71
72
  "react-is": ">=17.0.2"
@@ -73,8 +74,7 @@
73
74
  "dependencies": {
74
75
  "browser-monads-ts": "2.0.1",
75
76
  "chalk": "4.1.2",
76
- "isomorphic-webcrypto": "2.3.8",
77
- "raw-body": "2.5.2"
77
+ "isomorphic-webcrypto": "2.3.8"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@babel/core": "7.18.9",
@@ -112,8 +112,7 @@
112
112
  "typescript": "4.7.4"
113
113
  },
114
114
  "bundledDependencies": [
115
- "browser-monads-ts",
116
- "raw-body"
115
+ "browser-monads-ts"
117
116
  ],
118
117
  "resolutions": {
119
118
  "**/npm": "6.14.11"
@@ -1,97 +0,0 @@
1
- 3.1.2 / 2022-01-27
2
- ==================
3
-
4
- * Fix return value for un-parsable strings
5
-
6
- 3.1.1 / 2021-11-15
7
- ==================
8
-
9
- * Fix "thousandsSeparator" incorrecting formatting fractional part
10
-
11
- 3.1.0 / 2019-01-22
12
- ==================
13
-
14
- * Add petabyte (`pb`) support
15
-
16
- 3.0.0 / 2017-08-31
17
- ==================
18
-
19
- * Change "kB" to "KB" in format output
20
- * Remove support for Node.js 0.6
21
- * Remove support for ComponentJS
22
-
23
- 2.5.0 / 2017-03-24
24
- ==================
25
-
26
- * Add option "unit"
27
-
28
- 2.4.0 / 2016-06-01
29
- ==================
30
-
31
- * Add option "unitSeparator"
32
-
33
- 2.3.0 / 2016-02-15
34
- ==================
35
-
36
- * Drop partial bytes on all parsed units
37
- * Fix non-finite numbers to `.format` to return `null`
38
- * Fix parsing byte string that looks like hex
39
- * perf: hoist regular expressions
40
-
41
- 2.2.0 / 2015-11-13
42
- ==================
43
-
44
- * add option "decimalPlaces"
45
- * add option "fixedDecimals"
46
-
47
- 2.1.0 / 2015-05-21
48
- ==================
49
-
50
- * add `.format` export
51
- * add `.parse` export
52
-
53
- 2.0.2 / 2015-05-20
54
- ==================
55
-
56
- * remove map recreation
57
- * remove unnecessary object construction
58
-
59
- 2.0.1 / 2015-05-07
60
- ==================
61
-
62
- * fix browserify require
63
- * remove node.extend dependency
64
-
65
- 2.0.0 / 2015-04-12
66
- ==================
67
-
68
- * add option "case"
69
- * add option "thousandsSeparator"
70
- * return "null" on invalid parse input
71
- * support proper round-trip: bytes(bytes(num)) === num
72
- * units no longer case sensitive when parsing
73
-
74
- 1.0.0 / 2014-05-05
75
- ==================
76
-
77
- * add negative support. fixes #6
78
-
79
- 0.3.0 / 2014-03-19
80
- ==================
81
-
82
- * added terabyte support
83
-
84
- 0.2.1 / 2013-04-01
85
- ==================
86
-
87
- * add .component
88
-
89
- 0.2.0 / 2012-10-28
90
- ==================
91
-
92
- * bytes(200).should.eql('200b')
93
-
94
- 0.1.0 / 2012-07-04
95
- ==================
96
-
97
- * add bytes to string conversion [yields]
@@ -1,23 +0,0 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2012-2014 TJ Holowaychuk <tj@vision-media.ca>
4
- Copyright (c) 2015 Jed Watson <jed.watson@me.com>
5
-
6
- Permission is hereby granted, free of charge, to any person obtaining
7
- a copy of this software and associated documentation files (the
8
- 'Software'), to deal in the Software without restriction, including
9
- without limitation the rights to use, copy, modify, merge, publish,
10
- distribute, sublicense, and/or sell copies of the Software, and to
11
- permit persons to whom the Software is furnished to do so, subject to
12
- the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be
15
- included in all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,152 +0,0 @@
1
- # Bytes utility
2
-
3
- [![NPM Version][npm-image]][npm-url]
4
- [![NPM Downloads][downloads-image]][downloads-url]
5
- [![Build Status][ci-image]][ci-url]
6
- [![Test Coverage][coveralls-image]][coveralls-url]
7
-
8
- Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa.
9
-
10
- ## Installation
11
-
12
- This is a [Node.js](https://nodejs.org/en/) module available through the
13
- [npm registry](https://www.npmjs.com/). Installation is done using the
14
- [`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
15
-
16
- ```bash
17
- $ npm install bytes
18
- ```
19
-
20
- ## Usage
21
-
22
- ```js
23
- var bytes = require('bytes');
24
- ```
25
-
26
- #### bytes(number|string value, [options]): number|string|null
27
-
28
- Default export function. Delegates to either `bytes.format` or `bytes.parse` based on the type of `value`.
29
-
30
- **Arguments**
31
-
32
- | Name | Type | Description |
33
- |---------|----------|--------------------|
34
- | value | `number`|`string` | Number value to format or string value to parse |
35
- | options | `Object` | Conversion options for `format` |
36
-
37
- **Returns**
38
-
39
- | Name | Type | Description |
40
- |---------|------------------|-------------------------------------------------|
41
- | results | `string`|`number`|`null` | Return null upon error. Numeric value in bytes, or string value otherwise. |
42
-
43
- **Example**
44
-
45
- ```js
46
- bytes(1024);
47
- // output: '1KB'
48
-
49
- bytes('1KB');
50
- // output: 1024
51
- ```
52
-
53
- #### bytes.format(number value, [options]): string|null
54
-
55
- Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is
56
- rounded.
57
-
58
- **Arguments**
59
-
60
- | Name | Type | Description |
61
- |---------|----------|--------------------|
62
- | value | `number` | Value in bytes |
63
- | options | `Object` | Conversion options |
64
-
65
- **Options**
66
-
67
- | Property | Type | Description |
68
- |-------------------|--------|-----------------------------------------------------------------------------------------|
69
- | decimalPlaces | `number`|`null` | Maximum number of decimal places to include in output. Default value to `2`. |
70
- | fixedDecimals | `boolean`|`null` | Whether to always display the maximum number of decimal places. Default value to `false` |
71
- | thousandsSeparator | `string`|`null` | Example of values: `' '`, `','` and `'.'`... Default value to `''`. |
72
- | unit | `string`|`null` | The unit in which the result will be returned (B/KB/MB/GB/TB). Default value to `''` (which means auto detect). |
73
- | unitSeparator | `string`|`null` | Separator to use between number and unit. Default value to `''`. |
74
-
75
- **Returns**
76
-
77
- | Name | Type | Description |
78
- |---------|------------------|-------------------------------------------------|
79
- | results | `string`|`null` | Return null upon error. String value otherwise. |
80
-
81
- **Example**
82
-
83
- ```js
84
- bytes.format(1024);
85
- // output: '1KB'
86
-
87
- bytes.format(1000);
88
- // output: '1000B'
89
-
90
- bytes.format(1000, {thousandsSeparator: ' '});
91
- // output: '1 000B'
92
-
93
- bytes.format(1024 * 1.7, {decimalPlaces: 0});
94
- // output: '2KB'
95
-
96
- bytes.format(1024, {unitSeparator: ' '});
97
- // output: '1 KB'
98
- ```
99
-
100
- #### bytes.parse(string|number value): number|null
101
-
102
- Parse the string value into an integer in bytes. If no unit is given, or `value`
103
- is a number, it is assumed the value is in bytes.
104
-
105
- Supported units and abbreviations are as follows and are case-insensitive:
106
-
107
- * `b` for bytes
108
- * `kb` for kilobytes
109
- * `mb` for megabytes
110
- * `gb` for gigabytes
111
- * `tb` for terabytes
112
- * `pb` for petabytes
113
-
114
- The units are in powers of two, not ten. This means 1kb = 1024b according to this parser.
115
-
116
- **Arguments**
117
-
118
- | Name | Type | Description |
119
- |---------------|--------|--------------------|
120
- | value | `string`|`number` | String to parse, or number in bytes. |
121
-
122
- **Returns**
123
-
124
- | Name | Type | Description |
125
- |---------|-------------|-------------------------|
126
- | results | `number`|`null` | Return null upon error. Value in bytes otherwise. |
127
-
128
- **Example**
129
-
130
- ```js
131
- bytes.parse('1KB');
132
- // output: 1024
133
-
134
- bytes.parse('1024');
135
- // output: 1024
136
-
137
- bytes.parse(1024);
138
- // output: 1024
139
- ```
140
-
141
- ## License
142
-
143
- [MIT](LICENSE)
144
-
145
- [ci-image]: https://badgen.net/github/checks/visionmedia/bytes.js/master?label=ci
146
- [ci-url]: https://github.com/visionmedia/bytes.js/actions?query=workflow%3Aci
147
- [coveralls-image]: https://badgen.net/coveralls/c/github/visionmedia/bytes.js/master
148
- [coveralls-url]: https://coveralls.io/r/visionmedia/bytes.js?branch=master
149
- [downloads-image]: https://badgen.net/npm/dm/bytes
150
- [downloads-url]: https://npmjs.org/package/bytes
151
- [npm-image]: https://badgen.net/npm/v/bytes
152
- [npm-url]: https://npmjs.org/package/bytes
@@ -1,170 +0,0 @@
1
- /*!
2
- * bytes
3
- * Copyright(c) 2012-2014 TJ Holowaychuk
4
- * Copyright(c) 2015 Jed Watson
5
- * MIT Licensed
6
- */
7
-
8
- 'use strict';
9
-
10
- /**
11
- * Module exports.
12
- * @public
13
- */
14
-
15
- module.exports = bytes;
16
- module.exports.format = format;
17
- module.exports.parse = parse;
18
-
19
- /**
20
- * Module variables.
21
- * @private
22
- */
23
-
24
- var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
25
-
26
- var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
27
-
28
- var map = {
29
- b: 1,
30
- kb: 1 << 10,
31
- mb: 1 << 20,
32
- gb: 1 << 30,
33
- tb: Math.pow(1024, 4),
34
- pb: Math.pow(1024, 5),
35
- };
36
-
37
- var parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
38
-
39
- /**
40
- * Convert the given value in bytes into a string or parse to string to an integer in bytes.
41
- *
42
- * @param {string|number} value
43
- * @param {{
44
- * case: [string],
45
- * decimalPlaces: [number]
46
- * fixedDecimals: [boolean]
47
- * thousandsSeparator: [string]
48
- * unitSeparator: [string]
49
- * }} [options] bytes options.
50
- *
51
- * @returns {string|number|null}
52
- */
53
-
54
- function bytes(value, options) {
55
- if (typeof value === 'string') {
56
- return parse(value);
57
- }
58
-
59
- if (typeof value === 'number') {
60
- return format(value, options);
61
- }
62
-
63
- return null;
64
- }
65
-
66
- /**
67
- * Format the given value in bytes into a string.
68
- *
69
- * If the value is negative, it is kept as such. If it is a float,
70
- * it is rounded.
71
- *
72
- * @param {number} value
73
- * @param {object} [options]
74
- * @param {number} [options.decimalPlaces=2]
75
- * @param {number} [options.fixedDecimals=false]
76
- * @param {string} [options.thousandsSeparator=]
77
- * @param {string} [options.unit=]
78
- * @param {string} [options.unitSeparator=]
79
- *
80
- * @returns {string|null}
81
- * @public
82
- */
83
-
84
- function format(value, options) {
85
- if (!Number.isFinite(value)) {
86
- return null;
87
- }
88
-
89
- var mag = Math.abs(value);
90
- var thousandsSeparator = (options && options.thousandsSeparator) || '';
91
- var unitSeparator = (options && options.unitSeparator) || '';
92
- var decimalPlaces = (options && options.decimalPlaces !== undefined) ? options.decimalPlaces : 2;
93
- var fixedDecimals = Boolean(options && options.fixedDecimals);
94
- var unit = (options && options.unit) || '';
95
-
96
- if (!unit || !map[unit.toLowerCase()]) {
97
- if (mag >= map.pb) {
98
- unit = 'PB';
99
- } else if (mag >= map.tb) {
100
- unit = 'TB';
101
- } else if (mag >= map.gb) {
102
- unit = 'GB';
103
- } else if (mag >= map.mb) {
104
- unit = 'MB';
105
- } else if (mag >= map.kb) {
106
- unit = 'KB';
107
- } else {
108
- unit = 'B';
109
- }
110
- }
111
-
112
- var val = value / map[unit.toLowerCase()];
113
- var str = val.toFixed(decimalPlaces);
114
-
115
- if (!fixedDecimals) {
116
- str = str.replace(formatDecimalsRegExp, '$1');
117
- }
118
-
119
- if (thousandsSeparator) {
120
- str = str.split('.').map(function (s, i) {
121
- return i === 0
122
- ? s.replace(formatThousandsRegExp, thousandsSeparator)
123
- : s
124
- }).join('.');
125
- }
126
-
127
- return str + unitSeparator + unit;
128
- }
129
-
130
- /**
131
- * Parse the string value into an integer in bytes.
132
- *
133
- * If no unit is given, it is assumed the value is in bytes.
134
- *
135
- * @param {number|string} val
136
- *
137
- * @returns {number|null}
138
- * @public
139
- */
140
-
141
- function parse(val) {
142
- if (typeof val === 'number' && !isNaN(val)) {
143
- return val;
144
- }
145
-
146
- if (typeof val !== 'string') {
147
- return null;
148
- }
149
-
150
- // Test if the string passed is valid
151
- var results = parseRegExp.exec(val);
152
- var floatValue;
153
- var unit = 'b';
154
-
155
- if (!results) {
156
- // Nothing could be extracted from the given string
157
- floatValue = parseInt(val, 10);
158
- unit = 'b'
159
- } else {
160
- // Retrieve the value and the unit
161
- floatValue = parseFloat(results[1]);
162
- unit = results[4].toLowerCase();
163
- }
164
-
165
- if (isNaN(floatValue)) {
166
- return null;
167
- }
168
-
169
- return Math.floor(map[unit] * floatValue);
170
- }
@@ -1,42 +0,0 @@
1
- {
2
- "name": "bytes",
3
- "description": "Utility to parse a string bytes to bytes and vice-versa",
4
- "version": "3.1.2",
5
- "author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)",
6
- "contributors": [
7
- "Jed Watson <jed.watson@me.com>",
8
- "Théo FIDRY <theo.fidry@gmail.com>"
9
- ],
10
- "license": "MIT",
11
- "keywords": [
12
- "byte",
13
- "bytes",
14
- "utility",
15
- "parse",
16
- "parser",
17
- "convert",
18
- "converter"
19
- ],
20
- "repository": "visionmedia/bytes.js",
21
- "devDependencies": {
22
- "eslint": "7.32.0",
23
- "eslint-plugin-markdown": "2.2.1",
24
- "mocha": "9.2.0",
25
- "nyc": "15.1.0"
26
- },
27
- "files": [
28
- "History.md",
29
- "LICENSE",
30
- "Readme.md",
31
- "index.js"
32
- ],
33
- "engines": {
34
- "node": ">= 0.8"
35
- },
36
- "scripts": {
37
- "lint": "eslint .",
38
- "test": "mocha --check-leaks --reporter spec",
39
- "test-ci": "nyc --reporter=lcov --reporter=text npm test",
40
- "test-cov": "nyc --reporter=html --reporter=text npm test"
41
- }
42
- }
@@ -1,103 +0,0 @@
1
- 2.0.0 / 2018-10-26
2
- ==================
3
-
4
- * Drop support for Node.js 0.6
5
- * Replace internal `eval` usage with `Function` constructor
6
- * Use instance methods on `process` to check for listeners
7
-
8
- 1.1.2 / 2018-01-11
9
- ==================
10
-
11
- * perf: remove argument reassignment
12
- * Support Node.js 0.6 to 9.x
13
-
14
- 1.1.1 / 2017-07-27
15
- ==================
16
-
17
- * Remove unnecessary `Buffer` loading
18
- * Support Node.js 0.6 to 8.x
19
-
20
- 1.1.0 / 2015-09-14
21
- ==================
22
-
23
- * Enable strict mode in more places
24
- * Support io.js 3.x
25
- * Support io.js 2.x
26
- * Support web browser loading
27
- - Requires bundler like Browserify or webpack
28
-
29
- 1.0.1 / 2015-04-07
30
- ==================
31
-
32
- * Fix `TypeError`s when under `'use strict'` code
33
- * Fix useless type name on auto-generated messages
34
- * Support io.js 1.x
35
- * Support Node.js 0.12
36
-
37
- 1.0.0 / 2014-09-17
38
- ==================
39
-
40
- * No changes
41
-
42
- 0.4.5 / 2014-09-09
43
- ==================
44
-
45
- * Improve call speed to functions using the function wrapper
46
- * Support Node.js 0.6
47
-
48
- 0.4.4 / 2014-07-27
49
- ==================
50
-
51
- * Work-around v8 generating empty stack traces
52
-
53
- 0.4.3 / 2014-07-26
54
- ==================
55
-
56
- * Fix exception when global `Error.stackTraceLimit` is too low
57
-
58
- 0.4.2 / 2014-07-19
59
- ==================
60
-
61
- * Correct call site for wrapped functions and properties
62
-
63
- 0.4.1 / 2014-07-19
64
- ==================
65
-
66
- * Improve automatic message generation for function properties
67
-
68
- 0.4.0 / 2014-07-19
69
- ==================
70
-
71
- * Add `TRACE_DEPRECATION` environment variable
72
- * Remove non-standard grey color from color output
73
- * Support `--no-deprecation` argument
74
- * Support `--trace-deprecation` argument
75
- * Support `deprecate.property(fn, prop, message)`
76
-
77
- 0.3.0 / 2014-06-16
78
- ==================
79
-
80
- * Add `NO_DEPRECATION` environment variable
81
-
82
- 0.2.0 / 2014-06-15
83
- ==================
84
-
85
- * Add `deprecate.property(obj, prop, message)`
86
- * Remove `supports-color` dependency for node.js 0.8
87
-
88
- 0.1.0 / 2014-06-15
89
- ==================
90
-
91
- * Add `deprecate.function(fn, message)`
92
- * Add `process.on('deprecation', fn)` emitter
93
- * Automatically generate message when omitted from `deprecate()`
94
-
95
- 0.0.1 / 2014-06-15
96
- ==================
97
-
98
- * Fix warning for dynamic calls at singe call site
99
-
100
- 0.0.0 / 2014-06-15
101
- ==================
102
-
103
- * Initial implementation
@@ -1,22 +0,0 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2014-2018 Douglas Christopher Wilson
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- 'Software'), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.