Socket
Socket
Sign inDemoInstall

@fluid-topics/ft-wc-utils

Package Overview
Dependencies
Maintainers
2
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-wc-utils - npm Package Compare versions

Comparing version 1.1.41 to 1.1.42

build/mixins.styles.d.ts

10

build/index.d.ts
import "./silent-define";
declare global {
interface Window {
safari?: {
pushNotification?: any;
};
ftGlobals?: any;
}
}
export declare const isSafari: boolean;

@@ -17,3 +25,3 @@ export declare const isTouchScreen: boolean;

export * from "./highlight-html";
export * from "./mixins.css";
export * from "./mixins.styles";
export * from "./models";

@@ -20,0 +28,0 @@ export * from "./ParametrizedLabelResolver";

@@ -1,9 +0,67 @@

var _a, _b, _c;
var _a, _b, _c, _d;
import "./silent-define";
import * as lit from "lit";
import * as litDecorators from "lit/decorators.js";
import * as litRepeat from "lit/directives/repeat.js";
import * as litClassMap from "lit/directives/class-map.js";
import * as litStyleMap from "lit/directives/style-map.js";
import * as litUnsafeHTML from "lit/directives/unsafe-html.js";
import * as CacheRegistry from "./CacheRegistry";
import * as CancelablePromise from "./CancelablePromise";
import * as ClusteringHelper from "./ClusteringHelper";
import * as Debouncer from "./Debouncer";
import * as decorators from "./decorators";
import * as designSystemVariables from "./designSystemVariables";
import * as events from "./events";
import * as floating from "./floating";
import * as FtCssVariables from "./FtCssVariables";
import * as FtLitElement from "./FtLitElement";
import * as genericTypes from "./generic-types";
import * as helpers from "./helpers";
import * as highlightHtml from "./highlight-html";
import * as mixinsCss from "./mixins.styles";
import * as models from "./models";
import * as ParametrizedLabelResolver from "./ParametrizedLabelResolver";
import * as redux from "./redux";
import * as ScopedRegistryLitElement from "./ScopedRegistryLitElement";
import * as urlHelpers from "./urlHelpers";
import * as FtFormComponent from "./FtFormComponent";
export const isSafari = (navigator.vendor && !!navigator.vendor.match(/apple/i))
|| ((_c = (_b = (_a = window.safari) === null || _a === void 0 ? void 0 : _a.pushNotification) === null || _b === void 0 ? void 0 : _b.toString()) !== null && _c !== void 0 ? _c : "") === "[object SafariRemoteNotification]";
export const isTouchScreen = (('ontouchstart' in window)
export const isTouchScreen = (("ontouchstart" in window)
|| (navigator.maxTouchPoints > 0)
// @ts-ignore
|| (navigator.msMaxTouchPoints > 0));
window.ftGlobals = (_d = window.ftGlobals) !== null && _d !== void 0 ? _d : {
lit,
litDecorators,
litRepeat,
litClassMap,
litStyleMap,
litUnsafeHTML,
wcUtils: {
...CacheRegistry,
...CancelablePromise,
...ClusteringHelper,
...Debouncer,
...decorators,
...designSystemVariables,
...events,
...floating,
...FtCssVariables,
...FtLitElement,
...genericTypes,
...helpers,
...highlightHtml,
...mixinsCss,
...models,
...ParametrizedLabelResolver,
...redux,
...ScopedRegistryLitElement,
...urlHelpers,
...FtFormComponent,
isSafari,
isTouchScreen
}
};
export * from "./CacheRegistry";

@@ -22,3 +80,3 @@ export * from "./CancelablePromise";

export * from "./highlight-html";
export * from "./mixins.css";
export * from "./mixins.styles";
export * from "./models";

@@ -25,0 +83,0 @@ export * from "./ParametrizedLabelResolver";

4

package.json
{
"name": "@fluid-topics/ft-wc-utils",
"version": "1.1.41",
"version": "1.1.42",
"description": "Internal web components tools",

@@ -26,3 +26,3 @@ "author": "Fluid Topics <devtopics@antidot.net>",

},
"gitHead": "9842020c30f172387107ab92ffa3d2c5a33edce6"
"gitHead": "057e1248874a9a814a34e0bf75329f963744a5ff"
}
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