@frsource/autoresize-textarea
Advanced tools
Comparing version 2.0.69 to 2.0.70
{ | ||
"name": "@frsource/autoresize-textarea", | ||
"version": "2.0.69", | ||
"version": "2.0.70", | ||
"description": "Minimalistic plugin to autosize your textareas! 💪", | ||
@@ -19,7 +19,4 @@ "sideEffects": false, | ||
"build": "pnpm clean && microbundle --compress", | ||
"lint": "eslint '**/*.ts' --ignore-pattern '**/*.d.ts'", | ||
"lint:fix": "pnpm lint --fix", | ||
"lint:ci": "pnpm lint --max-warnings 0", | ||
"prettify": "prettier --write src", | ||
"prettify:ci": "prettier --check src", | ||
"lint": "eslint . && prettier . --check", | ||
"fix": "pnpm eslint --fix && prettier . --write", | ||
"release": "semantic-release", | ||
@@ -49,17 +46,11 @@ "release:ci": "pnpm release --yes", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/commit-analyzer": "11.1.0", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "9.2.6", | ||
"@semantic-release/npm": "11.0.3", | ||
"@semantic-release/release-notes-generator": "12.1.0", | ||
"@typescript-eslint/eslint-plugin": "7.8.0", | ||
"@typescript-eslint/parser": "7.8.0", | ||
"eslint": "8.57.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-eslint-comments": "3.2.0", | ||
"@frsource/eslint-config": "1.9.0", | ||
"@frsource/prettier-config": "1.6.0", | ||
"@frsource/semantic-release-config": "1.3.0", | ||
"eslint": "9.2.0", | ||
"globals": "15.2.0", | ||
"microbundle": "0.15.1", | ||
"prettier": "3.2.5", | ||
"rimraf": "^5.0.0", | ||
"semantic-release": "23.0.8", | ||
"rimraf": "5.0.7", | ||
"semantic-release": "23.1.1", | ||
"typescript": "5.4.5" | ||
@@ -66,0 +57,0 @@ }, |
@@ -8,5 +8,2 @@ <p align="center"> | ||
</a> | ||
<a href="https://bundlejs.com/?q=%40frsource%2Fautoresize-textarea"> | ||
<img src="https://deno.bundlejs.com/badge?q=@frsource/autoresize-textarea" alt="GZIP size calculated by bundlejs.com"> | ||
</a> | ||
<a href="https://github.com/semantic-release/semantic-release"> | ||
@@ -60,4 +57,4 @@ <img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release badge"> | ||
```ts | ||
import { attach } from "@frsource/autoresize-textarea"; | ||
const textarea = document.querySelector("textarea"); | ||
import { attach } from '@frsource/autoresize-textarea'; | ||
const textarea = document.querySelector('textarea'); | ||
const { detach } = attach(textarea); | ||
@@ -72,3 +69,3 @@ | ||
```js | ||
const textarea = document.querySelector("textarea"); | ||
const textarea = document.querySelector('textarea'); | ||
const { detach } = window.autoresizeTextarea.attach(textarea); | ||
@@ -75,0 +72,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10
30117
89