kitsu-core
Advanced tools
Comparing version 9.1.28 to 9.1.29
@@ -6,2 +6,14 @@ # Change Log | ||
## [9.1.29](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/compare/v9.1.28...v9.1.29) (2022-08-17) | ||
### Bug Fixes | ||
* **kitsu-core:** deserialize meta only relationships ([#728](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/issues/728)) ([01935b0](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/01935b009984501d80976a66d5228ab2393ac71a)), closes [#727](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/issues/727) | ||
## [9.1.28](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/compare/v9.1.27...v9.1.28) (2022-08-11) | ||
@@ -8,0 +20,0 @@ |
@@ -96,2 +96,3 @@ (function (global, factory) { | ||
if (data.relationships[key].links) data[key].links = data.relationships[key].links; | ||
if (data.relationships[key].meta) data[key].meta = data.relationships[key].meta; | ||
delete data.relationships[key]; | ||
@@ -98,0 +99,0 @@ } |
@@ -46,2 +46,3 @@ 'use strict'; | ||
if (data.relationships[key].links) data[key].links = data.relationships[key].links; | ||
if (data.relationships[key].meta) data[key].meta = data.relationships[key].meta; | ||
delete data.relationships[key]; | ||
@@ -48,0 +49,0 @@ } |
{ | ||
"version": "9.1.28", | ||
"version": "9.1.29", | ||
"name": "kitsu-core", | ||
@@ -4,0 +4,0 @@ "description": "Simple, lightweight & framework agnostic JSON:API (de)serialsation components", |
@@ -116,3 +116,3 @@ <h1 align=center>Kitsu Core</h1> | ||
[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub") | ||
[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub") | ||
@@ -159,3 +159,3 @@ Hoists attributes to be top-level | ||
[packages/kitsu-core/src/deserialise/index.js:57-72](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/deserialise/index.js#L57-L72 "Source code on GitHub") | ||
[packages/kitsu-core/src/deserialise/index.js:57-72](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/deserialise/index.js#L57-L72 "Source code on GitHub") | ||
@@ -210,3 +210,3 @@ Deserialises a JSON-API response | ||
[packages/kitsu-core/src/error/index.js:27-33](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/error/index.js#L27-L33 "Source code on GitHub") | ||
[packages/kitsu-core/src/error/index.js:27-33](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/error/index.js#L27-L33 "Source code on GitHub") | ||
@@ -248,3 +248,3 @@ Uniform error handling for Axios, JSON:API and internal package errors. Mutated Error object is rethrown to the caller. | ||
[packages/kitsu-core/src/filterIncludes/index.js:33-46](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub") | ||
[packages/kitsu-core/src/filterIncludes/index.js:33-46](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub") | ||
@@ -289,3 +289,3 @@ Filters includes for the specific relationship requested | ||
[packages/kitsu-core/src/linkRelationships/index.js:97-117](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/linkRelationships/index.js#L97-L117 "Source code on GitHub") | ||
[packages/kitsu-core/src/linkRelationships/index.js:98-118](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/linkRelationships/index.js#L98-L118 "Source code on GitHub") | ||
@@ -328,3 +328,3 @@ Links relationships to included data | ||
[packages/kitsu-core/src/query/index.js:33-44](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/query/index.js#L33-L44 "Source code on GitHub") | ||
[packages/kitsu-core/src/query/index.js:33-44](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/query/index.js#L33-L44 "Source code on GitHub") | ||
@@ -357,3 +357,3 @@ Constructs a URL query string for JSON:API parameters | ||
[packages/kitsu-core/src/serialise/index.js:249-260](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/serialise/index.js#L249-L260 "Source code on GitHub") | ||
[packages/kitsu-core/src/serialise/index.js:249-260](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/serialise/index.js#L249-L260 "Source code on GitHub") | ||
@@ -403,3 +403,3 @@ Serialises an object into a JSON-API structure | ||
[packages/kitsu-core/src/splitModel/index.js:29-39](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub") | ||
[packages/kitsu-core/src/splitModel/index.js:29-39](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub") | ||
@@ -446,3 +446,3 @@ Split model name from the model's resource URL | ||
[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub") | ||
[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub") | ||
@@ -473,3 +473,3 @@ Converts kebab-case and snake_case into camelCase | ||
[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub") | ||
[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub") | ||
@@ -492,3 +492,3 @@ Converts camelCase into kebab-case | ||
[packages/kitsu-core/src/snake/index.js:11-11](https://github.com/wopian/kitsu/blob/0c21e0ad25763cd4b6f7e79c1f0364b512fd3754/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub") | ||
[packages/kitsu-core/src/snake/index.js:11-11](https://github.com/wopian/kitsu/blob/01935b009984501d80976a66d5228ab2393ac71a/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub") | ||
@@ -495,0 +495,0 @@ Converts camelCase into snake_case |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84718
1197