firebase-tools 11.7.0 → 11.8.0
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/lib/deploy/functions/build.js +2 -2
- package/lib/deploy/functions/params.js +7 -1
- package/lib/deploy/functions/prepare.js +1 -1
- package/lib/emulator/storage/apis/firebase.js +139 -125
- package/lib/emulator/storage/apis/gcloud.js +102 -42
- package/lib/emulator/storage/files.js +25 -15
- package/lib/emulator/storage/metadata.js +76 -55
- package/lib/emulator/storage/rules/runtime.js +10 -2
- package/lib/emulator/storage/upload.js +45 -9
- package/lib/functions/constants.js +14 -0
- package/lib/gcp/cloudfunctions.js +15 -18
- package/lib/gcp/cloudfunctionsv2.js +15 -18
- package/lib/gcp/cloudscheduler.js +2 -1
- package/lib/track.js +1 -1
- package/npm-shrinkwrap.json +33 -9
- package/package.json +4 -4
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "firebase-tools",
|
|
9
|
-
"version": "11.
|
|
9
|
+
"version": "11.8.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@google-cloud/pubsub": "^3.0.1",
|
|
13
13
|
"abort-controller": "^3.0.0",
|
|
14
14
|
"ajv": "^6.12.6",
|
|
15
15
|
"archiver": "^5.0.0",
|
|
16
|
+
"async-lock": "1.3.2",
|
|
16
17
|
"body-parser": "^1.19.0",
|
|
17
18
|
"chokidar": "^3.0.2",
|
|
18
19
|
"cjson": "^0.3.1",
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
"configstore": "^5.0.1",
|
|
23
24
|
"cors": "^2.8.5",
|
|
24
25
|
"cross-env": "^5.1.3",
|
|
25
|
-
"cross-spawn": "^7.0.
|
|
26
|
+
"cross-spawn": "^7.0.3",
|
|
26
27
|
"csv-parse": "^5.0.4",
|
|
27
28
|
"exegesis": "^4.1.0",
|
|
28
29
|
"exegesis-express": "^4.0.0",
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
"@google/events": "^5.1.1",
|
|
79
80
|
"@manifoldco/swagger-to-ts": "^2.0.0",
|
|
80
81
|
"@types/archiver": "^5.1.0",
|
|
82
|
+
"@types/async-lock": "^1.1.5",
|
|
81
83
|
"@types/body-parser": "^1.17.0",
|
|
82
84
|
"@types/chai": "^4.3.0",
|
|
83
85
|
"@types/chai-as-promised": "^7.1.4",
|
|
@@ -2165,6 +2167,12 @@
|
|
|
2165
2167
|
"@types/glob": "*"
|
|
2166
2168
|
}
|
|
2167
2169
|
},
|
|
2170
|
+
"node_modules/@types/async-lock": {
|
|
2171
|
+
"version": "1.1.5",
|
|
2172
|
+
"resolved": "https://registry.npmjs.org/@types/async-lock/-/async-lock-1.1.5.tgz",
|
|
2173
|
+
"integrity": "sha512-A9ClUfmj6wwZMLRz0NaYzb98YH1exlHdf/cdDSKBfMQJnPOdO8xlEW0Eh2QsTTntGzOFWURcEjYElkZ1IY4GCQ==",
|
|
2174
|
+
"dev": true
|
|
2175
|
+
},
|
|
2168
2176
|
"node_modules/@types/body-parser": {
|
|
2169
2177
|
"version": "1.17.0",
|
|
2170
2178
|
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.0.tgz",
|
|
@@ -3518,6 +3526,11 @@
|
|
|
3518
3526
|
"lodash": "^4.17.14"
|
|
3519
3527
|
}
|
|
3520
3528
|
},
|
|
3529
|
+
"node_modules/async-lock": {
|
|
3530
|
+
"version": "1.3.2",
|
|
3531
|
+
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.3.2.tgz",
|
|
3532
|
+
"integrity": "sha512-phnXdS3RP7PPcmP6NWWzWMU0sLTeyvtZCxBPpZdkYE3seGLKSQZs9FrmVO/qwypq98FUtWWUEYxziLkdGk5nnA=="
|
|
3533
|
+
},
|
|
3521
3534
|
"node_modules/asynckit": {
|
|
3522
3535
|
"version": "0.4.0",
|
|
3523
3536
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
@@ -4683,9 +4696,9 @@
|
|
|
4683
4696
|
}
|
|
4684
4697
|
},
|
|
4685
4698
|
"node_modules/cross-spawn": {
|
|
4686
|
-
"version": "7.0.
|
|
4687
|
-
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.
|
|
4688
|
-
"integrity": "sha512-
|
|
4699
|
+
"version": "7.0.3",
|
|
4700
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
|
4701
|
+
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
|
|
4689
4702
|
"dependencies": {
|
|
4690
4703
|
"path-key": "^3.1.0",
|
|
4691
4704
|
"shebang-command": "^2.0.0",
|
|
@@ -15976,6 +15989,12 @@
|
|
|
15976
15989
|
"@types/glob": "*"
|
|
15977
15990
|
}
|
|
15978
15991
|
},
|
|
15992
|
+
"@types/async-lock": {
|
|
15993
|
+
"version": "1.1.5",
|
|
15994
|
+
"resolved": "https://registry.npmjs.org/@types/async-lock/-/async-lock-1.1.5.tgz",
|
|
15995
|
+
"integrity": "sha512-A9ClUfmj6wwZMLRz0NaYzb98YH1exlHdf/cdDSKBfMQJnPOdO8xlEW0Eh2QsTTntGzOFWURcEjYElkZ1IY4GCQ==",
|
|
15996
|
+
"dev": true
|
|
15997
|
+
},
|
|
15979
15998
|
"@types/body-parser": {
|
|
15980
15999
|
"version": "1.17.0",
|
|
15981
16000
|
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.0.tgz",
|
|
@@ -17102,6 +17121,11 @@
|
|
|
17102
17121
|
"lodash": "^4.17.14"
|
|
17103
17122
|
}
|
|
17104
17123
|
},
|
|
17124
|
+
"async-lock": {
|
|
17125
|
+
"version": "1.3.2",
|
|
17126
|
+
"resolved": "https://registry.npmjs.org/async-lock/-/async-lock-1.3.2.tgz",
|
|
17127
|
+
"integrity": "sha512-phnXdS3RP7PPcmP6NWWzWMU0sLTeyvtZCxBPpZdkYE3seGLKSQZs9FrmVO/qwypq98FUtWWUEYxziLkdGk5nnA=="
|
|
17128
|
+
},
|
|
17105
17129
|
"asynckit": {
|
|
17106
17130
|
"version": "0.4.0",
|
|
17107
17131
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
|
@@ -17992,9 +18016,9 @@
|
|
|
17992
18016
|
}
|
|
17993
18017
|
},
|
|
17994
18018
|
"cross-spawn": {
|
|
17995
|
-
"version": "7.0.
|
|
17996
|
-
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.
|
|
17997
|
-
"integrity": "sha512-
|
|
18019
|
+
"version": "7.0.3",
|
|
18020
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
|
18021
|
+
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
|
|
17998
18022
|
"requires": {
|
|
17999
18023
|
"path-key": "^3.1.0",
|
|
18000
18024
|
"shebang-command": "^2.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"description": "Command-Line Interface for Firebase",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,8 +21,6 @@
|
|
|
21
21
|
"lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
|
|
22
22
|
"lint:ts": "eslint --config .eslintrc.js --ext .ts,.js .",
|
|
23
23
|
"mocha": "nyc mocha 'src/test/**/*.{ts,js}'",
|
|
24
|
-
"mocha:storage-spec": "mocha 'src/test/emulators/storage/*.spec.ts'",
|
|
25
|
-
"mocha:storage-emulator-integration": "mocha 'scripts/storage-emulator-integration/tests.ts'",
|
|
26
24
|
"prepare": "npm run clean && npm run build -- --build tsconfig.publish.json",
|
|
27
25
|
"test": "npm run lint:quiet && npm run test:compile && npm run mocha",
|
|
28
26
|
"test:client-integration": "bash ./scripts/client-integration-tests/run.sh",
|
|
@@ -94,6 +92,7 @@
|
|
|
94
92
|
"abort-controller": "^3.0.0",
|
|
95
93
|
"ajv": "^6.12.6",
|
|
96
94
|
"archiver": "^5.0.0",
|
|
95
|
+
"async-lock": "1.3.2",
|
|
97
96
|
"body-parser": "^1.19.0",
|
|
98
97
|
"chokidar": "^3.0.2",
|
|
99
98
|
"cjson": "^0.3.1",
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
"configstore": "^5.0.1",
|
|
104
103
|
"cors": "^2.8.5",
|
|
105
104
|
"cross-env": "^5.1.3",
|
|
106
|
-
"cross-spawn": "^7.0.
|
|
105
|
+
"cross-spawn": "^7.0.3",
|
|
107
106
|
"csv-parse": "^5.0.4",
|
|
108
107
|
"exegesis": "^4.1.0",
|
|
109
108
|
"exegesis-express": "^4.0.0",
|
|
@@ -156,6 +155,7 @@
|
|
|
156
155
|
"@google/events": "^5.1.1",
|
|
157
156
|
"@manifoldco/swagger-to-ts": "^2.0.0",
|
|
158
157
|
"@types/archiver": "^5.1.0",
|
|
158
|
+
"@types/async-lock": "^1.1.5",
|
|
159
159
|
"@types/body-parser": "^1.17.0",
|
|
160
160
|
"@types/chai": "^4.3.0",
|
|
161
161
|
"@types/chai-as-promised": "^7.1.4",
|