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

@readapt/settings

Package Overview
Dependencies
Maintainers
5
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readapt/settings - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

2

dist/readapt-settings.esm.js

@@ -253,3 +253,3 @@ const fontFamilyOptions = [

const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {};
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: silentLetterOpacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableColor1: null, syllableColor2: null, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: silentLetterOpacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
};

@@ -256,0 +256,0 @@ const overrideDefaultColoredItems = (defaultColoredItems, overrides) => defaultColoredItems.map((item) => {

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

const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {};
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: silentLetterOpacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableColor1: null, syllableColor2: null, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: silentLetterOpacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
};

@@ -260,0 +260,0 @@ const overrideDefaultColoredItems = (defaultColoredItems, overrides) => defaultColoredItems.map((item) => {

@@ -11,4 +11,4 @@ import { Language } from './language';

lineSpacing: LineSpacingOption;
syllableColor1?: ColorOption;
syllableColor2?: ColorOption;
syllableColor1: ColorOption | null;
syllableColor2: ColorOption | null;
syllableActive: boolean;

@@ -15,0 +15,0 @@ syllableOpacity: OpacityOption;

{
"name": "@readapt/settings",
"version": "1.5.0",
"version": "1.6.0",
"main": "dist/readapt-settings.js",

@@ -24,3 +24,3 @@ "module": "dist/readapt-settings.esm.js",

],
"gitHead": "749a03ec8c071e43ed7a9c8a5ae9ada6f14cf9a3"
"gitHead": "68fd10172d8953f7cd727e74fb1bf6c1c08ac763"
}

@@ -42,2 +42,4 @@ import { ColoredItem, ColoredOption, Language, Settings } from './models'

syllableActive: false,
syllableColor1: null,
syllableColor2: null,
syllableOpacity: opacityOptions[0].value,

@@ -44,0 +46,0 @@ silentLetterActive: false,

@@ -21,4 +21,4 @@ import { Language } from './language'

lineSpacing: LineSpacingOption
syllableColor1?: ColorOption
syllableColor2?: ColorOption
syllableColor1: ColorOption | null
syllableColor2: ColorOption | null
syllableActive: boolean

@@ -25,0 +25,0 @@ syllableOpacity: OpacityOption

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