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

appium-xcode

Package Overview
Dependencies
Maintainers
3
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-xcode - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

build/lib/xcode.js

@@ -220,3 +220,3 @@ 'use strict';

xcodePath = context$1$0.sent;
plistPath = xcodePath.replace(XCODE_SUBDIR, '/Contents/Info.plist');
plistPath = _path2['default'].resolve(xcodePath, '..', 'Info.plist');
context$1$0.next = 6;

@@ -461,2 +461,2 @@ return fileExists(plistPath);

// rather than waste time getting the iOSSDKVersion, just get both paths and see which one exists
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxpYi94Y29kZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztzQkFBbUIsUUFBUTs7Ozt1QkFDUCxnQkFBZ0I7Ozs7a0JBQ3JCLElBQUk7Ozs7eUJBQ0csV0FBVzs7OztvQkFDaEIsTUFBTTs7OztxQkFDRCxVQUFVOztzQkFDbEIsUUFBUTs7OztxQkFDSixPQUFPOzs7O0FBRXpCLElBQU0sSUFBSSxHQUFHLHFCQUFRLElBQUksQ0FBQyxJQUFJLENBQUM7QUFDL0IsSUFBTSxJQUFJLEdBQUcscUJBQVEsSUFBSSxDQUFDO0FBQzFCLElBQU0sVUFBVSxHQUFHLHFCQUFRLElBQUksQ0FBQyxVQUFVLENBQUM7QUFDM0MsSUFBTSxXQUFXLEdBQUcscUJBQVEsSUFBSSxDQUFDLFdBQVcsQ0FBQztBQUM3QyxJQUFNLFdBQVcsR0FBRyx1QkFBVSxnQkFBRyxRQUFRLENBQUMsQ0FBQztBQUMzQyxJQUFNLEdBQUcsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDOztBQUV4QixJQUFNLG9CQUFvQixHQUFHLElBQU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BpZiAoY3VycmVudEVudHJ5Ll9pdGVtcykge1xuICAgICAgZW50cmllc1RvU2VhcmNoID0gZW50cmllc1RvU2VhcmNoLmNvbmNhdChjdXJyZW50RW50cnkuX2l0ZW1zKTtcbiAgICB9XG4gIH1cbiAgcmV0dXJuIGRldmljZXNGb3VuZDtcbn1cblxuZnVuY3Rpb24gY2xlYXJJbnRlcm5hbENhY2hlICgpIHtcblxuICAvLyBtZW1vaXplZCBmdW5jdGlvbnNcbiAgY29uc3QgbWVtb2l6ZWQgPSBbZ2V0UGF0aCwgZ2V0VmVyc2lvbiwgZ2V0QXV0b21hdGlvblRyYWNlVGVtcGxhdGVQYXRoLFxuICAgICAgICAgICAgICAgICAgICBnZXRNYXhJT1NTREtdO1xuXG4gIG1lbW9pemVkLmZvckVhY2goKGYpID0+IHtcbiAgICBpZiAoZi5jYWNoZSkge1xuICAgICAgZi5jYWNoZSA9IG5ldyBfLm1lbW9pemUuQ2FjaGUoKTtcbiAgICB9XG4gIH0pO1xuXG5cbn1cblxuZXhwb3J0IHsgZ2V0UGF0aCwgZ2V0VmVyc2lvbiwgZ2V0QXV0b21hdGlvblRyYWNlVGVtcGxhdGVQYXRoLCBnZXRNYXhJT1NTREssXG4gICAgICAgICBnZXRBdXRvbWF0aW9uVHJhY2VUZW1wbGF0ZVBhdGhXaXRob3V0UmV0cnksIGdldE1heElPU1NES1dpdGhvdXRSZXRyeSxcbiAgICAgICAgIGdldENvbm5lY3RlZERldmljZXMsIGNsZWFySW50ZXJuYWxDYWNoZSB9O1xuIl19

@@ -112,3 +112,3 @@ import npmlog from 'npmlog';

// It should be in /[root]/XCode.app/Contents/
const plistPath = xcodePath.replace(XCODE_SUBDIR, "/Contents/Info.plist");
const plistPath = path.resolve(xcodePath, "..", "Info.plist");

@@ -115,0 +115,0 @@ if (!await fileExists(plistPath)) {

@@ -7,3 +7,3 @@ {

],
"version": "2.0.3",
"version": "2.0.4",
"author": "appium",

@@ -10,0 +10,0 @@ "license": "Apache License 2.0",

@@ -64,1 +64,8 @@ appium-xcode

```
Debug
=====
After cloning appium-xcode, execute `npm link` in the appium-xcode directory. Next run `npm link appium-xcode` from the appium directory. This will symlink appium-xcode to node_modules/appium-xcode. If the clone becomes out of date remember to unlink or delete node_modules and reinstall.
For quick debugging you could cd into the node_modules/appium-xcode folder and run `npm install` followed by `gulp transpile`.

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