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

@thi.ng/paths

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/paths - npm Package Compare versions

Comparing version 5.1.78 to 5.1.79

8

CHANGELOG.md
# Change Log
- **Last updated**: 2024-04-11T12:32:44Z
- **Last updated**: 2024-04-20T14:42:45Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,8 @@

### [5.1.79](https://github.com/thi-ng/umbrella/tree/@thi.ng/paths@5.1.79) (2024-04-20)
#### ♻️ Refactoring
- update type usage ([8e242f1](https://github.com/thi-ng/umbrella/commit/8e242f1))
### [5.1.63](https://github.com/thi-ng/umbrella/tree/@thi.ng/paths@5.1.63) (2024-01-30)

@@ -14,0 +20,0 @@

4

get-in.d.ts

@@ -1,2 +0,2 @@

import type { DeepPath, OptPathVal, Path, Path0, Path1, Path2, Path3, Path4, Path5, Path6, Path7, Path8 } from "@thi.ng/api";
import type { DeepPath, Maybe, OptPathVal, Path, Path0, Path1, Path2, Path3, Path4, Path5, Path6, Path7, Path8 } from "@thi.ng/api";
/**

@@ -21,3 +21,3 @@ * Unchecked version of {@link getIn}. Returns `undefined` if path is

*/
export declare const getInUnsafe: <T = any>(state: any, path: Path) => T | undefined;
export declare const getInUnsafe: <T = any>(state: any, path: Path) => Maybe<T>;
/**

@@ -24,0 +24,0 @@ * Type checked, immediate use getter, i.e. same as:

@@ -1,2 +0,2 @@

import type { DeepPath, Fn, OptPathVal, Path, Path0, Path1, Path2, Path3, Path4, Path5, Path6, Path7, Path8 } from "@thi.ng/api";
import type { DeepPath, Fn, Maybe, OptPathVal, Path, Path0, Path1, Path2, Path3, Path4, Path5, Path6, Path7, Path8 } from "@thi.ng/api";
/**

@@ -24,3 +24,3 @@ * Unchecked version of {@link defGetter}.

*/
export declare const defGetterUnsafe: <T = any>(path: Path) => Fn<any, T | undefined>;
export declare const defGetterUnsafe: <T = any>(path: Path) => Fn<any, Maybe<T>>;
/**

@@ -27,0 +27,0 @@ * Creates getter function for given nested lookup path. Returns

{
"name": "@thi.ng/paths",
"version": "5.1.78",
"version": "5.1.79",
"description": "Immutable, optimized and optionally typed path-based object property / array accessors with structural sharing",

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

"dependencies": {
"@thi.ng/api": "^8.10.1",
"@thi.ng/checks": "^3.6.1",
"@thi.ng/errors": "^2.5.4"
"@thi.ng/api": "^8.11.0",
"@thi.ng/checks": "^3.6.2",
"@thi.ng/errors": "^2.5.5"
},

@@ -128,3 +128,3 @@ "devDependencies": {

},
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
"gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
}

@@ -92,6 +92,6 @@ <!-- This file is generated - DO NOT EDIT! -->

```html
<script type="module" src="https://cdn.skypack.dev/@thi.ng/paths"></script>
<script type="module" src="https://esm.run/@thi.ng/paths"></script>
```
[Skypack documentation](https://docs.skypack.dev/)
[JSDelivr documentation](https://www.jsdelivr.com/)

@@ -98,0 +98,0 @@ For Node.js REPL:

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