@bccampus/utils 0.3.0 → 0.3.1

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.
@@ -2141,6 +2141,8 @@ function slugify$1(string, options) {
2141
2141
  }
2142
2142
  //#endregion
2143
2143
  //#region src/string/slugify/index.ts
2144
- var slugify = (text) => slugify$1(text);
2144
+ function slugify(text) {
2145
+ return slugify$1(text, { customReplacements: [["BCcampus", "bccampus"]] });
2146
+ }
2145
2147
  //#endregion
2146
2148
  exports.slugify = slugify;
@@ -1 +1 @@
1
- export declare const slugify: (text: string) => string;
1
+ export declare function slugify(text: string): string;
@@ -2140,6 +2140,8 @@ function slugify$1(string, options) {
2140
2140
  }
2141
2141
  //#endregion
2142
2142
  //#region src/string/slugify/index.ts
2143
- var slugify = (text) => slugify$1(text);
2143
+ function slugify(text) {
2144
+ return slugify$1(text, { customReplacements: [["BCcampus", "bccampus"]] });
2145
+ }
2144
2146
  //#endregion
2145
2147
  export { slugify };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bccampus/utils",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "BCcampus' utility box",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",