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

@readapt/settings

Package Overview
Dependencies
Maintainers
3
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.3.0 to 1.3.1

dist/types/defaultProfiles.d.ts

20

dist/readapt-settings.esm.js

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

const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {};
return {
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: opacityOptions[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, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: opacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
};

@@ -274,0 +256,0 @@

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

const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {};
return {
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: opacityOptions[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, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: opacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings);
};

@@ -278,0 +260,0 @@

{
"name": "@readapt/settings",
"version": "1.3.0",
"version": "1.3.1",
"main": "dist/readapt-settings.js",
"module": "dist/readapt-settings.esm.js",
"types": "dist/types.d.ts",
"types": "dist/types/index.d.ts",
"scripts": {

@@ -24,3 +24,3 @@ "clean": "shx rm -rf dist",

],
"gitHead": "4ede971994fed7176191dc9eb25b94359b7ad831"
"gitHead": "ffb76e6ae504fe8ce6c8f0a727efb0a6358be909"
}
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