@nimpl/getters 1.4.1-canary.1 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +9 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,27 +11,31 @@ Visit https://nimpl.tech/getters to view the full documentation.
11
11
  ## Installation
12
12
 
13
13
  **Using npm:**
14
+
14
15
  ```bash
15
16
  npm i @nimpl/getters
16
17
  ```
17
18
 
18
19
  **Using yarn:**
20
+
19
21
  ```bash
20
22
  yarn add @nimpl/getters
21
23
  ```
22
24
 
23
25
  ## Current Getters
24
26
 
25
- * [get-pathname](https://nimpl.tech/getters/current-getters/get-pathname)
26
- * [get-page-config](https://nimpl.tech/getters/current-getters/get-page-config)
27
- * [get-params](https://nimpl.tech/getters/current-getters/get-params)
28
- * [get-search-params](https://nimpl.tech/getters/current-getters/get-search-params) (*deprecated*)
27
+ - [get-pathname](https://nimpl.tech/getters/current-getters/get-pathname)
28
+ - [get-page-config](https://nimpl.tech/getters/current-getters/get-page-config)
29
+ - [get-params](https://nimpl.tech/getters/current-getters/get-params)
30
+ - [get-search-params](https://nimpl.tech/getters/current-getters/get-search-params) (_deprecated_)
31
+
32
+ > _`create-server-context` and `get-server-context` were moved to a separate package - [@nimpl/context](https://nimpl.tech/context)_
29
33
 
30
34
  ## Stability
31
35
 
32
36
  All getters are covered with tests. Tests are run on every release and every 6 hours on the latest **Canary** version of `Next.js`.
33
37
 
34
- In this way, you can be sure not only of the stability of the code, but also that if there is a breaking change in `Next.js`, this will immediately become known. *Even before the release of a stable version of `Next.js`.*
38
+ In this way, you can be sure not only of the stability of the code, but also that if there is a breaking change in `Next.js`, this will immediately become known. _Even before the release of a stable version of `Next.js`._
35
39
 
36
40
  ## Additional
37
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimpl/getters",
3
- "version": "1.4.1-canary.1",
3
+ "version": "1.4.1",
4
4
  "description": "Implementation of server getters in React Server Components without switching to SSR in next.js",
5
5
  "files": [
6
6
  "**/*.js",
@@ -43,4 +43,4 @@
43
43
  "react-dom": ">= 18.2.0",
44
44
  "next": ">= 14.0.0"
45
45
  }
46
- }
46
+ }