Socket
Socket
Sign inDemoInstall

@capacitor/ios

Package Overview
Dependencies
Maintainers
8
Versions
750
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/ios - npm Package Compare versions

Comparing version 6.0.0-rc.2 to 6.0.0

18

Capacitor/Capacitor/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/ios",
"version": "6.0.0-rc.2",
"version": "6.0.0",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

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

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

@@ -32,0 +32,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