carlobeltrame / hal-json-normalizer Goto Github PK
View Code? Open in Web Editor NEWNormalizes responses from HAL JSON APIs for use in Vuex, redux and similar state stores.
License: MIT License
Normalizes responses from HAL JSON APIs for use in Vuex, redux and similar state stores.
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | babel-eslint |
|
npm | eslint-loader |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@babel/core
, @babel/preset-env
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/ci.yml
actions/checkout v2
actions/setup-node v2
actions/cache v3
actions/checkout v2
actions/setup-node v2
actions/cache v3
package.json
lodash ^4.17.15
@babel/core 7.24.9
@babel/preset-env 7.24.8
@babel/register 7.24.6
babel-eslint 10.1.0
babel-loader 8.3.0
chai 4.5.0
eslint 7.32.0
eslint-config-airbnb-base 15.0.0
eslint-loader 4.0.2
eslint-plugin-import 2.29.1
mocha 9.2.2
nyc 15.1.0
rimraf 3.0.2
webpack 5.93.0
webpack-cli 4.10.0
webpack-node-externals 3.0.0
node >= 10.13.0
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Hi,
Nice project! I was taking it for a spin and found that on the API I was dealing with that the normalizer throws an exception on null values.
The exception is thrown in hasSingleKey
as Object.keys
is called on null
.
I can create a pull request if you like. Let me know. My proposal would be to check for null
values in isReference
.
const json = {
id: 2620,
text: 'hello',
_embedded: {
question: null,
},
_links: {
prev: {
href: null,
},
self: {
href: 'http://example.com/entity/1',
},
},
};
const result = normalize(json, {
filterReferences: true,
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.