Socket
Socket
Sign inDemoInstall

fower-plugin-font-family

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fower-plugin-font-family - npm Package Compare versions

Comparing version 1.36.0 to 1.37.0

4

dist/fower-plugin-font-family.cjs.development.js

@@ -5,3 +5,3 @@ 'use strict';

var store = require('@fower/store');
var core = require('@fower/core');
var utils = require('@fower/utils');

@@ -17,3 +17,3 @@

var key = atom.key;
var fontFamilies = store.store.getTheme().fontFamilies;
var fontFamilies = core.store.getTheme().fontFamilies;
var posfix = key.replace(/^font/i, '');

@@ -20,0 +20,0 @@ var styleValue = fontFamilies[utils.downFirst(posfix)];

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@fower/store"),t=require("@fower/utils");function r(e){return/^font(Sans|Serif|Mono)?$/i.test(e)}exports.default=function(){return{isMatch:r,handleAtom:function(r){var o=r.key,n=e.store.getTheme().fontFamilies,i=o.replace(/^font/i,""),s=n[t.downFirst(i)];return r.style={fontFamily:s},r}}},exports.isMatch=r;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@fower/core"),t=require("@fower/utils");function r(e){return/^font(Sans|Serif|Mono)?$/i.test(e)}exports.default=function(){return{isMatch:r,handleAtom:function(r){var o=r.key,n=e.store.getTheme().fontFamilies,i=o.replace(/^font/i,""),s=n[t.downFirst(i)];return r.style={fontFamily:s},r}}},exports.isMatch=r;
//# sourceMappingURL=fower-plugin-font-family.cjs.production.min.js.map

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

import { store } from '@fower/store';
import { store } from '@fower/core';
import { downFirst } from '@fower/utils';

@@ -3,0 +3,0 @@

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

import { FowerPlugin } from '@fower/types';
import { FowerPlugin } from '@fower/core';
export declare function isMatch(key: string): boolean;
declare const _default: () => FowerPlugin;
export default _default;
{
"name": "fower-plugin-font-family",
"version": "1.36.0",
"version": "1.37.0",
"license": "MIT",

@@ -25,9 +25,7 @@ "main": "dist/index.js",

"dependencies": {
"@fower/atom": "^1.36.0",
"@fower/core": "^1.36.0",
"@fower/store": "^1.36.0",
"@fower/types": "^1.36.0",
"@fower/utils": "^1.36.0"
"@fower/atomic-props": "^1.37.0",
"@fower/core": "^1.37.0",
"@fower/utils": "^1.37.0"
},
"gitHead": "e278b5c6007016eda5ee60a806801f71f0f1078a"
"gitHead": "12be7e461de029d625c87d5866082f0f9ceaa225"
}

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

import { FowerPlugin } from '@fower/types'
import { FowerPlugin } from '@fower/core'

@@ -6,3 +6,3 @@ declare const _default: () => FowerPlugin

declare module '@fower/types' {
declare module '@fower/atomic-props' {
export interface AtomicProps {

@@ -9,0 +9,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

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