protobufjs 6.11.4 → 6.11.6

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 (118) hide show
  1. package/cli/node_modules/.package-lock.json +86 -32
  2. package/cli/node_modules/@babel/parser/package.json +66 -30
  3. package/cli/node_modules/@types/linkify-it/package.json +65 -36
  4. package/cli/node_modules/@types/markdown-it/package.json +67 -39
  5. package/cli/node_modules/@types/mdurl/package.json +53 -21
  6. package/cli/node_modules/acorn/package.json +48 -17
  7. package/cli/node_modules/acorn-jsx/package.json +42 -11
  8. package/cli/node_modules/argparse/package.json +52 -17
  9. package/cli/node_modules/bluebird/package.json +65 -38
  10. package/cli/node_modules/brace-expansion/index.js +14 -12
  11. package/cli/node_modules/brace-expansion/package.json +4 -1
  12. package/cli/node_modules/catharsis/package.json +44 -10
  13. package/cli/node_modules/deep-is/.travis.yml +5 -0
  14. package/cli/node_modules/deep-is/LICENSE +22 -0
  15. package/cli/node_modules/deep-is/README.markdown +70 -0
  16. package/cli/node_modules/deep-is/example/cmp.js +11 -0
  17. package/cli/node_modules/deep-is/index.js +102 -0
  18. package/cli/node_modules/deep-is/package.json +58 -0
  19. package/cli/node_modules/deep-is/test/NaN.js +16 -0
  20. package/cli/node_modules/deep-is/test/cmp.js +23 -0
  21. package/cli/node_modules/deep-is/test/neg-vs-pos-0.js +15 -0
  22. package/cli/node_modules/entities/package.json +95 -60
  23. package/cli/node_modules/escape-string-regexp/package.json +84 -41
  24. package/cli/node_modules/escodegen/escodegen.js +25 -66
  25. package/cli/node_modules/escodegen/package.json +11 -13
  26. package/cli/node_modules/esprima/package.json +82 -54
  27. package/cli/node_modules/estraverse/estraverse.js +1 -24
  28. package/cli/node_modules/estraverse/package.json +1 -1
  29. package/cli/node_modules/esutils/package.json +52 -21
  30. package/cli/node_modules/fast-levenshtein/LICENSE.md +25 -0
  31. package/cli/node_modules/fast-levenshtein/README.md +104 -0
  32. package/cli/node_modules/fast-levenshtein/levenshtein.js +136 -0
  33. package/cli/node_modules/fast-levenshtein/package.json +39 -0
  34. package/cli/node_modules/fs.realpath/package.json +52 -16
  35. package/cli/node_modules/graceful-fs/package.json +57 -25
  36. package/cli/node_modules/inflight/package.json +44 -15
  37. package/cli/node_modules/inherits/package.json +44 -12
  38. package/cli/node_modules/js2xmlparser/package.json +94 -62
  39. package/cli/node_modules/klaw/package.json +53 -23
  40. package/cli/node_modules/levn/LICENSE +22 -0
  41. package/cli/node_modules/levn/README.md +196 -0
  42. package/cli/node_modules/levn/lib/cast.js +298 -0
  43. package/cli/node_modules/levn/lib/coerce.js +285 -0
  44. package/cli/node_modules/levn/lib/index.js +22 -0
  45. package/cli/node_modules/levn/lib/parse-string.js +113 -0
  46. package/cli/node_modules/levn/lib/parse.js +102 -0
  47. package/cli/node_modules/levn/package.json +47 -0
  48. package/cli/node_modules/linkify-it/package.json +58 -23
  49. package/cli/node_modules/lodash/package.json +61 -10
  50. package/cli/node_modules/markdown-it/package.json +68 -33
  51. package/cli/node_modules/markdown-it-anchor/package.json +72 -30
  52. package/cli/node_modules/marked/package.json +87 -52
  53. package/cli/node_modules/mdurl/package.json +44 -9
  54. package/cli/node_modules/minimatch/README.md +37 -0
  55. package/cli/node_modules/minimatch/minimatch.js +160 -102
  56. package/cli/node_modules/minimatch/package.json +2 -2
  57. package/cli/node_modules/mkdirp/package.json +56 -22
  58. package/cli/node_modules/once/package.json +48 -14
  59. package/cli/node_modules/optionator/CHANGELOG.md +56 -0
  60. package/cli/node_modules/optionator/LICENSE +22 -0
  61. package/cli/node_modules/optionator/README.md +238 -0
  62. package/cli/node_modules/optionator/lib/help.js +260 -0
  63. package/cli/node_modules/optionator/lib/index.js +465 -0
  64. package/cli/node_modules/optionator/lib/util.js +54 -0
  65. package/cli/node_modules/optionator/package.json +44 -0
  66. package/cli/node_modules/prelude-ls/CHANGELOG.md +99 -0
  67. package/cli/node_modules/prelude-ls/LICENSE +22 -0
  68. package/cli/node_modules/prelude-ls/README.md +15 -0
  69. package/cli/node_modules/prelude-ls/lib/Func.js +65 -0
  70. package/cli/node_modules/prelude-ls/lib/List.js +686 -0
  71. package/cli/node_modules/prelude-ls/lib/Num.js +130 -0
  72. package/cli/node_modules/prelude-ls/lib/Obj.js +154 -0
  73. package/cli/node_modules/prelude-ls/lib/Str.js +92 -0
  74. package/cli/node_modules/prelude-ls/lib/index.js +178 -0
  75. package/cli/node_modules/prelude-ls/package.json +52 -0
  76. package/cli/node_modules/requizzle/package.json +52 -21
  77. package/cli/node_modules/source-map/package.json +197 -54
  78. package/cli/node_modules/strip-json-comments/package.json +80 -45
  79. package/cli/node_modules/tmp/README.md +47 -21
  80. package/cli/node_modules/tmp/lib/tmp.js +209 -147
  81. package/cli/node_modules/tmp/package.json +73 -37
  82. package/cli/node_modules/type-check/LICENSE +22 -0
  83. package/cli/node_modules/type-check/README.md +210 -0
  84. package/cli/node_modules/type-check/lib/check.js +126 -0
  85. package/cli/node_modules/type-check/lib/index.js +16 -0
  86. package/cli/node_modules/type-check/lib/parse-type.js +196 -0
  87. package/cli/node_modules/type-check/package.json +40 -0
  88. package/cli/node_modules/uc.micro/package.json +45 -9
  89. package/cli/node_modules/underscore/package.json +95 -61
  90. package/cli/node_modules/word-wrap/LICENSE +21 -0
  91. package/cli/node_modules/word-wrap/README.md +201 -0
  92. package/cli/node_modules/word-wrap/index.d.ts +50 -0
  93. package/cli/node_modules/word-wrap/index.js +61 -0
  94. package/cli/node_modules/word-wrap/package.json +77 -0
  95. package/cli/node_modules/wrappy/package.json +46 -16
  96. package/cli/node_modules/xmlcreate/package.json +87 -55
  97. package/cli/package-lock.json +842 -0
  98. package/cli/package.json +1 -1
  99. package/dist/light/protobuf.js +3 -2
  100. package/dist/light/protobuf.js.map +1 -1
  101. package/dist/light/protobuf.min.js +3 -3
  102. package/dist/light/protobuf.min.js.map +1 -1
  103. package/dist/minimal/protobuf.js +2 -2
  104. package/dist/minimal/protobuf.min.js +3 -3
  105. package/dist/minimal/protobuf.min.js.map +1 -1
  106. package/dist/protobuf.js +3 -2
  107. package/dist/protobuf.js.map +1 -1
  108. package/dist/protobuf.min.js +3 -3
  109. package/dist/protobuf.min.js.map +1 -1
  110. package/package.json +1 -1
  111. package/src/type.js +1 -0
  112. package/cli/node_modules/rimraf/CHANGELOG.md +0 -65
  113. package/cli/node_modules/rimraf/LICENSE +0 -15
  114. package/cli/node_modules/rimraf/README.md +0 -101
  115. package/cli/node_modules/rimraf/bin.js +0 -68
  116. package/cli/node_modules/rimraf/package.json +0 -32
  117. package/cli/node_modules/rimraf/rimraf.js +0 -360
  118. package/cli/node_modules/tmp/CHANGELOG.md +0 -288
