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

@medv/finder

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medv/finder - npm Package Compare versions

Comparing version 1.1.3 to 2.0.0

finder.d.ts

51

package.json
{
"name": "@medv/finder",
"version": "1.1.3",
"version": "2.0.0",
"description": "CSS Selector Generator",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "antonmedv/finder",
"homepage": "https://github.com/antonmedv/finder",
"author": "Anton Medvedev <anton@medv.io>",
"license": "MIT",
"keywords": [
"css",
"selector",
"generator"
],
"main": "finder.js",
"types": "finder.d.ts",
"files": [
"dist"
"*.ts",
"*.js"
],

@@ -14,33 +24,20 @@ "scripts": {

"prepare": "tsc",
"release": "release-it --access public"
"release": "release-it --access public",
"size": "minify finder.js --sourceType module | gzip-size"
},
"repository": {
"type": "git",
"url": "git+https://github.com/antonmedv/finder.git"
},
"keywords": [
"css",
"selector",
"generator"
],
"author": "Anton Medvedev <anton@medv.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/antonmedv/finder/issues"
},
"homepage": "https://github.com/antonmedv/finder#readme",
"devDependencies": {
"ava": "^0.25.0",
"browser-env": "^3.2.5",
"release-it": "^7.6.1",
"typescript": "3.0.1"
"ava": "^3.8.2",
"browser-env": "^3.3.0",
"esm": "^3.2.25",
"gzip-size-cli": "*",
"babel-minify": "*",
"release-it": "^13.6.1",
"typescript": "3.9.3"
},
"ava": {
"require": [
"esm",
"./test/helpers/setup-browser-env.js"
]
},
"dependencies": {
"cssesc": "^2.0.0"
}
}

@@ -1,6 +0,8 @@

![finder](https://user-images.githubusercontent.com/141232/36463709-381f8c36-16fe-11e8-8fdc-fcbdd4f2a36c.png)
![finder](https://medv.io/assets/finder.png)
# finder
[![Build Status](https://travis-ci.org/antonmedv/finder.svg?branch=master)](https://travis-ci.org/antonmedv/finder)
[![npm](https://img.shields.io/npm/v/@medv/finder?color=grightgreen)](https://www.npmjs.com/package/@medv/finder)
[![Build status](https://img.shields.io/travis/antonmedv/finder)](https://travis-ci.org/antonmedv/finder)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@medv/finder?label=size)](https://bundlephobia.com/result?p=@medv/finder)

@@ -14,3 +16,3 @@ > CSS Selector Generator

* Stable and **robust** selectors
* **2.9 kB** gzip and minify size
* **2.1 kB** gzip and minify size

@@ -23,6 +25,14 @@ ## Install

Finder can be used via modules:
```html
<script type="module">
import {finder} from 'https://medv.io/finder/finder.js'
</script>
```
## Usage
```js
import finder from '@medv/finder'
import {finder} from '@medv/finder'

@@ -112,2 +122,3 @@ document.addEventListener('click', event => {

#### `maxNumberOfTries: number`
Max number of tries when we do the optimization. It is a trade-off between optimization and efficiency.

@@ -124,2 +135,2 @@ Default `10_000` is good enough in most cases.

MIT
[MIT](LICENSE)
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