vue-is-defined 1.0.4 → 1.0.5

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,10 +19,8 @@ npm install vue-is-defined
19
19
 
20
20
  ## Usage
21
21
 
22
- Non-nullish checking type guard for Ref.
23
-
24
22
  ```ts
25
- import { isDefined } from 'vue-is-defined'
23
+ import { isDefined } from '@vueuse/core'
26
24
 
27
25
  const example = ref(Math.random() ? 'example' : undefined) // Ref<string | undefined>
28
26
 
package/README.md CHANGED
@@ -19,10 +19,8 @@ npm install vue-is-defined
19
19
 
20
20
  ## Usage
21
21
 
22
- Non-nullish checking type guard for Ref.
23
-
24
22
  ```ts
25
- import { isDefined } from 'vue-is-defined'
23
+ import { isDefined } from '@vueuse/core'
26
24
 
27
25
  const example = ref(Math.random() ? 'example' : undefined) // Ref<string | undefined>
28
26
 
package/README.npm.md CHANGED
@@ -19,10 +19,8 @@ npm install vue-is-defined
19
19
 
20
20
  ## Usage
21
21
 
22
- Non-nullish checking type guard for Ref.
23
-
24
22
  ```ts
25
- import { isDefined } from 'vue-is-defined'
23
+ import { isDefined } from '@vueuse/core'
26
24
 
27
25
  const example = ref(Math.random() ? 'example' : undefined) // Ref<string | undefined>
28
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-is-defined",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Vue 3 composable utility",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",