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

@capacitor/android

Package Overview
Dependencies
Maintainers
8
Versions
770
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-nightly-20240412T150441.0 to 6.0.0-nightly-20240415T150449.0

12

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

@@ -501,7 +501,7 @@

}
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') {

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

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

@@ -521,0 +521,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-nightly-20240412T150441.0",
"version": "6.0.0-nightly-20240415T150449.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-nightly-20240412T150441.0"
"@capacitor/core": "^6.0.0-nightly-20240415T150449.0"
},

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

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