@speakableio/core 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.native.d.mts +19 -0
- package/dist/index.native.d.ts +19 -0
- package/dist/index.native.js +2 -2
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +19 -0
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.mjs
CHANGED
|
@@ -1729,7 +1729,7 @@ var getCard = withErrorHandler(_getCard, "getCard");
|
|
|
1729
1729
|
import { v4 } from "uuid";
|
|
1730
1730
|
|
|
1731
1731
|
// src/utils/text-utils.ts
|
|
1732
|
-
import sha1 from "js-sha1";
|
|
1732
|
+
import { sha1 } from "js-sha1";
|
|
1733
1733
|
var purify = (word) => {
|
|
1734
1734
|
return word.normalize("NFD").replace(/\/([^" "]*)/g, "").replace(/\([^()]*\)/g, "").replace(/([^()]*)/g, "").replace(/[\u0300-\u036f]/g, "").replace(/[-]/g, " ").replace(/[.,/#!¡¿?؟。,.?$%^&*;:{}=\-_`~()’'…\s]/g, "").replace(/\s\s+/g, " ").toLowerCase().trim();
|
|
1735
1735
|
};
|