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

@uxland-admin/ip-context-info

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxland-admin/ip-context-info - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

app/context-info/context-info-view.js

@@ -5,1 +5,2 @@ import { createSelector } from "reselect";

export const contextInfoView = createSelector(contextInfoSelector, (res) => res && res.state && res.state.description);
export const diagnosticView = createSelector(contextInfoSelector, (res) => res && res.state && res.state.diagnostic);

3

components/ip-ci/ip-ci-template.js
import { html } from '@polymer/lit-element/lit-element';
import { moduleName } from "../../constants";
const innerTemplate = (props) => html `${props.contextInfo
? html `<div>${props.contextInfo}</div>`
? html `<div>${props.contextInfo} - ${props.localize(`${moduleName}.diagnostic`)}: ${props.diagnosticInfo}</div>`
: html `-`}`;
export const template = innerTemplate;

@@ -8,3 +8,3 @@ import * as tslib_1 from "tslib";

import { template as TEMPLATE } from './ip-ci-template.js';
import { contextInfoView } from "../../app/context-info/context-info-view";
import { contextInfoView, diagnosticView } from "../../app/context-info/context-info-view";
import { fetchContextInfo } from "../../app/context-info/fetch-context-info";

@@ -21,4 +21,8 @@ let IpCi = class IpCi extends RegionView(Locale(LitElement)) {

property({ statePath: contextInfoView }),
tslib_1.__metadata("design:type", Object)
tslib_1.__metadata("design:type", String)
], IpCi.prototype, "contextInfo", void 0);
tslib_1.__decorate([
property({ statePath: diagnosticView }),
tslib_1.__metadata("design:type", String)
], IpCi.prototype, "diagnosticInfo", void 0);
IpCi = tslib_1.__decorate([

@@ -25,0 +29,0 @@ customElement('ip-ci')

@@ -10,3 +10,5 @@ declare module '@uxland-admin/ip-context-info/constants' {

ca: {
[moduleName]: {};
[moduleName]: {
diagnostic: string;
};
};

@@ -26,2 +28,3 @@ en: {

description: string;
diagnostic: string;
}

@@ -62,2 +65,3 @@ export const FETCH_CONTEXT_INFO: any;

export const contextInfoView: import("reselect").OutputSelector<import("../../reducer").AppContextInfoState, string, (res: AsyncState<ContextInfo>) => string>;
export const diagnosticView: import("reselect").OutputSelector<import("../../reducer").AppContextInfoState, string, (res: AsyncState<ContextInfo>) => string>;

@@ -82,7 +86,8 @@ }

declare module '@uxland-admin/ip-context-info/components/ip-ci/ip-ci' {
import { ContextInfo } from '@uxland-admin/ip-context-info/state/context-info/reducer'; const IpCi_base: any;
const IpCi_base: any;
export class IpCi extends IpCi_base {
activeChanged(current: boolean): void;
render(): any;
contextInfo: ContextInfo;
contextInfo: string;
diagnosticInfo: string;
}

@@ -89,0 +94,0 @@ export {};

import { moduleName } from "./constants";
export const locales = {
ca: {
[moduleName]: {}
[moduleName]: {
diagnostic: 'Diagnòstic'
}
},

@@ -6,0 +8,0 @@ en: {

{
"name": "@uxland-admin/ip-context-info",
"description": "ICS Process - Context info",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",

@@ -6,0 +6,0 @@ "repository": {

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