vue-make-destructurable 1.0.1 → 1.0.2

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.
package/README.github.md CHANGED
@@ -19,12 +19,8 @@ npm install vue-make-destructurable
19
19
 
20
20
  ## Usage
21
21
 
22
- Make isomorphic destructurable for object and array at the same time. See [this blog](https://antfu.me/posts/destructuring-with-object-or-array/) for more details.
23
-
24
- TypeScript Example:
25
-
26
22
  ```ts
27
- import { makeDestructurable } from 'vue-make-destructurable'
23
+ import { makeDestructurable } from '@vueuse/core'
28
24
 
29
25
  const foo = { name: 'foo' }
30
26
  const bar = 1024
@@ -35,13 +31,6 @@ const obj = makeDestructurable(
35
31
  )
36
32
  ```
37
33
 
38
- Usage:
39
-
40
- ```ts
41
- let { foo, bar } = obj
42
- let [foo, bar] = obj
43
- ```
44
-
45
34
  ## License
46
35
 
47
36
  MIT
package/README.md CHANGED
@@ -19,12 +19,8 @@ npm install vue-make-destructurable
19
19
 
20
20
  ## Usage
21
21
 
22
- Make isomorphic destructurable for object and array at the same time. See [this blog](https://antfu.me/posts/destructuring-with-object-or-array/) for more details.
23
-
24
- TypeScript Example:
25
-
26
22
  ```ts
27
- import { makeDestructurable } from 'vue-make-destructurable'
23
+ import { makeDestructurable } from '@vueuse/core'
28
24
 
29
25
  const foo = { name: 'foo' }
30
26
  const bar = 1024
@@ -35,13 +31,6 @@ const obj = makeDestructurable(
35
31
  )
36
32
  ```
37
33
 
38
- Usage:
39
-
40
- ```ts
41
- let { foo, bar } = obj
42
- let [foo, bar] = obj
43
- ```
44
-
45
34
  ## License
46
35
 
47
36
  MIT
package/README.npm.md CHANGED
@@ -19,12 +19,8 @@ npm install vue-make-destructurable
19
19
 
20
20
  ## Usage
21
21
 
22
- Make isomorphic destructurable for object and array at the same time. See [this blog](https://antfu.me/posts/destructuring-with-object-or-array/) for more details.
23
-
24
- TypeScript Example:
25
-
26
22
  ```ts
27
- import { makeDestructurable } from 'vue-make-destructurable'
23
+ import { makeDestructurable } from '@vueuse/core'
28
24
 
29
25
  const foo = { name: 'foo' }
30
26
  const bar = 1024
@@ -35,13 +31,6 @@ const obj = makeDestructurable(
35
31
  )
36
32
  ```
37
33
 
38
- Usage:
39
-
40
- ```ts
41
- let { foo, bar } = obj
42
- let [foo, bar] = obj
43
- ```
44
-
45
34
  ## License
46
35
 
47
36
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-make-destructurable",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Vue 3 composable utility",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",