Skip to content

Commit 74b581d

Browse files
Cory-Krameriennae
andauthored
chore(deps): Update recaptcha demosite dependencies. (#4271)
Co-authored-by: Jennifer Davis <sigje@google.com>
1 parent f9b8d86 commit 74b581d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

recaptcha_enterprise/demosite/app/controllers/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const Label = {
3232
// Parse config file and read available reCAPTCHA actions. All reCAPTCHA actions registered in the client
3333
// should be mapped in the config file. This will be used to verify if the token obtained during assessment
3434
// corresponds to the claimed action.
35-
const propertiesReader = require('properties-reader');
35+
const {propertiesReader} = require('properties-reader');
3636
const PROPERTIES = propertiesReader('config.properties');
3737

3838
const context = {

recaptcha_enterprise/demosite/app/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "Apache-2.0",
66
"author": "Google Inc.",
77
"scripts": {
8+
"start": "node index.js",
89
"test": "echo \"Error: no test specified\" && exit 1"
910
},
1011
"engines": {
@@ -16,10 +17,10 @@
1617
"url": "https://github.com/googleapis/google-cloud-node.git"
1718
},
1819
"dependencies": {
19-
"@google-cloud/recaptcha-enterprise": "^5.5.0",
20-
"body-parser": "^1.20.0",
21-
"express": "^4.18.1",
20+
"@google-cloud/recaptcha-enterprise": "^6.4.0",
21+
"body-parser": "^2.2.2",
22+
"express": "^5.2.1",
2223
"mustache-express": "^1.3.2",
23-
"properties-reader": "^2.2.0"
24+
"properties-reader": "^3.0.1"
2425
}
25-
}
26+
}

0 commit comments

Comments
 (0)