New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@klarna/react-native-vector-drawable

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@klarna/react-native-vector-drawable - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

29

CHANGELOG.md

@@ -10,17 +10,32 @@ # Changelog

## [0.0.2] - yyyy-mm-dd
## [0.2.0] - 2021-05-20
### Added
- `resizeMode` prop.
## [0.1.2] - 2021-04-26
### Added
- Typescript definitions.
## [0.1.1] - 2021-04-22
### Changed
- A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.
- Don't mix MJS and CJS.
## [0.0.1] - yyyy-mm-dd
## [0.1.0] - 2021-04-15
### Added
- To make it easier for users and contributors to see precisely what notable changes have been made between each release (or version) of the project.
- Initial release.
<!-- Markdown link dfn's -->
[unreleased]: https://github.com/klarna-incubator/TODO/compare/v1.1.0...HEAD
[0.0.2]: https://github.com/klarna-incubator/TODO/compare/v0.0.1...v0.0.2
[0.0.1]: https://github.com/klarna-incubator/TODO/releases/tag/v0.0.1
[unreleased]: https://github.com/klarna-incubator/react-native-vector-drawable/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/klarna-incubator/react-native-vector-drawable/compare/v0.1.2...v0.2.0
[0.1.2]: https://github.com/klarna-incubator/react-native-vector-drawable/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/klarna-incubator/react-native-vector-drawable/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/klarna-incubator/react-native-vector-drawable/releases/tag/v0.1.0
{
"name": "@klarna/react-native-vector-drawable",
"version": "0.1.2",
"version": "0.2.0",
"description": "Android vector drawables in React Native",

@@ -5,0 +5,0 @@ "main": "src",

@@ -30,2 +30,9 @@ # react-native-vector-drawable

### Props
| Prop | Description | Default |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| **`resourceName`** | Name of the Android vector drawable resource. | _None_ |
| **`resizeMode`** | Determines how to resize the image when the frame doesn't match the raw image dimensions. Possible values are `cover`, `contain`, `stretch` and `center` | `contain` |
## How to contribute

@@ -48,3 +55,3 @@

[ci-image]: https://img.shields.io/badge/build-passing-brightgreen?style=flat-square
[ci-url]: https://github.com/klarna-incubator/TODO
[ci-url]: https://github.com/klarna-incubator/react-native-vector-drawable/actions/
[license-image]: https://img.shields.io/badge/license-Apache%202-blue?style=flat-square

@@ -51,0 +58,0 @@ [license-url]: http://www.apache.org/licenses/LICENSE-2.0

@@ -9,2 +9,3 @@ import * as React from 'react';

resourceName: string;
resizeMode?: 'contain' | 'cover' | 'stretch' | 'center';
}

@@ -11,0 +12,0 @@

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