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

@logux/client

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logux/client - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

attention/index.cjs

6

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.7
* Add ES modules support.
* Add TypeScript definitions.
* Move API docs from JSDoc to TypeDoc.
* Mark package as side effect free.
## 0.6

@@ -5,0 +11,0 @@ * Do not synchronize event cleaning between tabs.

38

index.js

@@ -1,19 +0,23 @@

var CrossTabClient = require('./cross-tab-client')
var attention = require('./attention')
var confirm = require('./confirm')
var favicon = require('./favicon')
var Client = require('./client')
var status = require('./status')
var badge = require('./badge')
var log = require('./log')
import { badge, badgeRu, badgeEn } from './badge/index.js'
import { CrossTabClient } from './cross-tab-client/index.js'
import { IndexedStore } from './indexed-store/index.js'
import { attention } from './attention/index.js'
import { confirm } from './confirm/index.js'
import { favicon } from './favicon/index.js'
import { Client } from './client/index.js'
import { status } from './status/index.js'
import { log } from './log/index.js'
module.exports = {
CrossTabClient: CrossTabClient,
attention: attention,
confirm: confirm,
favicon: favicon,
Client: Client,
status: status,
badge: badge,
log: log
export {
CrossTabClient,
IndexedStore,
attention,
confirm,
badgeRu,
badgeEn,
favicon,
Client,
status,
badge,
log
}
{
"name": "@logux/client",
"version": "0.6.0",
"version": "0.7.0",
"description": "Logux base components to build web client",

@@ -16,15 +16,80 @@ "keywords": [

"repository": "logux/client",
"sideEffects": false,
"engines": {
"node": ">=10.0.0"
},
"dependencies": {
"@logux/core": "^0.3.5",
"@logux/core": "^0.4.0",
"browser-supports-log-styles": "^1.1.7",
"nanoevents": "^2.0.0",
"nanoid": "^2.1.11"
"nanoevents": "^5.1.5",
"nanoid": "^3.0.2"
},
"eslintIgnore": [
"test/demo/build"
"size-limit2": [
{
"path": "./client/index.js",
"import": "{ Client }",
"limit": "9 KB"
}
],
"sharec": {
"config": "@logux/sharec-config",
"version": "0.5.7"
"type": "module",
"main": "index.cjs",
"module": "index.js",
"react-native": "index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./index.cjs",
"import": "./index.js"
},
"./attention/package.json": "./attention/package.json",
"./attention": {
"require": "./attention/index.cjs",
"import": "./attention/index.js"
},
"./badge/package.json": "./badge/package.json",
"./badge": {
"require": "./badge/index.cjs",
"import": "./badge/index.js"
},
"./client/package.json": "./client/package.json",
"./client": {
"require": "./client/index.cjs",
"import": "./client/index.js"
},
"./confirm/package.json": "./confirm/package.json",
"./confirm": {
"require": "./confirm/index.cjs",
"import": "./confirm/index.js"
},
"./cross-tab-client/package.json": "./cross-tab-client/package.json",
"./cross-tab-client": {
"require": "./cross-tab-client/index.cjs",
"import": "./cross-tab-client/index.js"
},
"./favicon/package.json": "./favicon/package.json",
"./favicon": {
"require": "./favicon/index.cjs",
"import": "./favicon/index.js"
},
"./indexed-store/package.json": "./indexed-store/package.json",
"./indexed-store": {
"require": "./indexed-store/index.cjs",
"import": "./indexed-store/index.js"
},
"./log/package.json": "./log/package.json",
"./log": {
"require": "./log/index.cjs",
"import": "./log/index.js"
},
"./status/package.json": "./status/package.json",
"./status": {
"require": "./status/index.cjs",
"import": "./status/index.js"
},
"./badge/styles/package.json": "./badge/styles/package.json",
"./badge/styles": {
"require": "./badge/styles/index.cjs",
"import": "./badge/styles/index.js"
}
}
}
}

@@ -46,7 +46,4 @@ # Logux Client [![Cult Of Martians][cult-img]][cult]

```js
import CrossTabClient from '@logux/client/cross-tab-client'
import messages from '@logux/client/badge/en'
import styles from '@logux/client/badge/default'
import badge from '@logux/client/badge'
import log from '@logux/client/log'
import { CrossTabClient, badge, badgeEn, log } from '@logux/client'
import { badgeStyles } from '@logux/client/badge/style'

@@ -63,3 +60,3 @@ let userId = document.querySelector('meta[name=user]').content

badge(client, { messages, styles })
badge(client, { messages: badgeEn, styles: badgeStyles })
log(client)

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