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

patronum

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patronum - npm Package Compare versions

Comparing version 1.4.0-next.0 to 1.4.0-next.1

2

package.json
{
"name": "patronum",
"version": "1.4.0-next.0",
"version": "1.4.0-next.1",
"description": "☄️ Effector utility library delivering modularity and convenience",

@@ -5,0 +5,0 @@ "type": "module",

@@ -5,3 +5,2 @@ # <img src="logo.svg" title="effector patronum" alt="Effector Patronum logo" width="640px">

☄️ Effector operators library delivering modularity and convenience

@@ -44,2 +43,4 @@

> Please, review documentation for YOUR version of patronum not the latest. Find and open tag/release for your version.
```bash

@@ -60,4 +61,2 @@ npm install patronum

> Be careful, with this import method, all functions can be at your bundle
```ts

@@ -77,4 +76,12 @@ import { delay, inFlight } from 'patronum';

Since release of patronum@2.0.0 it is required to use babel-plugin-macros@3.0.0 or higher.
Please note, that react-scripts@4.0.3 and older **uses outdated version** of this plugin - you can either use [yarn resolutions](https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/) or use react-scripts@5.0.0 or higher.
## Migration guide
### v2.0.0
Removed support of effector v21. Now the minimum supported version is `v22.1.2`.
### v0.110

@@ -84,3 +91,3 @@

Please, before upgrade review release notes of [`effector v21`](https://github.com/zerobias/effector/releases/tag/effector%4021.0.0).
Please, before upgrade review release notes of [`effector v21`](https://github.com/effector/effector/releases/tag/effector%4021.0.0).

@@ -199,4 +206,4 @@ ### v0.100

```ts
import { createStore, createEvent } from 'effector'
import { interval } from 'patronum'
import { createStore, createEvent } from 'effector';
import { interval } from 'patronum';

@@ -210,11 +217,11 @@ const startCounter = createEvent();

start: startCounter,
stop: stopCounter
stop: stopCounter,
});
$counter.on(tick, (number) => number + 1);
$counter.watch(value => console.log("COUNTER", value));
$counter.watch((value) => console.log('COUNTER', value));
startCounter();
setTimeout(() => stopCounter(), 5000)
setTimeout(() => stopCounter(), 5000);
```

@@ -221,0 +228,0 @@

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