Skip to content

Commit

Permalink
chore: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
mnater committed Jun 30, 2024
1 parent 220ffb2 commit 8eb5e44
Show file tree
Hide file tree
Showing 93 changed files with 626 additions and 751 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Version History

## Current (not versioned nor released, yet)
## Version 6.0.0 (2024-06-30)
### Breaking changes
* Hyphenopoly.config() in hyphenopoly.module.js now always returns a `Map` (issue #209)
* Drop support for outdated (eol) node versions. Hyphenopoly.module now requires node >= 18
Expand Down
2 changes: 1 addition & 1 deletion Hyphenopoly.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Hyphenopoly 5.3.0 - client side hyphenation for webbrowsers
* @license Hyphenopoly 6.0.0 - client side hyphenation for webbrowsers
* ©2024 Mathias Nater, Güttingen (mathiasnater at gmail dot com)
* https://github.com/mnater/Hyphenopoly
*
Expand Down
2 changes: 1 addition & 1 deletion Hyphenopoly_Loader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Hyphenopoly_Loader 5.3.0 - client side hyphenation
* @license Hyphenopoly_Loader 6.0.0 - client side hyphenation
* ©2024 Mathias Nater, Güttingen (mathiasnater at gmail dot com)
* https://github.com/mnater/Hyphenopoly
*
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ If the browser supports all required languages, the script deletes the `Hyphenop
Hyphenopoly by default hyphenates elements (and their children) with the classname `.hyphenate`. Don't forget to enable CSS-hyphenation for the classes eventually handled by Hyphenopoly.

## Usage (node)
[![Try hyphenopoly on RunKit](https://badge.runkitcdn.com/hyphenopoly.svg)](https://npm.runkit.com/hyphenopoly)

Install:
````shell
npm i hyphenopoly
Expand Down
2 changes: 1 addition & 1 deletion docs/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Hyphenopoly & Webpack implementation</title><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"/><style>body{padding-top:5rem}.starter-template{padding:3rem 1.5rem;text-align:center}.enable-indent{text-indent:7%}.footer{position:absolute;bottom:0;width:100%;height:60px;line-height:60px;background-color:#f5f5f5}.hyphenate{hyphens:auto;-ms-hyphens:auto;-webkit-hyphens:auto}</style><script defer="defer" src="js/vendor_head.59766a1b0d655867304d.bundle.js"></script></head><body data-gr-c-s-loaded="true"><nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top"><a class="navbar-brand" href="#">Hyphenopoly & Webpack</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button></nav><main role="main" class="container"><div class="starter-template"><div class="mb-5"><h1>Hyphenopoly implementation with Webpack</h1><p class="lead">Hyphenopoly.js is a JavaScript-polyfill for hyphenation in HTML: it hyphenates text if the user agent does not support CSS-hyphenation at all or not for the required languages and it is a Node.js-module.</p></div><div class="row mb-4"><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">English. <span class="text-muted">(en-us)</span></h5><p lang="en-us" class="card-text text-justify enable-indent hyphenate">A language is a structured system of communication. Language, in a broader sense, is the method of communication that involves the use of – particularly human – languages.<br/><br/>The scientific study of language is called linguistics. Questions concerning the philosophy of language, such as whether words can represent experience, have been debated at least since Gorgias and Plato in ancient Greece. Thinkers such as Rousseau have argued that language originated from emotions while others like Kant have held that it originated from rational and logical thought. 20th-century philosophers such as Wittgenstein argued that philosophy is really the study of language.</p></div></div></div><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">Spanish. <span class="text-muted">(es)</span></h5><p class="card-text text-justify enable-indent hyphenate" lang="es">Un lenguaje es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.<br/><br/>Desde un punto de vista más amplio, la comunicación indica una característica común a los humanos y a otros animales (animales no simbólicos) para expresar experiencias mediante el uso de señales y sonidos registrados por los órganos de los sentidos. Los seres humanos desarrollan un lenguaje simbólico complejo que se expresa con secuencias sonoras y signos gráficos. Por su parte, los animales se comunican a través de signos sonoros, olfativos y corporales que en muchos casos distan de ser sencillos.</p></div></div></div></div><div class="row"><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">German. <span class="text-muted">(de)</span></h5><p lang="de" class="card-text text-justify enable-indent hyphenate">Unter Sprache versteht man die Menge, die als Elemente alle „komplexen Systeme der Kommunikation“ beinhaltet. Der Term wird meist verwendet, um anzuzeigen, dass konkrete Zeichensysteme Elemente dieser Menge sind (z. B. die deutsche Sprache, die Programmiersprache Basic); umgekehrt, um anzuzeigen, dass diese konkreten Zeichensysteme den Eigenschaften einer Definition des Begriffs „Sprache“ genügen. Eine andere Definition ist: Sprachen sind „die Systeme von Einheiten und Regeln, die den Mitgliedern von Sprachgemeinschaften als Mittel der Verständigung dienen“.</p></div></div></div><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">Italian. <span class="text-muted">(it)</span></h5><p class="card-text text-justify enable-indent hyphenate" lang="it">Il linguaggio è la facoltà di attivare un processo di comunicazione tra due o più individui di una specie animale attraverso un complesso definito di suoni, gesti e simboli di significato comune ad uno specifico ambiente di interazione.<br/><br/>Il linguaggio è un codice. Tra tutti i linguaggi utilizzati dagli animali, il codice proprio della specie umana, detto "lingua" (o, più specificamente, "linguaggio verbale umano"), ha caratteristiche che lo differenziano grandemente da altri linguaggi animali. Alcuni autori contemporanei definiscono il linguaggio umano come uno strumento del pensiero, di cui la comunicazione è solo un accessorio non indispensabile, e le lingue vengono considerate come oggetti biologici e non come utensili progettati dagli esseri umani.</p></div></div></div></div></div></main><footer class="text-muted bg-light mt-5"><div class="container"><p class="py-3 my-0">By <a target="_blank" rel="noopener noreferrer" href="https://github.com/julian-zatloukal">@julian-zatloukal</a> for the <a target="_blank" rel="noopener noreferrer" href="https://github.com/mnater/Hyphenopoly">Hyphenopoly.js</a> project.</p></div></footer><script defer="defer" src="js/runtime.03a24b618e413fbebe81.bundle.js"></script><script defer="defer" src="js/main.8db6e7abadc9bf65a7d6.bundle.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Hyphenopoly & Webpack implementation</title><link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"/><style>body{padding-top:5rem}.starter-template{padding:3rem 1.5rem;text-align:center}.enable-indent{text-indent:7%}.footer{position:absolute;bottom:0;width:100%;height:60px;line-height:60px;background-color:#f5f5f5}.hyphenate{hyphens:auto;-ms-hyphens:auto;-webkit-hyphens:auto}</style><script defer="defer" src="js/vendor_head.8e21724a6bca848a8286.bundle.js"></script></head><body data-gr-c-s-loaded="true"><nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top"><a class="navbar-brand" href="#">Hyphenopoly & Webpack</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button></nav><main role="main" class="container"><div class="starter-template"><div class="mb-5"><h1>Hyphenopoly implementation with Webpack</h1><p class="lead">Hyphenopoly.js is a JavaScript-polyfill for hyphenation in HTML: it hyphenates text if the user agent does not support CSS-hyphenation at all or not for the required languages and it is a Node.js-module.</p></div><div class="row mb-4"><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">English. <span class="text-muted">(en-us)</span></h5><p lang="en-us" class="card-text text-justify enable-indent hyphenate">A language is a structured system of communication. Language, in a broader sense, is the method of communication that involves the use of – particularly human – languages.<br/><br/>The scientific study of language is called linguistics. Questions concerning the philosophy of language, such as whether words can represent experience, have been debated at least since Gorgias and Plato in ancient Greece. Thinkers such as Rousseau have argued that language originated from emotions while others like Kant have held that it originated from rational and logical thought. 20th-century philosophers such as Wittgenstein argued that philosophy is really the study of language.</p></div></div></div><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">Spanish. <span class="text-muted">(es)</span></h5><p class="card-text text-justify enable-indent hyphenate" lang="es">Un lenguaje es un sistema de comunicación estructurado para el que existe un contexto de uso y ciertos principios combinatorios formales. Existen contextos tanto naturales como artificiales.<br/><br/>Desde un punto de vista más amplio, la comunicación indica una característica común a los humanos y a otros animales (animales no simbólicos) para expresar experiencias mediante el uso de señales y sonidos registrados por los órganos de los sentidos. Los seres humanos desarrollan un lenguaje simbólico complejo que se expresa con secuencias sonoras y signos gráficos. Por su parte, los animales se comunican a través de signos sonoros, olfativos y corporales que en muchos casos distan de ser sencillos.</p></div></div></div></div><div class="row"><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">German. <span class="text-muted">(de)</span></h5><p lang="de" class="card-text text-justify enable-indent hyphenate">Unter Sprache versteht man die Menge, die als Elemente alle „komplexen Systeme der Kommunikation“ beinhaltet. Der Term wird meist verwendet, um anzuzeigen, dass konkrete Zeichensysteme Elemente dieser Menge sind (z. B. die deutsche Sprache, die Programmiersprache Basic); umgekehrt, um anzuzeigen, dass diese konkreten Zeichensysteme den Eigenschaften einer Definition des Begriffs „Sprache“ genügen. Eine andere Definition ist: Sprachen sind „die Systeme von Einheiten und Regeln, die den Mitgliedern von Sprachgemeinschaften als Mittel der Verständigung dienen“.</p></div></div></div><div class="col-sm-6"><div class="card text-left"><div class="card-body"><h5 class="card-title">Italian. <span class="text-muted">(it)</span></h5><p class="card-text text-justify enable-indent hyphenate" lang="it">Il linguaggio è la facoltà di attivare un processo di comunicazione tra due o più individui di una specie animale attraverso un complesso definito di suoni, gesti e simboli di significato comune ad uno specifico ambiente di interazione.<br/><br/>Il linguaggio è un codice. Tra tutti i linguaggi utilizzati dagli animali, il codice proprio della specie umana, detto "lingua" (o, più specificamente, "linguaggio verbale umano"), ha caratteristiche che lo differenziano grandemente da altri linguaggi animali. Alcuni autori contemporanei definiscono il linguaggio umano come uno strumento del pensiero, di cui la comunicazione è solo un accessorio non indispensabile, e le lingue vengono considerate come oggetti biologici e non come utensili progettati dagli esseri umani.</p></div></div></div></div></div></main><footer class="text-muted bg-light mt-5"><div class="container"><p class="py-3 my-0">By <a target="_blank" rel="noopener noreferrer" href="https://github.com/julian-zatloukal">@julian-zatloukal</a> for the <a target="_blank" rel="noopener noreferrer" href="https://github.com/mnater/Hyphenopoly">Hyphenopoly.js</a> project.</p></div></footer><script defer="defer" src="js/runtime.ce62cc711da66a677b25.bundle.js"></script><script defer="defer" src="js/main.84e932f37262b0e933fb.bundle.js"></script></body></html>
Loading

0 comments on commit 8eb5e44

Please sign in to comment.