Socket
Socket
Sign inDemoInstall

font-picker

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-picker - npm Package Compare versions

Comparing version 3.5.0 to 3.5.1

2

dist/FontPicker.d.ts

@@ -9,3 +9,3 @@ import { Font, FontList, Options } from "@samuelmeuli/font-manager";

private ul;
constructor(apiKey: string, defaultFamily: string | undefined, { pickerId, families, categories, scripts, variants, filter, limit, sort, }: Options, onChange?: (font: Font) => void);
constructor(apiKey: string, defaultFamily: string | undefined, { pickerId, families, categories, scripts, variants, filter, limit, sort, }: Partial<Options>, onChange?: (font: Font) => void);
private generateUI;

@@ -12,0 +12,0 @@ private generateFontList;

{
"name": "font-picker",
"version": "3.5.0",
"version": "3.5.1",
"description": "Font selector component for Google Fonts",

@@ -36,7 +36,8 @@ "author": {

"test": "tsc --noEmit",
"format": "prettier --write",
"lint:css": "stylelint --fix --max-warnings 0",
"lint:scss": "stylelint --fix --max-warnings 0 --syntax scss",
"lint:js": "eslint --ext .js,.jsx --fix --max-warnings 0",
"lint:ts": "eslint --ext .ts,.tsx --fix --max-warnings 0",
"lint:css": "stylelint --ignore-path ./.gitignore --max-warnings 0 \"**/*.{css,sass,scss}\"",
"lint:css:fix": "yarn lint:css --fix",
"lint:ts": "eslint --ext .ts,.tsx --ignore-path ./.gitignore --max-warnings 0 \"**/*.{ts,tsx}\"",
"lint:ts:fix": "yarn lint:ts --fix",
"format": "prettier --ignore-path ./.gitignore --list-different \"**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}\"",
"format:fix": "yarn format --write",
"version": "yarn build",

@@ -49,30 +50,28 @@ "release": "np"

"devDependencies": {
"@samuelmeuli/eslint-config": "^5.0.2",
"@samuelmeuli/prettier-config": "^1.0.0",
"@samuelmeuli/stylelint-config": "^2.0.1",
"@samuelmeuli/tsconfig": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"eslint": "6.7.2",
"eslint-config-airbnb-base": "14.0.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-simple-import-sort": "^5.0.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"np": "^5.2.1",
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "^2.0.1",
"@samuelmeuli/stylelint-config": "^3.0.0",
"@samuelmeuli/tsconfig": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"np": "^6.2.3",
"npm-run-all": "^4.1.3",
"prettier": "^1.19.1",
"rollup": "^1.27.8",
"prettier": "^2.0.5",
"rollup": "^1.32.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"serve": "^11.0.0",
"stylelint": "^11.0.0",
"typescript": "^3.7.3"
"rollup-plugin-typescript2": "^0.27.1",
"serve": "^11.3.0",
"stylelint": "^12.0.1",
"typescript": "^3.9.2"
},
"browserslist": [
"defaults"
],
"eslintConfig": {
"root": true,
"extends": [
"@samuelmeuli/eslint-config/typescript"
],
"extends": "@samuelmeuli/eslint-config/typescript",
"env": {

@@ -82,34 +81,6 @@ "browser": true

},
"prettier": "@samuelmeuli/prettier-config",
"lint-staged": {
"*.{js,jsx}": [
"yarn lint:js",
"yarn format",
"git add"
],
"*.{ts,tsx}": [
"yarn lint:ts",
"yarn format",
"git add"
],
"*.css": [
"yarn lint:css",
"yarn format",
"git add"
],
"*.scss": [
"yarn lint:scss",
"yarn format",
"git add"
],
"*.{json,md,yml}": [
"yarn format",
"git add"
]
"stylelint": {
"extends": "@samuelmeuli/stylelint-config"
},
"husky": {
"hooks": {
"pre-commit": "yarn test && lint-staged"
}
}
"prettier": "@samuelmeuli/prettier-config"
}

Sorry, the diff of this file is not supported yet

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