Socket
Socket
Sign inDemoInstall

typeit-react

Package Overview
Dependencies
7
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.0 to 2.7.1

dist/index.test.d.ts

9

dist/index.d.ts
import React from "react";
import { TypeItOptions } from "typeit";
import type { TypeIt as ITypeIt } from "typeit";
import { Options, default as TypeItCore } from "typeit";
export interface TypeItProps {
as?: keyof JSX.IntrinsicElements;
options?: TypeItOptions;
options?: Options;
children?: React.ReactNode;
getBeforeInit?: (instance: ITypeIt) => Function;
getAfterInit?: (instance: ITypeIt) => Function;
getBeforeInit?: (instance: TypeItCore) => TypeItCore;
getAfterInit?: (instance: TypeItCore) => TypeItCore;
[key: string]: any;

@@ -11,0 +10,0 @@ }

@@ -351,3 +351,5 @@ var __defProp = Object.defineProperty;

const generateHash = () => Math.random().toString().substring(2, 9);
const isInput = (el) => "value" in el;
const isInput = (el) => {
return "value" in el;
};
let getAllChars = (element) => {

@@ -354,0 +356,0 @@ if (isInput(element)) {

{
"name": "typeit-react",
"version": "2.7.0",
"version": "2.7.1",
"description": "React component for the most versatile JavaScript animated typing utility on the planet.",

@@ -14,3 +14,3 @@ "homepage": "https://typeitjs.com",

"prettier": "prettier --write \"**/*.{md,js}\"",
"test": "echo \"Error: no test specified\" && exit 0",
"test": "vitest run src",
"prepare": "npm run build"

@@ -44,11 +44,16 @@ },

"react-dom": ">=18.2.0",
"typeit": "^8.8.0"
"typeit": "^8.8.3"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
"@types/react": "^18.2.38",
"terser": "^5.24.0",
"typescript": "^5.3.2",
"vite": "^5.0.2"
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@types/react": "^18.2.47",
"jsdom": "^23.2.0",
"terser": "^5.26.0",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.2.0",
"vitest-dom": "^0.1.1"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc