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

kitsu-core

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kitsu-core - npm Package Compare versions

Comparing version 10.0.1 to 10.0.2

12

CHANGELOG.md

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

## [10.0.2](https://github.com/wopian/kitsu/compare/v10.0.1...v10.0.2) (2022-08-17)
### Bug Fixes
* **kitsu-core:** deserialize meta only relationships ([#727](https://github.com/wopian/kitsu/issues/727)) ([5b2c64c](https://github.com/wopian/kitsu/commit/5b2c64c688eac3427ad5b21bd00ab456c7998e0b))
## [10.0.1](https://github.com/wopian/kitsu/compare/v10.0.0...v10.0.1) (2022-08-12)

@@ -8,0 +20,0 @@

1

dist/index.browser.js

@@ -115,2 +115,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];

@@ -117,0 +118,0 @@ }

@@ -63,2 +63,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];

@@ -65,0 +66,0 @@ }

2

package.json
{
"version": "10.0.1",
"version": "10.0.2",
"name": "kitsu-core",

@@ -4,0 +4,0 @@ "description": "Simple, lightweight & framework agnostic JSON:API (de)serialsation components",

@@ -137,3 +137,3 @@ <h1 align=center>Kitsu Core</h1>

[packages/kitsu-core/src/camel/index.js:14-14](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/camel/index.js#L14-L14 "Source code on GitHub")

@@ -164,3 +164,3 @@ Converts kebab-case and snake_case into camelCase

[packages/kitsu-core/src/deattribute/index.js:29-51](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/deattribute/index.js#L29-L51 "Source code on GitHub")

@@ -207,3 +207,3 @@ Hoists attributes to be top-level

[packages/kitsu-core/src/deserialise/index.js:62-77](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/deserialise/index.js#L62-L77 "Source code on GitHub")
[packages/kitsu-core/src/deserialise/index.js:62-77](https://github.com/wopian/kitsu/blob/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/deserialise/index.js#L62-L77 "Source code on GitHub")

@@ -258,3 +258,3 @@ Deserialises a JSON-API response

[packages/kitsu-core/src/error/index.js:27-33](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/error/index.js#L27-L33 "Source code on GitHub")

@@ -296,3 +296,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/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub")

@@ -337,3 +337,3 @@ Filters includes for the specific relationship requested

[packages/kitsu-core/src/kebab/index.js:11-11](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/kebab/index.js#L11-L11 "Source code on GitHub")

@@ -356,3 +356,3 @@ Converts camelCase into kebab-case

[packages/kitsu-core/src/linkRelationships/index.js:126-146](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/linkRelationships/index.js#L126-L146 "Source code on GitHub")
[packages/kitsu-core/src/linkRelationships/index.js:127-147](https://github.com/wopian/kitsu/blob/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/linkRelationships/index.js#L127-L147 "Source code on GitHub")

@@ -397,3 +397,3 @@ Links relationships to included data

[packages/kitsu-core/src/query/index.js:33-42](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/query/index.js#L33-L42 "Source code on GitHub")
[packages/kitsu-core/src/query/index.js:33-42](https://github.com/wopian/kitsu/blob/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/query/index.js#L33-L42 "Source code on GitHub")

@@ -426,3 +426,3 @@ Constructs a URL query string for JSON:API parameters

[packages/kitsu-core/src/serialise/index.js:213-224](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/packages/kitsu-core/src/serialise/index.js#L213-L224 "Source code on GitHub")
[packages/kitsu-core/src/serialise/index.js:213-224](https://github.com/wopian/kitsu/blob/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/serialise/index.js#L213-L224 "Source code on GitHub")

@@ -472,3 +472,3 @@ Serialises an object into a JSON-API structure

[packages/kitsu-core/src/snake/index.js:11-11](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/snake/index.js#L11-L11 "Source code on GitHub")

@@ -491,3 +491,3 @@ Converts camelCase into snake_case

[packages/kitsu-core/src/splitModel/index.js:29-39](https://github.com/wopian/kitsu/blob/d261d4c161f69f98f3f354455a3cc73efddfab82/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/5b2c64c688eac3427ad5b21bd00ab456c7998e0b/packages/kitsu-core/src/splitModel/index.js#L29-L39 "Source code on GitHub")

@@ -494,0 +494,0 @@ Split model name from the model's resource URL

Sorry, the diff of this file is not supported yet

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