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

@rimbu/deep

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/deep - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

src/immutable.ts

4

dist/main/patch.js

@@ -63,3 +63,5 @@ "use strict";

}
return function (value) { return Patch(value).apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(patches))); };
return function (value) {
return Patch(value).apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(patches)));
};
}

@@ -66,0 +68,0 @@ Patch.create = create;

{
"name": "@rimbu/deep",
"version": "0.5.8",
"version": "0.5.9",
"description": "Tools to use handle plain JS objects as immutable objects",

@@ -38,3 +38,4 @@ "keywords": [

"files": [
"dist"
"dist",
"src"
],

@@ -57,11 +58,5 @@ "scripts": {

"sideEffects": false,
"devDependencies": {
"@types/jest": "^26.0.23",
"jest": "^26.6.3",
"ts-jest": "^26.5.5",
"typescript": "^4.2.4"
},
"dependencies": {
"@rimbu/base": "^0.5.8",
"@rimbu/common": "^0.5.8"
"@rimbu/base": "^0.5.9",
"@rimbu/common": "^0.5.9"
},

@@ -71,3 +66,3 @@ "publishConfig": {

},
"gitHead": "ac4608d3221339352917943ef3513192ddef5a4f"
"gitHead": "0158eaad0dec4503e92cb308af952869d68faad5"
}

@@ -9,11 +9,11 @@ <p align="center">

For complete documentation please visit the _[Rimbu Docs](http://rimbu.org/rimbu-core)_.
For complete documentation please visit the _[Rimbu Docs](http://rimbu.org)_.
## Installation
`yarn add @rimbu/deep`
> `yarn add @rimbu/deep`
or
`npm i @rimbu/deep`
> `npm i @rimbu/deep`

@@ -35,2 +35,19 @@ ### recommended tsconfig.json settings

## Usage
```ts
import { Patch } from '@rimbu/deep';
console.log(
Patch({
a: 'a',
b: { c: 1, d: true },
})({
a: 'q',
b: { c: (v) => v + 1 },
})
);
// => { a: 'q', b: { c: 2, d: true }}
```
## Author

@@ -37,0 +54,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

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