Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestlab/google-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestlab/google-recaptcha - npm Package Compare versions

Comparing version 3.1.9 to 3.2.0

1

google-recaptcha.module.d.ts

@@ -12,2 +12,3 @@ import { DynamicModule } from '@nestjs/common';

private static isGoogleRecaptchaFactory;
private static createAxiosInstance;
}

7

google-recaptcha.module.js

@@ -45,3 +45,3 @@ "use strict";

provide: provider_declarations_1.RECAPTCHA_AXIOS_INSTANCE,
useFactory: () => axios.default.create(this.transformAxiosConfig(Object.assign(Object.assign(Object.assign({}, this.axiosDefaultConfig), options.axiosConfig), { headers: null }))),
useFactory: () => this.createAxiosInstance(this.transformAxiosConfig(Object.assign(Object.assign(Object.assign({}, this.axiosDefaultConfig), options.axiosConfig), { headers: null }))),
},

@@ -83,3 +83,3 @@ ];

const transformedAxiosConfig = this.transformAxiosConfig(Object.assign(Object.assign(Object.assign({}, this.axiosDefaultConfig), options.axiosConfig), { headers: null }));
return axios.default.create(transformedAxiosConfig);
return this.createAxiosInstance(transformedAxiosConfig);
},

@@ -149,2 +149,5 @@ inject: [provider_declarations_1.RECAPTCHA_OPTIONS],

}
static createAxiosInstance(axiosConfig) {
return axios['create'](axiosConfig); // TODO: Updated when axios ts declaration will be fixed
}
}

@@ -151,0 +154,0 @@ exports.GoogleRecaptchaModule = GoogleRecaptchaModule;

{
"name": "@nestlab/google-recaptcha",
"version": "3.1.9",
"version": "3.2.0",
"description": "Google recaptcha module for NestJS.",

@@ -34,7 +34,7 @@ "keywords": [

"peerDependencies": {
"@nestjs/axios": ">=0.0.1 <1.0.0",
"@nestjs/axios": ">=1.0.0 <2.0.0",
"@nestjs/common": ">=8.0.0 <10.0.0",
"@nestjs/core": ">=8.0.0 <10.0.0",
"rxjs": ">=7.0.0 <8.0.0",
"axios": ">=0.21.0 <0.28.0"
"axios": ">=1.0.0 <2.0.0"
},

@@ -48,3 +48,3 @@ "peerDependenciesMeta": {

"@nestjs/apollo": "^10.0.22",
"@nestjs/axios": "^0.1.0",
"@nestjs/axios": "^1.0.0",
"@nestjs/common": "^9.0.11",

@@ -51,0 +51,0 @@ "@nestjs/core": "^9.0.11",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc