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

@frontity/error

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontity/error - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

9

CHANGELOG.md
# @frontity/error
## 0.1.1
### Patch Changes
- [`fb67272b`](https://github.com/frontity/frontity/commit/fb67272bd8a3dfff00868af394484ec09f1e0785) [#464](https://github.com/frontity/frontity/pull/464) Thanks [@juanmaguitar](https://github.com/juanmaguitar)! - Add proper README.
## 0.1.0
### Minor Changes
- [`43cf2305`](https://github.com/frontity/frontity/commit/43cf230526ed810c3778c830e41eb26ef2c53bc3) [#351](https://github.com/frontity/frontity/pull/351) Thanks [@luisherranz](https://github.com/luisherranz)! - Use an options object as the second parameter of the `error` function to keep consistency with the rest of the Frontity APIs.
{
"name": "@frontity/error",
"version": "0.1.0",
"version": "0.1.1",
"description": "Frontity errors and warnings",

@@ -18,2 +18,3 @@ "keywords": [

"scripts": {
"test:ci": "../../node_modules/.bin/jest --ci --coverage",
"test": "../../node_modules/.bin/jest --watch",

@@ -20,0 +21,0 @@ "test:inspect": "node --inspect ../../node_modules/.bin/jest --watch --no-cache --runInBand"

# `@frontity/error`
The Frontity warnings and errors.
[![Version](https://img.shields.io/npm/v/@frontity/error.svg)](https://www.npmjs.com/package/@frontity/error) [![npm](https://img.shields.io/npm/dw/@frontity/error)](https://www.npmjs.com/package/@frontity/error) [![License: Apache--2.0](https://img.shields.io/badge/license-Apache%202-lightgrey)](https://github.com/frontity/frontity/blob/master/LICENSE)
They are just wrappers for `console.warn` and `console.error`
Frontity errors and warnings.
`warn` and `error` are just wrappers for `console.warn` and `console.error`
<!-- toc -->
- [Install](#install)
- [Usage](#usage)
- [Feature Discussions](#feature-discussions)
- [Changelog](#changelog)
- [Open Source Community](#open-source-community)
* [Channels](#channels)
* [Get involved](#get-involved)
<!-- tocstop -->
## Install
This package is not meant to be installed individually, it comes within [`frontity`](https://github.com/frontity/frontity/tree/dev/packages/frontity).
## Usage
These tools are only meant to be used by frontity code (packages included).
```js
import { warn, error } from "@frontity/error";
import { warn, error } from "frontity";
...
warn("Warning: myMethod() is being used in a non ... ");
...
```
## Feature Discussions
[**Feature Discussions**](https://community.frontity.org/c/feature-discussions/33) about Frontity are public. You can join the discussions, vote for those you're interested in or create new ones.
These are the ones related to this package: https://community.frontity.org/tags/c/feature-discussions/33/error
## Changelog
Have a look at the latest updates of this package in the [CHANGELOG](https://github.com/frontity/frontity/blob/dev/packages/error/CHANGELOG.md)
***
## Open Source Community
### Channels
[![Community Forum Topics](https://img.shields.io/discourse/topics?color=blue&label=community%20forum&server=https%3A%2F%2Fcommunity.frontity.org%2F)](https://community.frontity.org/) [![Twitter: frontity](https://img.shields.io/twitter/follow/frontity.svg?style=social)](https://twitter.com/frontity) ![Frontity Github Stars](https://img.shields.io/github/stars/frontity/frontity?style=social)
Frontity has a number of different channels at your disposal where you can find out more information about the project, join in discussions about it, and also get involved:
- **📖 [Docs](https://docs.frontity.org/):** Frontity's primary documentation resource - this is the place to learn how to build amazing sites with Frontity.
* **👨‍👩‍👧‍👦 [Community forum](https://community.frontity.org/):** join Frontity's forum and ask questions, share your knowledge, give feedback and meet other cool Frontity people. We'd love to know about what you're building with Frontity, so please do swing by the [forum](https://community.frontity.org/) and tell us about your projects.
* **🐞 Contribute:** Frontity uses [GitHub](https://github.com/frontity/frontity) for bugs and pull requests. Check out the [Contributing](../contributing/) section to find out how you can help develop Frontity, or improve this documentation.
* **🗣 Social media**: interact with other Frontity users. Reach out to the Frontity team on [Twitter](https://twitter.com/frontity). Mention us in your tweets about Frontity and what you're building by using **`@frontity`**.
* 💌 **Newsletter:** do you want to receive the latest news about Frontity and find out as soon as there's an update to the framework? Subscribe to our [newsletter](https://frontity.org/#newsletter).
### Get involved
[![GitHub issues by-label](https://img.shields.io/github/issues/frontity/frontity/good%20first%20issue)](https://github.com/frontity/frontity/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
Got questions or feedback about Frontity? We'd love to hear from you in our [community forum](https://community.frontity.org).
Frontity also welcomes contributions. There are many ways to support the project! If you don't know where to start then this guide might help: [How to contribute?](https://docs.frontity.org/contributing/how-to-contribute).
If you would like to start contributing to the code please open a pull request to address one of our [*good first issues*](https://github.com/frontity/frontity/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
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