New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@svelteuidev/actions

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svelteuidev/actions - npm Package Compare versions

Comparing version 0.5.2 to 0.5.5

types/ActionTypes.d.ts

2

index.d.ts

@@ -6,1 +6,3 @@ export { clickoutside } from './use-click-outside/use-click-outside.js';

export { focus } from './use-focus/use-focus.js';
export { pageleave } from './use-page-leave/use-page-leave';
export { tableave } from './use-tab-leave/use-tab-leave';

@@ -6,1 +6,3 @@ export { clickoutside } from './use-click-outside/use-click-outside.js';

export { focus } from './use-focus/use-focus.js';
export { pageleave } from './use-page-leave/use-page-leave';
export { tableave } from './use-tab-leave/use-tab-leave';

35

package.json
{
"name": "@svelteuidev/actions",
"version": "0.5.2",
"version": "0.5.5",
"type": "module",
"types": "types/index.d.ts",
"devDependencies": {
"@sveltejs/kit": "next",
"@sveltejs/kit": "1.0.0-next.310",
"@svelteuidev/tsconfig": "*",
"@testing-library/svelte": "^3.1.0",
"autoprefixer": "^10.4.0",
"cssnano": "^5.0.10",
"@testing-library/svelte": "3.1.1",
"autoprefixer": "10.4.4",
"cssnano": "5.1.7",
"eslint-preset-svelteui": "*",
"jsdom": "^19.0.0",
"postcss": "^8.3.11",
"sass": "^1.43.4",
"svelte": "^3.42.6",
"svelte-check": "^2.2.6",
"svelte-preprocess": "^4.9.4",
"svelte2tsx": "^0.4.8",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
"jsdom": "19.0.0",
"postcss": "8.4.12",
"sass": "1.50.0",
"svelte": "3.47.0",
"svelte-check": "2.5.0",
"svelte-preprocess": "4.10.5",
"svelte2tsx": "0.5.7",
"tslib": "2.3.1",
"typescript": "4.6.3"
},
"type": "module",
"exports": {
"./package.json": "./package.json",
".": "./index.js",
"./types/ActionTypes": "./types/ActionTypes.js",
"./types": "./types/index.js",

@@ -31,4 +32,6 @@ "./use-click-outside/use-click-outside": "./use-click-outside/use-click-outside.js",

"./use-download/use-download": "./use-download/use-download.js",
"./use-focus/use-focus": "./use-focus/use-focus.js"
"./use-focus/use-focus": "./use-focus/use-focus.js",
"./use-page-leave/use-page-leave": "./use-page-leave/use-page-leave.js",
"./use-tab-leave/use-tab-leave": "./use-tab-leave/use-tab-leave.js"
}
}

@@ -1,1 +0,1 @@

export type { Action, FocusableElement, UnknownKeyNumber, UnknownKeyString } from './_types';
export type { Action, FocusableElement, UnknownKeyNumber, UnknownKeyString, Fn } from './ActionTypes';

@@ -1,2 +0,2 @@

import type { Action } from '../types/_types';
import type { Action } from '../types/ActionTypes';
/**

@@ -3,0 +3,0 @@ * With the `use-click-outside` action, a callback function will be fired whenever the user clicks outside of the dom node the action is applied to.

@@ -1,2 +0,2 @@

import type { Action } from '../types/_types';
import type { Action } from '../types/ActionTypes';
/**

@@ -3,0 +3,0 @@ * With the `use-clipboard` action, text passed into the text param will be copied to the users clipboard.

@@ -1,2 +0,2 @@

import type { Action, UnknownKeyString } from '../types/_types';
import type { Action, UnknownKeyString } from '../types/ActionTypes';
/**

@@ -3,0 +3,0 @@ * With the `use-css-variable` action, an object of properties will be treated as css custom variables. By defining this object inside of a $: {} reactive block, `use-css-variable` can update those css properties on the fly whenever some of its values change.

@@ -1,4 +0,4 @@

import type { Action } from '../types/_types';
import type { Action } from '../types/ActionTypes';
/**
* With the `use-clipboard` action, a download will occur with a given Blob object as a file with the given filename.
* With the `use-download` action, a download will occur with a given Blob object as a file with the given filename.
*

@@ -5,0 +5,0 @@ * ```tsx

import { tick } from 'svelte';
/**
* With the `use-clipboard` action, a download will occur with a given Blob object as a file with the given filename.
* With the `use-download` action, a download will occur with a given Blob object as a file with the given filename.
*

@@ -5,0 +5,0 @@ * ```tsx

@@ -1,2 +0,2 @@

import type { Action, FocusableElement } from '../types/_types';
import type { Action, FocusableElement } from '../types/ActionTypes';
/**

@@ -3,0 +3,0 @@ * With the `use-focus` action, the affected dom node gets focused when it is mounted into the dom. Only “focusable” elements should use this action. Type errors will appear if this is not the case.

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