@@ -1,52 +1,194 @@
1
1
  {
2
- "name": "source-map",
3
- "description": "Generates and consumes source maps",
4
- "version": "0.6.1",
5
- "homepage": "https://github.com/mozilla/source-map",
6
- "author": "Nick Fitzgerald <nfitzgerald@mozilla.com>",
2
+ "_args": [
3
+ [
4
+ "source-map@0.6.1",
5
+ "/Users/fenster/dev/protobuf.js/cli"
6
+ ]
7
+ ],
8
+ "_from": "source-map@0.6.1",
9
+ "_id": "source-map@0.6.1",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
12
+ "_location": "/source-map",
13
+ "_optional": true,
14
+ "_phantomChildren": {},
15
+ "_requested": {
16
+ "type": "version",
17
+ "registry": true,
18
+ "raw": "source-map@0.6.1",
19
+ "name": "source-map",
20
+ "escapedName": "source-map",
21
+ "rawSpec": "0.6.1",
22
+ "saveSpec": null,
23
+ "fetchSpec": "0.6.1"
24
+ },
25
+ "_requiredBy": [
26
+ "/escodegen"
27
+ ],
28
+ "_resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
29
+ "_spec": "0.6.1",
30
+ "_where": "/Users/fenster/dev/protobuf.js/cli",
31
+ "author": {
32
+ "name": "Nick Fitzgerald",
33
+ "email": "nfitzgerald@mozilla.com"
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/mozilla/source-map/issues"
37
+ },
7
38
  "contributors": [
8
- "Tobias Koppers <tobias.koppers@googlemail.com>",
9
- "Duncan Beevers <duncan@dweebd.com>",
10
- "Stephen Crane <scrane@mozilla.com>",
11
- "Ryan Seddon <seddon.ryan@gmail.com>",
12
- "Miles Elam <miles.elam@deem.com>",
13
- "Mihai Bazon <mihai.bazon@gmail.com>",
14
- "Michael Ficarra <github.public.email@michael.ficarra.me>",
15
- "Todd Wolfson <todd@twolfson.com>",
16
- "Alexander Solovyov <alexander@solovyov.net>",
17
- "Felix Gnass <fgnass@gmail.com>",
18
- "Conrad Irwin <conrad.irwin@gmail.com>",
19
- "usrbincc <usrbincc@yahoo.com>",
20
- "David Glasser <glasser@davidglasser.net>",
21
- "Chase Douglas <chase@newrelic.com>",
22
- "Evan Wallace <evan.exe@gmail.com>",
23
- "Heather Arthur <fayearthur@gmail.com>",
24
- "Hugh Kennedy <hughskennedy@gmail.com>",
25
- "David Glasser <glasser@davidglasser.net>",
26
- "Simon Lydell <simon.lydell@gmail.com>",
27
- "Jmeas Smith <jellyes2@gmail.com>",
28
- "Michael Z Goddard <mzgoddard@gmail.com>",
29
- "azu <azu@users.noreply.github.com>",
30
- "John Gozde <john@gozde.ca>",
31
- "Adam Kirkton <akirkton@truefitinnovation.com>",
32
- "Chris Montgomery <christopher.montgomery@dowjones.com>",
33
- "J. Ryan Stinnett <jryans@gmail.com>",
34
- "Jack Herrington <jherrington@walmartlabs.com>",
35
- "Chris Truter <jeffpalentine@gmail.com>",
36
- "Daniel Espeset <daniel@danielespeset.com>",
37
- "Jamie Wong <jamie.lf.wong@gmail.com>",
38
- "Eddy Bruël <ejpbruel@mozilla.com>",
39
- "Hawken Rives <hawkrives@gmail.com>",
40
- "Gilad Peleg <giladp007@gmail.com>",
41
- "djchie <djchie.dev@gmail.com>",
42
- "Gary Ye <garysye@gmail.com>",
43
- "Nicolas Lalevée <nicolas.lalevee@hibnet.org>"
39
+ {
40
+ "name": "Tobias Koppers",
41
+ "email": "tobias.koppers@googlemail.com"
42
+ },
43
+ {
44
+ "name": "Duncan Beevers",
45
+ "email": "duncan@dweebd.com"
46
+ },
47
+ {
48
+ "name": "Stephen Crane",
49
+ "email": "scrane@mozilla.com"
50
+ },
51
+ {
52
+ "name": "Ryan Seddon",
53
+ "email": "seddon.ryan@gmail.com"
54
+ },
55
+ {
56
+ "name": "Miles Elam",
57
+ "email": "miles.elam@deem.com"
58
+ },
59
+ {
60
+ "name": "Mihai Bazon",
61
+ "email": "mihai.bazon@gmail.com"
62
+ },
63
+ {
64
+ "name": "Michael Ficarra",
65
+ "email": "github.public.email@michael.ficarra.me"
66
+ },
67
+ {
68
+ "name": "Todd Wolfson",
69
+ "email": "todd@twolfson.com"
70
+ },
71
+ {
72
+ "name": "Alexander Solovyov",
73
+ "email": "alexander@solovyov.net"
74
+ },
75
+ {
76
+ "name": "Felix Gnass",
77
+ "email": "fgnass@gmail.com"
78
+ },
79
+ {
80
+ "name": "Conrad Irwin",
81
+ "email": "conrad.irwin@gmail.com"
82
+ },
83
+ {
84
+ "name": "usrbincc",
85
+ "email": "usrbincc@yahoo.com"
86
+ },
87
+ {
88
+ "name": "David Glasser",
89
+ "email": "glasser@davidglasser.net"
90
+ },
91
+ {
92
+ "name": "Chase Douglas",
93
+ "email": "chase@newrelic.com"
94
+ },
95
+ {
96
+ "name": "Evan Wallace",
97
+ "email": "evan.exe@gmail.com"
98
+ },
99
+ {
100
+ "name": "Heather Arthur",
101
+ "email": "fayearthur@gmail.com"
102
+ },
103
+ {
104
+ "name": "Hugh Kennedy",
105
+ "email": "hughskennedy@gmail.com"
106
+ },
107
+ {
108
+ "name": "David Glasser",
109
+ "email": "glasser@davidglasser.net"
110
+ },
111
+ {
112
+ "name": "Simon Lydell",
113
+ "email": "simon.lydell@gmail.com"
114
+ },
115
+ {
116
+ "name": "Jmeas Smith",
117
+ "email": "jellyes2@gmail.com"
118
+ },
119
+ {
120
+ "name": "Michael Z Goddard",
121
+ "email": "mzgoddard@gmail.com"
122
+ },
123
+ {
124
+ "name": "azu",
125
+ "email": "azu@users.noreply.github.com"
126
+ },
127
+ {
128
+ "name": "John Gozde",
129
+ "email": "john@gozde.ca"
130
+ },
131
+ {
132
+ "name": "Adam Kirkton",
133
+ "email": "akirkton@truefitinnovation.com"
134
+ },
135
+ {
136
+ "name": "Chris Montgomery",
137
+ "email": "christopher.montgomery@dowjones.com"
138
+ },
139
+ {
140
+ "name": "J. Ryan Stinnett",
141
+ "email": "jryans@gmail.com"
142
+ },
143
+ {
144
+ "name": "Jack Herrington",
145
+ "email": "jherrington@walmartlabs.com"
146
+ },
147
+ {
148
+ "name": "Chris Truter",
149
+ "email": "jeffpalentine@gmail.com"
150
+ },
151
+ {
152
+ "name": "Daniel Espeset",
153
+ "email": "daniel@danielespeset.com"
154
+ },
155
+ {
156
+ "name": "Jamie Wong",
157
+ "email": "jamie.lf.wong@gmail.com"
158
+ },
159
+ {
160
+ "name": "Eddy Bruël",
161
+ "email": "ejpbruel@mozilla.com"
162
+ },
163
+ {
164
+ "name": "Hawken Rives",
165
+ "email": "hawkrives@gmail.com"
166
+ },
167
+ {
168
+ "name": "Gilad Peleg",
169
+ "email": "giladp007@gmail.com"
170
+ },
171
+ {
172
+ "name": "djchie",
173
+ "email": "djchie.dev@gmail.com"
174
+ },
175
+ {
176
+ "name": "Gary Ye",
177
+ "email": "garysye@gmail.com"
178
+ },
179
+ {
180
+ "name": "Nicolas Lalevée",
181
+ "email": "nicolas.lalevee@hibnet.org"
182
+ }
44
183
  ],
45
- "repository": {
46
- "type": "git",
47
- "url": "http://github.com/mozilla/source-map.git"
184
+ "description": "Generates and consumes source maps",
185
+ "devDependencies": {
186
+ "doctoc": "^0.15.0",
187
+ "webpack": "^1.12.0"
188
+ },
189
+ "engines": {
190
+ "node": ">=0.10.0"
48
191
  },
49
- "main": "./source-map.js",
50
192
  "files": [
51
193
  "source-map.js",
52
194
  "source-map.d.ts",
@@ -56,18 +198,19 @@
56
198
  "dist/source-map.min.js",
57
199
  "dist/source-map.min.js.map"
58
200
  ],
59
- "engines": {
60
- "node": ">=0.10.0"
61
- },
201
+ "homepage": "https://github.com/mozilla/source-map",
62
202
  "license": "BSD-3-Clause",
203
+ "main": "./source-map.js",
204
+ "name": "source-map",
205
+ "repository": {
206
+ "type": "git",
207
+ "url": "git+ssh://git@github.com/mozilla/source-map.git"
208
+ },
63
209
  "scripts": {
64
- "test": "npm run build && node test/run-tests.js",
65
210
  "build": "webpack --color",
211
+ "test": "npm run build && node test/run-tests.js",
66
212
  "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md"
67
213
  },
68
- "devDependencies": {
69
- "doctoc": "^0.15.0",
70
- "webpack": "^1.12.0"
71
- },
72
- "typings": "source-map"
214
+ "typings": "source-map",
215
+ "version": "0.6.1"
73
216
  }
@@ -1,47 +1,82 @@
1
1
  {
2
- "name": "strip-json-comments",
3
- "version": "3.1.1",
4
- "description": "Strip comments from JSON. Lets you use comments in your JSON files!",
5
- "license": "MIT",
6
- "repository": "sindresorhus/strip-json-comments",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "https://sindresorhus.com"
12
- },
13
- "engines": {
14
- "node": ">=8"
15
- },
16
- "scripts": {
17
- "test": "xo && ava && tsd",
18
- "bench": "matcha benchmark.js"
19
- },
20
- "files": [
21
- "index.js",
22
- "index.d.ts"
23
- ],
24
- "keywords": [
25
- "json",
26
- "strip",
27
- "comments",
28
- "remove",
29
- "delete",
30
- "trim",
31
- "multiline",
32
- "parse",
33
- "config",
34
- "configuration",
35
- "settings",
36
- "util",
37
- "env",
38
- "environment",
39
- "jsonc"
40
- ],
41
- "devDependencies": {
42
- "ava": "^1.4.1",
43
- "matcha": "^0.7.0",
44
- "tsd": "^0.7.2",
45
- "xo": "^0.24.0"
46
- }
2
+ "_args": [
3
+ [
4
+ "strip-json-comments@3.1.1",
5
+ "/Users/fenster/dev/protobuf.js/cli"
6
+ ]
7
+ ],
8
+ "_from": "strip-json-comments@3.1.1",
9
+ "_id": "strip-json-comments@3.1.1",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
12
+ "_location": "/strip-json-comments",
13
+ "_phantomChildren": {},
14
+ "_requested": {
15
+ "type": "version",
16
+ "registry": true,
17
+ "raw": "strip-json-comments@3.1.1",
18
+ "name": "strip-json-comments",
19
+ "escapedName": "strip-json-comments",
20
+ "rawSpec": "3.1.1",
21
+ "saveSpec": null,
22
+ "fetchSpec": "3.1.1"
23
+ },
24
+ "_requiredBy": [
25
+ "/jsdoc"
26
+ ],
27
+ "_resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
28
+ "_spec": "3.1.1",
29
+ "_where": "/Users/fenster/dev/protobuf.js/cli",
30
+ "author": {
31
+ "name": "Sindre Sorhus",
32
+ "email": "sindresorhus@gmail.com",
33
+ "url": "https://sindresorhus.com"
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/sindresorhus/strip-json-comments/issues"
37
+ },
38
+ "description": "Strip comments from JSON. Lets you use comments in your JSON files!",
39
+ "devDependencies": {
40
+ "ava": "^1.4.1",
41
+ "matcha": "^0.7.0",
42
+ "tsd": "^0.7.2",
43
+ "xo": "^0.24.0"
44
+ },
45
+ "engines": {
46
+ "node": ">=8"
47
+ },
48
+ "files": [
49
+ "index.js",
50
+ "index.d.ts"
51
+ ],
52
+ "funding": "https://github.com/sponsors/sindresorhus",
53
+ "homepage": "https://github.com/sindresorhus/strip-json-comments#readme",
54
+ "keywords": [
55
+ "json",
56
+ "strip",
57
+ "comments",
58
+ "remove",
59
+ "delete",
60
+ "trim",
61
+ "multiline",
62
+ "parse",
63
+ "config",
64
+ "configuration",
65
+ "settings",
66
+ "util",
67
+ "env",
68
+ "environment",
69
+ "jsonc"
70
+ ],
71
+ "license": "MIT",
72
+ "name": "strip-json-comments",
73
+ "repository": {
74
+ "type": "git",
75
+ "url": "git+https://github.com/sindresorhus/strip-json-comments.git"
76
+ },
77
+ "scripts": {
78
+ "bench": "matcha benchmark.js",
79
+ "test": "xo && ava && tsd"
80
+ },
81
+ "version": "3.1.1"
47
82
  }
