Socket
Socket
Sign inDemoInstall

@capacitor/ios

Package Overview
Dependencies
Maintainers
8
Versions
751
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-nightly-20240312T150444.0 to 6.0.0-nightly-20240313T150530.0

6

Capacitor/Capacitor/assets/native-bridge.js

@@ -145,7 +145,9 @@

return url;
let proxyUrl = new URL(url);
const proxyUrl = new URL(url);
const bridgeUrl = new URL((_b = (_a = win.Capacitor) === null || _a === void 0 ? void 0 : _a.getServerUrl()) !== null && _b !== void 0 ? _b : '');
const isHttps = proxyUrl.protocol === 'https:';
const originalHost = encodeURIComponent(proxyUrl.host);
const originalPathname = proxyUrl.pathname;
proxyUrl = new URL((_b = (_a = win.Capacitor) === null || _a === void 0 ? void 0 : _a.getServerUrl()) !== null && _b !== void 0 ? _b : '');
proxyUrl.protocol = bridgeUrl.protocol;
proxyUrl.host = bridgeUrl.host;
proxyUrl.pathname = `${isHttps ? CAPACITOR_HTTPS_INTERCEPTOR : CAPACITOR_HTTP_INTERCEPTOR}/${originalHost}${originalPathname}`;

@@ -152,0 +154,0 @@ return proxyUrl.toString();

{
"name": "@capacitor/ios",
"version": "6.0.0-nightly-20240312T150444.0",
"version": "6.0.0-nightly-20240313T150530.0",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",

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

"scripts": {
"verify": "npm run xc:build:Capacitor && npm run xc:build:CapacitorCordova && pod lib lint --allow-warnings Capacitor.podspec && pod lib lint --allow-warnings CapacitorCordova.podspec",
"verify": "npm run xc:build:Capacitor && npm run xc:build:CapacitorCordova",
"xc:build:Capacitor": "cd Capacitor && xcodebuild -workspace Capacitor.xcworkspace -scheme Capacitor && cd ..",

@@ -30,3 +30,3 @@ "xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd ..",

"peerDependencies": {
"@capacitor/core": "^6.0.0-nightly-20240312T150444.0"
"@capacitor/core": "^6.0.0-nightly-20240313T150530.0"
},

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