Socket
Socket
Sign inDemoInstall

@capacitor/android

Package Overview
Dependencies
Maintainers
8
Versions
733
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/android - npm Package Compare versions

Comparing version 6.0.0-rc.2 to 6.0.0

18

capacitor/src/main/assets/native-bridge.js

@@ -112,2 +112,8 @@

}
else if (body instanceof URLSearchParams) {
return {
data: body.toString(),
type: 'text',
};
}
else if (body instanceof FormData) {

@@ -496,7 +502,7 @@ const formData = await convertFormData(body);

}
if (!(options === null || options === void 0 ? void 0 : options.method) ||
options.method.toLocaleUpperCase() === 'GET' ||
options.method.toLocaleUpperCase() === 'HEAD' ||
options.method.toLocaleUpperCase() === 'OPTIONS' ||
options.method.toLocaleUpperCase() === 'TRACE') {
const { method } = request;
if (method.toLocaleUpperCase() === 'GET' ||
method.toLocaleUpperCase() === 'HEAD' ||
method.toLocaleUpperCase() === 'OPTIONS' ||
method.toLocaleUpperCase() === 'TRACE') {
if (typeof resource === 'string') {

@@ -513,3 +519,3 @@ return await win.CapacitorWebFetch(createProxyUrl(resource, win), options);

try {
const { body, method } = request;
const { body } = request;
const optionHeaders = Object.fromEntries(request.headers.entries());

@@ -516,0 +522,0 @@ const { data: requestData, type, headers, } = await convertBody((options === null || options === void 0 ? void 0 : options.body) || body || undefined, optionHeaders['Content-Type'] || optionHeaders['content-type']);

{
"name": "@capacitor/android",
"version": "6.0.0-rc.2",
"version": "6.0.0",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

@@ -26,3 +26,3 @@ "homepage": "https://capacitorjs.com",

"peerDependencies": {
"@capacitor/core": "^6.0.0-rc.2"
"@capacitor/core": "^6.0.0"
},

@@ -29,0 +29,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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