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

@cap-cross/cap-react-native

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-cross/cap-react-native - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

src/util/Util.js

26

dist/cap-react-native.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define === 'function' && define.amd ? define(factory) :
(factory());
}(this, (function () { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global['cap-react-native'] = {})));
}(this, (function (exports) { 'use strict';
// import log from './log/index'
// import { Platform } from 'react-native';
// export {
// log
// }
var Util = {
platformOS: function platformOS() {
return (
// Platform.OS;
// 'ios';
'android'
);
}
};
exports.Util = Util;
Object.defineProperty(exports, '__esModule', { value: true });
})));

@@ -1,1 +0,1 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n()}(0,function(){"use strict"});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e["cap-react-native"]={})}(this,function(e){"use strict";e.Util={platformOS:function(){return"android"}},Object.defineProperty(e,"__esModule",{value:!0})});

@@ -1,5 +0,13 @@

// import log from './log/index'
// import { Platform } from 'react-native';
// export {
// log
// }
var Util = {
platformOS: function platformOS() {
return (
// Platform.OS;
// 'ios';
'android'
);
}
};
export { Util };
'use strict';
// import log from './log/index'
Object.defineProperty(exports, '__esModule', { value: true });
// export {
// log
// }
// import { Platform } from 'react-native';
var Util = {
platformOS: function platformOS() {
return (
// Platform.OS;
// 'ios';
'android'
);
}
};
exports.Util = Util;
{
"name": "@cap-cross/cap-react-native",
"version": "0.1.0",
"version": "0.2.0",
"description": "Common code for cap-cross mobile applications having dependencies on React Native",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,5 +0,5 @@

// import log from './log/index'
import Util from './util/Util'
// export {
// log
// }
export {
Util
}
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