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.1.2 to 10.1.4

22

CHANGELOG.md

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

## [10.1.4](https://github.com/wopian/kitsu/compare/v10.1.2...v10.1.4) (2024-03-14)
### Bug Fixes
* **kitsu-core:** export types in fine-grained exports ([b1f15bf](https://github.com/wopian/kitsu/commit/b1f15bfb16d62669a319e7bdea40df272917ebae))
## [10.1.3](https://github.com/wopian/kitsu/compare/v10.1.2...v10.1.3) (2024-03-14)
### Bug Fixes
* **kitsu-core:** export types in fine-grained exports ([b1f15bf](https://github.com/wopian/kitsu/commit/b1f15bfb16d62669a319e7bdea40df272917ebae))
## [10.1.2](https://github.com/wopian/kitsu/compare/v10.1.1...v10.1.2) (2023-06-20)

@@ -8,0 +30,0 @@

2

dist/index.browser.js

@@ -283,3 +283,3 @@ (function (global, factory) {

var _node$data;
if ((node === null || node === void 0 ? void 0 : node.data) === null || Array.isArray(node === null || node === void 0 ? void 0 : node.data) && (node === null || node === void 0 ? void 0 : (_node$data = node.data) === null || _node$data === void 0 ? void 0 : _node$data.length) === 0) return true;
if ((node === null || node === void 0 ? void 0 : node.data) === null || Array.isArray(node === null || node === void 0 ? void 0 : node.data) && (node === null || node === void 0 || (_node$data = node.data) === null || _node$data === void 0 ? void 0 : _node$data.length) === 0) return true;
if (!node.data) return false;

@@ -286,0 +286,0 @@ const nodeData = Array.isArray(node.data) ? node.data[0] : node.data;

@@ -62,3 +62,3 @@ 'use strict';

var _node$data;
if ((node === null || node === void 0 ? void 0 : node.data) === null || Array.isArray(node === null || node === void 0 ? void 0 : node.data) && (node === null || node === void 0 ? void 0 : (_node$data = node.data) === null || _node$data === void 0 ? void 0 : _node$data.length) === 0) return true;
if ((node === null || node === void 0 ? void 0 : node.data) === null || Array.isArray(node === null || node === void 0 ? void 0 : node.data) && (node === null || node === void 0 || (_node$data = node.data) === null || _node$data === void 0 ? void 0 : _node$data.length) === 0) return true;
if (!node.data) return false;

@@ -65,0 +65,0 @@ const nodeData = Array.isArray(node.data) ? node.data[0] : node.data;

{
"version": "10.1.2",
"version": "10.1.4",
"name": "kitsu-core",

@@ -67,2 +67,3 @@ "description": "Simple, lightweight & framework agnostic JSON:API (de)serialsation components",

".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -72,2 +73,3 @@ "require": "./dist/index.js"

"./index": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -77,2 +79,3 @@ "require": "./dist/index.js"

"./index.js": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -82,2 +85,3 @@ "require": "./dist/index.js"

"./index.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -87,2 +91,3 @@ "require": "./dist/index.js"

"./camel": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -92,2 +97,3 @@ "require": "./dist/camel.js"

"./camel.js": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -97,2 +103,3 @@ "require": "./dist/camel.js"

"./camel.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -102,2 +109,3 @@ "require": "./dist/camel.js"

"./deattribute": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -107,2 +115,3 @@ "require": "./dist/deattribute.js"

"./deattribute.js": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -112,2 +121,3 @@ "require": "./dist/deattribute.js"

"./deattribute.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -117,2 +127,3 @@ "require": "./dist/deattribute.js"

"./deserialise": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -122,2 +133,3 @@ "require": "./dist/deserialise.js"

"./deserialise.js": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -127,2 +139,3 @@ "require": "./dist/deserialise.js"

"./deserialise.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -132,2 +145,3 @@ "require": "./dist/deserialise.js"

"./error": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -137,2 +151,3 @@ "require": "./dist/error.js"

"./error.js": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -142,2 +157,3 @@ "require": "./dist/error.js"

"./error.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -147,2 +163,3 @@ "require": "./dist/error.js"

"./filterIncludes": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -152,2 +169,3 @@ "require": "./dist/filterIncludes.js"

"./filterIncludes.js": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -157,2 +175,3 @@ "require": "./dist/filterIncludes.js"

"./filterIncludes.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -162,2 +181,3 @@ "require": "./dist/filterIncludes.js"

"./kebab": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -167,2 +187,3 @@ "require": "./dist/kebab.js"

"./kebab.js": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -172,2 +193,3 @@ "require": "./dist/kebab.js"

"./kebab.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -177,2 +199,3 @@ "require": "./dist/kebab.js"

"./linkRelationships": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -182,2 +205,3 @@ "require": "./dist/linkRelationships.js"

"./linkRelationships.js": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -187,2 +211,3 @@ "require": "./dist/linkRelationships.js"

"./linkRelationships.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -192,2 +217,3 @@ "require": "./dist/linkRelationships.js"

"./query": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -197,2 +223,3 @@ "require": "./dist/query.js"

"./query.js": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -202,2 +229,3 @@ "require": "./dist/query.js"

"./query.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -207,2 +235,3 @@ "require": "./dist/query.js"

"./serialise": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -212,2 +241,3 @@ "require": "./dist/serialise.js"

"./serialise.js": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -217,2 +247,3 @@ "require": "./dist/serialise.js"

"./serialise.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -222,2 +253,3 @@ "require": "./dist/serialise.js"

"./snake": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -227,2 +259,3 @@ "require": "./dist/snake.js"

"./snake.js": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -232,2 +265,3 @@ "require": "./dist/snake.js"

"./snake.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -237,2 +271,3 @@ "require": "./dist/snake.js"

"./dist/index": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -242,2 +277,3 @@ "require": "./dist/index.js"

"./dist/index.js": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -247,2 +283,3 @@ "require": "./dist/index.js"

"./dist/index.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",

@@ -252,2 +289,3 @@ "require": "./dist/index.js"

"./dist/camel": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -257,2 +295,3 @@ "require": "./dist/camel.js"

"./dist/camel.js": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -262,2 +301,3 @@ "require": "./dist/camel.js"

"./dist/camel.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/camel.mjs",

@@ -267,2 +307,3 @@ "require": "./dist/camel.js"

"./dist/deattribute": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -272,2 +313,3 @@ "require": "./dist/deattribute.js"

"./dist/deattribute.js": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -277,2 +319,3 @@ "require": "./dist/deattribute.js"

"./dist/deattribute.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/deattribute.mjs",

@@ -282,2 +325,3 @@ "require": "./dist/deattribute.js"

"./dist/deserialise": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -287,2 +331,3 @@ "require": "./dist/deserialise.js"

"./dist/deserialise.js": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -292,2 +337,3 @@ "require": "./dist/deserialise.js"

"./dist/deserialise.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/deserialise.mjs",

@@ -297,2 +343,3 @@ "require": "./dist/deserialise.js"

"./dist/error": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -302,2 +349,3 @@ "require": "./dist/error.js"

"./dist/error.js": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -307,2 +355,3 @@ "require": "./dist/error.js"

"./dist/error.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/error.mjs",

@@ -312,2 +361,3 @@ "require": "./dist/error.js"

"./dist/filterIncludes": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -317,2 +367,3 @@ "require": "./dist/filterIncludes.js"

"./dist/filterIncludes.js": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -322,2 +373,3 @@ "require": "./dist/filterIncludes.js"

"./dist/filterIncludes.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/filterIncludes.mjs",

@@ -327,2 +379,3 @@ "require": "./dist/filterIncludes.js"

"./dist/kebab": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -332,2 +385,3 @@ "require": "./dist/kebab.js"

"./dist/kebab.js": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -337,2 +391,3 @@ "require": "./dist/kebab.js"

"./dist/kebab.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/kebab.mjs",

@@ -342,2 +397,3 @@ "require": "./dist/kebab.js"

"./dist/linkRelationships": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -347,2 +403,3 @@ "require": "./dist/linkRelationships.js"

"./dist/linkRelationships.js": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -352,2 +409,3 @@ "require": "./dist/linkRelationships.js"

"./dist/linkRelationships.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/linkRelationships.mjs",

@@ -357,2 +415,3 @@ "require": "./dist/linkRelationships.js"

"./dist/query": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -362,2 +421,3 @@ "require": "./dist/query.js"

"./dist/query.js": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -367,2 +427,3 @@ "require": "./dist/query.js"

"./dist/query.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/query.mjs",

@@ -372,2 +433,3 @@ "require": "./dist/query.js"

"./dist/serialise": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -377,2 +439,3 @@ "require": "./dist/serialise.js"

"./dist/serialise.js": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -382,2 +445,3 @@ "require": "./dist/serialise.js"

"./dist/serialise.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/serialise.mjs",

@@ -387,2 +451,3 @@ "require": "./dist/serialise.js"

"./dist/snake": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -392,2 +457,3 @@ "require": "./dist/snake.js"

"./dist/snake.js": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -397,2 +463,3 @@ "require": "./dist/snake.js"

"./dist/snake.mjs": {
"types": "./types/index.d.ts",
"import": "./dist/snake.mjs",

@@ -399,0 +466,0 @@ "require": "./dist/snake.js"

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

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

@@ -167,3 +167,3 @@ Converts kebab-case and snake\_case into camelCase

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

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

[packages/kitsu-core/src/deserialise/index.js:62-77](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/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/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/deserialise/index.js#L62-L77 "Source code on GitHub")

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

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

@@ -299,3 +299,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/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/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/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/filterIncludes/index.js#L33-L46 "Source code on GitHub")

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

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

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

[packages/kitsu-core/src/linkRelationships/index.js:145-165](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu-core/src/linkRelationships/index.js#L145-L165 "Source code on GitHub")
[packages/kitsu-core/src/linkRelationships/index.js:145-165](https://github.com/wopian/kitsu/blob/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/linkRelationships/index.js#L145-L165 "Source code on GitHub")

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

[packages/kitsu-core/src/deepEqual/index.js:18-42](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu-core/src/deepEqual/index.js#L18-L42 "Source code on GitHub")
[packages/kitsu-core/src/deepEqual/index.js:18-42](https://github.com/wopian/kitsu/blob/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/deepEqual/index.js#L18-L42 "Source code on GitHub")

@@ -430,3 +430,3 @@ Compare two objects equality

[packages/kitsu-core/src/query/index.js:55-64](https://github.com/wopian/kitsu/blob/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/packages/kitsu-core/src/query/index.js#L55-L64 "Source code on GitHub")
[packages/kitsu-core/src/query/index.js:55-64](https://github.com/wopian/kitsu/blob/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/query/index.js#L55-L64 "Source code on GitHub")

@@ -460,3 +460,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/c741e0ac26d4c215c11dbbeefd55e28ba34a9498/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/81ff55cf5df30778492849d174740884b6cd6e58/packages/kitsu-core/src/serialise/index.js#L213-L224 "Source code on GitHub")

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

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

@@ -525,3 +525,3 @@ Converts camelCase into snake\_case

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

@@ -528,0 +528,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