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 7.3.1-beta.3 to 8.0.0

LICENSE.md

30

CHANGELOG.md

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

# [8.0.0](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/compare/v7.3.0...v8.0.0) (2019-12-03)
### Chores
* **release:** update documentation ([ea8790a](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/ea8790a))
* cleanup configs ([4576fd5](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/4576fd5))
### Documentation Changes
* add migration for `kitsu/node` and `kitsu-core/node` users ([4bd2182](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/4bd2182))
### New Features
* **kitsu-core:** create browser bundle (umd) ([ca01db8](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/ca01db8))
* **kitsu-core:** proper tree-shaking for individual components ([b2c55a0](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/b2c55a0))
* **kitsu-core:** remove redundent node folder ([4041649](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/commit/4041649))
### BREAKING CHANGES
* **kitsu-core:** Only for those using `kitsu-core/node` or `kitsu-core/node/index.mjs`.
7.3.0 made both code bases identical. You can safely switch to `kitsu-core` or `kitsu-core/lib/index.mjs`
## [7.2.2](https://github.com/wopian/kitsu/tree/master/packages/kitsu-core/compare/v7.2.1...v7.2.2) (2019-11-25)

@@ -8,0 +38,0 @@

12

package.json
{
"version": "7.3.1-beta.3",
"version": "8.0.0",
"name": "kitsu-core",

@@ -44,10 +44,14 @@ "description": "Core serialisation and deserialsation functions for the kitsu JSON:API client",

"path": "./lib/index.js",
"limit": "1.28 kb"
"limit": "1.4 kb"
},
{
"path": "./lib/index.mjs",
"limit": "1.3 kb"
"limit": "1.4 kb"
},
{
"path": "./lib/index.browser.js",
"limit": "1.4 kb"
}
],
"gitHead": "5c9778d191d17d7c9790cfc6d0f4e983b4742a53",
"gitHead": "cfa05dcfbe5607c47624e425c82a973bc547bc21",
"devDependencies": {

@@ -54,0 +58,0 @@ "@size-limit/preset-small-lib": "~2.2.1"

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

#
#

@@ -42,5 +42,5 @@ ## Features

| Package | Package<br> Size\* | Node | Chrome | Firefox | Safari | Edge |
| -----------------: | :----------------: | :--: | :----: | :-----: | :----: | :--: |
| `kitsu-core`† | ≤ 1.2 kb | 8+ | 63+ | 60+ | 11+ | 17+ |
| Package | Package<br> Size\* | Node | Chrome | Firefox | Safari | Edge |
| ------------: | :----------------: | :--: | :----: | :-----: | :----: | :--: |
| `kitsu-core`† | ≤ 1.2 kb | 8+ | 63+ | 60+ | 11+ | 17+ |

@@ -67,6 +67,10 @@ \* Including all dependencies, minified & gzipped<br>

### jsDelivr CDN
### CDNs
```html
<!-- jsDelivr -->
<script src='https://cdn.jsdelivr.net/npm/kitsu-core'></script>
<!-- unpkg -->
<script scr='https://unpkg.com/kitsu-core'></script>
```

@@ -113,3 +117,3 @@

[packages/kitsu-core/src/deattribute/index.js:29-38](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/deattribute/index.js#L29-L38 "Source code on GitHub")
[packages/kitsu-core/src/deattribute/index.js:29-38](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/deattribute/index.js#L29-L38 "Source code on GitHub")

@@ -158,3 +162,3 @@ Hoists attributes to be top-level

[packages/kitsu-core/src/deserialise/index.js:56-70](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/deserialise/index.js#L56-L70 "Source code on GitHub")
[packages/kitsu-core/src/deserialise/index.js:56-70](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/deserialise/index.js#L56-L70 "Source code on GitHub")

@@ -211,3 +215,3 @@ Deserialises a JSON-API response

[packages/kitsu-core/src/error/index.js:7-13](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/error/index.js#L7-L13 "Source code on GitHub")
[packages/kitsu-core/src/error/index.js:7-13](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/error/index.js#L7-L13 "Source code on GitHub")

@@ -225,3 +229,3 @@ Mutates an error and rethrows it

[packages/kitsu-core/src/filterIncludes/index.js:12-21](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/filterIncludes/index.js#L12-L21 "Source code on GitHub")
[packages/kitsu-core/src/filterIncludes/index.js:12-21](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/filterIncludes/index.js#L12-L21 "Source code on GitHub")

@@ -233,3 +237,3 @@ Filters includes for the specific relationship

- `included` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** The response included object
- `opts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
- `opts` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
- `opts.id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The relationship ID

@@ -242,3 +246,3 @@ - `opts.type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** The relationship type

[packages/kitsu-core/src/linkRelationships/index.js:55-74](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/linkRelationships/index.js#L55-L74 "Source code on GitHub")
[packages/kitsu-core/src/linkRelationships/index.js:55-74](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/linkRelationships/index.js#L55-L74 "Source code on GitHub")

@@ -254,3 +258,3 @@ Links relationships to included data

[packages/kitsu-core/src/query/index.js:21-32](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/query/index.js#L21-L32 "Source code on GitHub")
[packages/kitsu-core/src/query/index.js:21-32](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/query/index.js#L21-L32 "Source code on GitHub")

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

[packages/kitsu-core/src/serialise/index.js:96-121](https://github.com/wopian/kitsu/blob/8219f20333af2ff4cbc24ac8a0a9805eac18c5f5/packages/kitsu-core/src/serialise/index.js#L96-L121 "Source code on GitHub")
[packages/kitsu-core/src/serialise/index.js:96-121](https://github.com/wopian/kitsu/blob/4bd2182f2aa387b1f93305f286ec266f62241a1a/packages/kitsu-core/src/serialise/index.js#L96-L121 "Source code on GitHub")

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

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

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

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

@@ -343,3 +347,3 @@ Converts camelCase into kebab-case

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

@@ -346,0 +350,0 @@ Converts camelCase into snake_case

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