File tree Expand file tree Collapse file tree
recaptcha_enterprise/demosite/app Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ) ;
3636const PROPERTIES = propertiesReader ( 'config.properties' ) ;
3737
3838const context = {
Original file line number Diff line number Diff line change 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" : {
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+ }
You can’t perform that action at this time.
0 commit comments