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

io.extendreality.malimbe

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.extendreality.malimbe - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

14

CHANGELOG.md
# Changelog
# [8.0.0](https://github.com/ExtendRealityLtd/Malimbe/compare/v7.0.0...v8.0.0) (2019-01-29)
### Features
* **PropertySetter:** allow using property inside called method ([ba8d4ac](https://github.com/ExtendRealityLtd/Malimbe/commit/ba8d4ac))
### BREAKING CHANGES
* **PropertySetter:** `SetsPropertyAttribute` was renamed to
`CalledBySetterAttribute` and the expected signature of the
annotated method changed. Please see the latest Readme for details.
# [7.0.0](https://github.com/ExtendRealityLtd/Malimbe/compare/v6.1.1...v7.0.0) (2019-01-27)

@@ -4,0 +18,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A collection of tools to simplify writing public API components in Unity.",
"version": "7.0.0",
"version": "8.0.0",
"unity": "2018.1",

@@ -8,0 +8,0 @@ "keywords": [

@@ -110,5 +110,6 @@ [![Malimbe logo][Malimbe-Image]](#)

A generic weaver. Calls a validation method at the start of a property's setter.
A generic weaver. Calls a method at the end of a property's setter.
* Annotate a method with `[SetsProperty(nameof(SomeProperty))]` to use this. The method needs to follow the signature pattern `T MethodName(T, T)` where `T` is the property's type. The accessibility level of the method doesn't matter and the name lookup is case insensitive. A call to this method will be added to the _start_ of the property's setter.
* Annotate a method with `[CalledBySetter(nameof(SomeProperty))]` to use this. The accessibility level of the method doesn't matter and the name lookup is case insensitive. A call to this method will be added to the _end_ of the property's setter.
* The method needs to follow the signature pattern `void MethodName(T previousValue, ref T newValue)` where `T` is the property's type. This allows the method's body to use the previous and new values and also offers the ability to change the final value by setting `newValue` if needed.
* The property needs to be declared in the same type the method is declared in. Both a getter and setter are required for the property.

@@ -115,0 +116,0 @@

Sorry, the diff of this file is not supported yet

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