@@ -2,8 +2,8 @@
2
2
 
3
3
  A simple temporary file and directory creator for [node.js.][1]
4
4
 
5
- [![Build Status](https://travis-ci.org/raszi/node-tmp.svg?branch=master)](https://travis-ci.org/raszi/node-tmp)
6
- [![Dependencies](https://david-dm.org/raszi/node-tmp.svg)](https://david-dm.org/raszi/node-tmp)
5
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/raszi/node-tmp/node.js.yml?branch=master)](https://github.com/raszi/node-tmp/actions/workflows/node.js.yml)
6
+ [![Dependencies](https://img.shields.io/librariesio/github/raszi/node-tmp)](https://libraries.io/github/raszi/node-tmp)
7
7
  [![npm version](https://badge.fury.io/js/tmp.svg)](https://badge.fury.io/js/tmp)
8
8
  [![API documented](https://img.shields.io/badge/API-documented-brightgreen.svg)](https://raszi.github.io/node-tmp/)
9
9
  [![Known Vulnerabilities](https://snyk.io/test/npm/tmp/badge.svg)](https://snyk.io/test/npm/tmp)
@@ -27,10 +27,41 @@ not.
27
27
  If you do not want to store your temporary directories and files in the
28
28
  standard OS temporary directory, then you are free to override that as well.
29
29
 
30
+ ## An Important Note on Previously Undocumented Breaking Changes
31
+
32
+ All breaking changes that had been introduced, i.e.
33
+
34
+ - tmpdir must be located under the system defined tmpdir root.
35
+ - Spaces being collapsed into single spaces
36
+ - Removal of all single and double quote characters
37
+
38
+ have been reverted in v0.2.2 and tmp should now behave as it did before the
39
+ introduction of these breaking changes.
40
+
41
+ Other breaking changes, i.e.
42
+
43
+ - template must be relative to tmpdir
44
+ - name must be relative to tmpdir
45
+ - dir option must be relative to tmpdir
46
+
47
+ are still in place.
48
+
49
+ In order to override the system's tmpdir, you will have to use the newly
50
+ introduced tmpdir option.
51
+
30
52
  ## An Important Note on Compatibility
31
53
 
32
54
  See the [CHANGELOG](./CHANGELOG.md) for more information.
33
55
 
56
+ ### Version 0.2.3
57
+
58
+ - Node version <= 14.4 has been dropped.
59
+ - rimraf has been dropped from the dependencies
60
+
61
+ ### Version 0.2.2
62
+
63
+ Since version 0.2.2, all support for node version <= 14 has been dropped.
64
+
34
65
  ### Version 0.1.0
35
66
 
36
67
  Since version 0.1.0, all support for node versions < 0.10.0 has been dropped.
@@ -60,6 +91,18 @@ npm install tmp
60
91
 
61
92
  Please also check [API docs][4].
62
93
 
94
+ ## Graceful cleanup
95
+
96
+ If graceful cleanup is set, tmp will remove all controlled temporary objects on process exit, otherwise the temporary objects will remain in place, waiting to be cleaned up on system restart or otherwise scheduled temporary object removal.
97
+
98
+ To enforce this, you can call the `setGracefulCleanup()` method:
99
+
100
+ ```javascript
101
+ const tmp = require('tmp');
102
+
103
+ tmp.setGracefulCleanup();
104
+ ```
105
+
63
106
  ### Asynchronous file creation
64
107
 
65
108
  Simple temporary file creation, the file will be closed and unlinked on process exit.
@@ -319,20 +362,6 @@ const tmpname = tmp.tmpNameSync(options);
319
362
  console.log('Created temporary filename: ', tmpname);
320
363
  ```
321
364
 
322
- ## Graceful cleanup
323
-
324
- If graceful cleanup is set, tmp will remove all controlled temporary objects on process exit, otherwise the
325
- temporary objects will remain in place, waiting to be cleaned up on system restart or otherwise scheduled temporary
326
- object removal.
327
-
328
- To enforce this, you can call the `setGracefulCleanup()` method:
329
-
330
- ```javascript
331
- const tmp = require('tmp');
332
-
333
- tmp.setGracefulCleanup();
334
- ```
335
-
336
365
  ## Options
337
366
 
338
367
  All options are optional :)
@@ -341,11 +370,8 @@ All options are optional :)
341
370
  * `mode`: the file mode to create with, falls back to `0o600` on file creation and `0o700` on directory creation
342
371
  * `prefix`: the optional prefix, defaults to `tmp`
343
372
  * `postfix`: the optional postfix
344
- * `template`: [`mkstemp`][3] like filename template, no default, can be either an absolute or a relative path that resolves
345
- to a relative path of the system's default temporary directory, must include `XXXXXX` once for random name generation, e.g.
346
- 'foo/bar/XXXXXX'. Absolute paths are also fine as long as they are relative to os.tmpdir().
347
- Any directories along the so specified path must exist, otherwise a ENOENT error will be thrown upon access,
348
- as tmp will not check the availability of the path, nor will it establish the requested path for you.
373
+ * `template`: [`mkstemp`][3] like filename template, no default, must include `XXXXXX` once for random name generation, e.g.
374
+ 'foo-bar-XXXXXX'.
349
375
  * `dir`: the optional temporary directory that must be relative to the system's default temporary directory.
350
376
  absolute paths are fine as long as they point to a location under the system's default temporary directory.
351
377
  Any directories along the so specified path must exist, otherwise a ENOENT error will be thrown upon access,