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

@lion/helpers

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/helpers - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

8

CHANGELOG.md

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

## [0.3.6](https://github.com/ing-bank/lion/compare/@lion/helpers@0.3.5...@lion/helpers@0.3.6) (2020-04-29)
**Note:** Version bump only for package @lion/helpers
## [0.3.5](https://github.com/ing-bank/lion/compare/@lion/helpers@0.3.4...@lion/helpers@0.3.5) (2020-04-02)

@@ -8,0 +16,0 @@

6

package.json
{
"name": "@lion/helpers",
"version": "0.3.5",
"version": "0.3.6",
"description": "Helpers that are used throughout lion and can be used outside",

@@ -37,5 +37,5 @@ "author": "ing-bank",

"dependencies": {
"@lion/core": "0.5.1"
"@lion/core": "0.5.2"
},
"gitHead": "b58aa65377d5e7a0cd4d87917980291c832e7120"
"gitHead": "2476211c21e3f785a909c71e8f94ff307fc6a4fc"
}
# Helpers
> ## 🛠 Status: Pilot Phase
> Lion Web Components are still in an early alpha stage; they should not be considered production ready yet.
>
> The goal of our pilot phase is to gather feedback from a private group of users.
> Therefore, during this phase, we kindly ask you to:
> - not publicly promote or link us yet: (no tweets, blog posts or other forms of communication about Lion Web Components)
> - not publicly promote or link products derived from/based on Lion Web Components
>
> As soon as Pilot Phase ends we will let you know (feel free to subscribe to this issue https://github.com/ing-bank/lion/issues/1)
A helpers package that contains several helpers that are used inside lion but can be used outside as well.

@@ -14,0 +4,0 @@

# Storybook Action Logger
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
A visual element to show action logs in Storybook demos `sb-action-logger`.

@@ -6,0 +4,0 @@

@@ -8,5 +8,3 @@ import { expect, fixture, html } from '@open-wc/testing';

it('has a default title "Action Logger"', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -28,5 +26,3 @@ expect(el.shadowRoot.querySelector('.header__title').innerText).to.equal('Action Logger');

it('is possible to send something to the logger using the log method', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -42,5 +38,3 @@ el.log('Hello, World!');

it('appends new logs to the logger', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -59,5 +53,3 @@ el.log('Hello, World!');

it('shows a visual cue whenever something is logged to the logger', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -72,5 +64,3 @@ const cueEl = el.shadowRoot.querySelector('.header__log-cue-overlay');

it('has a visual counter that counts the amount of total logs', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -86,5 +76,3 @@ const cueEl = el.shadowRoot.querySelector('.header__log-cue-overlay');

it('has a clear button that clears the logs and resets the counter', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -101,5 +89,3 @@ el.log('Hello, World!');

it('duplicate consecutive logs are kept as one, adds a visual counter', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);

@@ -125,5 +111,3 @@ el.log('Hello, World!');

it('can be set to simple mode for only showing a single log statement', async () => {
const el = await fixture(html`
<sb-action-logger simple></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger simple></sb-action-logger>`);
el.log('Hello, World!');

@@ -149,5 +133,3 @@ const loggerEl = el.shadowRoot.querySelector('.logger');

it.skip('fires a sb-action-logged event when something is logged to the logger', async () => {
const el = await fixture(html`
<sb-action-logger></sb-action-logger>
`);
const el = await fixture(html`<sb-action-logger></sb-action-logger>`);
expect(el).to.be.true;

@@ -154,0 +136,0 @@ });

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