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

appc-platform-sdk

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appc-platform-sdk - npm Package Compare versions

Comparing version 1.0.38 to 1.0.39

14

lib/index.js

@@ -62,2 +62,3 @@ /**

*/
AppC.setPreproduction =
AppC.setDevelopment = function setDevelopment() {

@@ -91,5 +92,14 @@ AppC.baseurl = 'https://360-preprod.cloud.appctest.com';

function isRunningInPreproduction() {
return process.env.NODE_ACS_URL &&
process.env.NODE_ACS_URL.indexOf('.appctest.com') > 0;
}
// set DEFAULT to production host
AppC.setProduction();
// if running in pre-production, assume by default we want preproduction setup
if (isRunningInPreproduction()) {
AppC.setDevelopment();
}
else {
AppC.setProduction();
}

@@ -96,0 +106,0 @@ function createRequestObject(session,url) {

13

package.json
{
"name": "appc-platform-sdk",
"version": "1.0.38",
"version": "1.0.39",
"description": "Appcelerator Platform SDK for node.js",
"main": "index.js",
"scripts": {
"test": "grunt"
"test": "grunt",
"preinstall": "[ -e ./node_modules/ensure-latest/index.js ] && node ./node_modules/ensure-latest || echo"
},

@@ -23,3 +24,3 @@ "repository": {

"dependencies": {
"appc-request-ssl": "^1.0.15",
"appc-request-ssl": "1.0.16",
"async": "^0.9.0",

@@ -31,6 +32,10 @@ "debug": "^2.1.0",

"devDependencies": {
"ensure-latest": "^1.0.2",
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.10.0",
"prompt": "^0.2.14"
}
},
"ensureLatest": [
"appc-request-ssl"
]
}

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