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

@posva/vuefire-core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@posva/vuefire-core - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [2.3.3](https://github.com/vuejs/vuefire/compare/@posva/vuefire-core@2.3.2...@posva/vuefire-core@2.3.3) (2020-07-31)
### Bug Fixes
* **core:** drop raw refs when updating docs ([3d0b326](https://github.com/vuejs/vuefire/commit/3d0b326e2855f0cdab160281262b1edc8be8606c)), closes [#831](https://github.com/vuejs/vuefire/issues/831)
## [2.3.2](https://github.com/vuejs/vuefire/compare/@posva/vuefire-core@2.3.1...@posva/vuefire-core@2.3.2) (2020-07-06)

@@ -8,0 +19,0 @@

11

dist/vuefire-core.cjs.js
/*!
* @posva/vuefire-core v2.3.2
* @posva/vuefire-core v2.3.3
* (c) 2020 Eduardo San Martin Morote

@@ -223,3 +223,10 @@ * @license MIT

// TODO: better typing since this isObject shouldn't be necessary but it doesn't work
data[key] = typeof oldDoc === 'object' && key in oldDoc ? oldDoc[key] : ref.path;
data[key] =
typeof oldDoc === 'object' &&
key in oldDoc &&
// only copy refs if they were refs before
// https://github.com/vuejs/vuefire/issues/831
typeof oldDoc[key] != 'string'
? oldDoc[key]
: ref.path;
// TODO: handle subpathes?

@@ -226,0 +233,0 @@ refs[path + key] = ref;

/*!
* @posva/vuefire-core v2.3.2
* @posva/vuefire-core v2.3.3
* (c) 2020 Eduardo San Martin Morote

@@ -219,3 +219,10 @@ * @license MIT

// TODO: better typing since this isObject shouldn't be necessary but it doesn't work
data[key] = typeof oldDoc === 'object' && key in oldDoc ? oldDoc[key] : ref.path;
data[key] =
typeof oldDoc === 'object' &&
key in oldDoc &&
// only copy refs if they were refs before
// https://github.com/vuejs/vuefire/issues/831
typeof oldDoc[key] != 'string'
? oldDoc[key]
: ref.path;
// TODO: handle subpathes?

@@ -222,0 +229,0 @@ refs[path + key] = ref;

4

package.json
{
"name": "@posva/vuefire-core",
"version": "2.3.2",
"version": "2.3.3",
"description": "Shared code for vue + Firebase apps used by vuefire and vuexfire",

@@ -45,3 +45,3 @@ "author": "Eduardo San Martin Morote <posva13@gmail.com>",

},
"gitHead": "ab3194d7782a3028b496bbcfa5ee45edb632c154"
"gitHead": "4d504da28daaf7b3f8b9ec17f84007c54d8fee1c"
}

@@ -67,3 +67,10 @@ import { firestore } from 'firebase'

// TODO: better typing since this isObject shouldn't be necessary but it doesn't work
data[key] = typeof oldDoc === 'object' && key in oldDoc ? oldDoc[key] : ref.path
data[key] =
typeof oldDoc === 'object' &&
key in oldDoc &&
// only copy refs if they were refs before
// https://github.com/vuejs/vuefire/issues/831
typeof oldDoc[key] != 'string'
? oldDoc[key]
: ref.path
// TODO: handle subpathes?

@@ -70,0 +77,0 @@ refs[path + key] = ref

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