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

fable-react

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fable-react - npm Package Compare versions

Comparing version 0.7.9 to 0.7.10

2

package.json
{
"name": "fable-react",
"version": "0.7.9",
"version": "0.7.10",
"description": "Fable bindings and helpers for React and React Native",

@@ -5,0 +5,0 @@ "scripts": {

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

import { awaitPromise } from "fable-core/Async";
import react_native_image_resizer from "react-native-image-resizer";
export function createResizedImage(path, maxWidth, maxHeight, compressFormat, quality) {
return awaitPromise(react_native_image_resizer.createResizedImage(path, maxWidth, maxHeight, compressFormat, quality));
return react_native_image_resizer.createResizedImage(path, maxWidth, maxHeight, compressFormat, quality);
}
//# sourceMappingURL=Fable.Helpers.ReactNativeImageResizer.js.map
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "fable-core/umd/Async", "react-native-image-resizer"], factory);
define(["exports", "react-native-image-resizer"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("fable-core/umd/Async"), require("react-native-image-resizer"));
factory(exports, require("react-native-image-resizer"));
} else {

@@ -10,6 +10,6 @@ var mod = {

};
factory(mod.exports, global.Async, global.reactNativeImageResizer);
factory(mod.exports, global.reactNativeImageResizer);
global.FableHelpersReactNativeImageResizer = mod.exports;
}
})(this, function (exports, _Async, _reactNativeImageResizer) {
})(this, function (exports, _reactNativeImageResizer) {
"use strict";

@@ -31,5 +31,5 @@

function createResizedImage(path, maxWidth, maxHeight, compressFormat, quality) {
return (0, _Async.awaitPromise)(_reactNativeImageResizer2.default.createResizedImage(path, maxWidth, maxHeight, compressFormat, quality));
return _reactNativeImageResizer2.default.createResizedImage(path, maxWidth, maxHeight, compressFormat, quality);
}
});
//# sourceMappingURL=Fable.Helpers.ReactNativeImageResizer.js.map

Sorry, the diff of this file is not supported yet

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