@teambit/toolbox.string.get-initials 0.0.497 → 0.0.499

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getInitials = void 0;
3
+ exports.getInitials = getInitials;
4
4
  /**
5
5
  * return the initials of a string if possible.
6
6
  * @param name string to get initials from
@@ -17,5 +17,4 @@ function getInitials(name) {
17
17
  }
18
18
  return name.slice(0, 2);
19
19
  }
20
- exports.getInitials = getInitials;
21
20
  //# sourceMappingURL=get-initials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-initials.js","sourceRoot":"","sources":["../get-initials.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,SAAgB,WAAW,CAAC,IAAY;IACtC,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAE5B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QACpB,OAAO,KAAK;aACT,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;aACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACtB,IAAI,CAAC,EAAE,CAAC,CAAC;KACb;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1B,CAAC;AAXD,kCAWC"}
1
+ {"version":3,"file":"get-initials.js","sourceRoot":"","sources":["../get-initials.ts"],"names":[],"mappings":";;AAIA,kCAWC;AAfD;;;GAGG;AACH,SAAgB,WAAW,CAAC,IAAY;IACtC,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAE5B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrB,OAAO,KAAK;aACT,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;aACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACtB,IAAI,CAAC,EAAE,CAAC,CAAC;IACd,CAAC;IACD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1B,CAAC"}
@@ -0,0 +1,7 @@
1
+ ;
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.toolbox_string_get-initials@0.0.499/dist/get-initials.docs.md';
3
+
4
+ export const compositions = [];
5
+ export const overview = [overview_0];
6
+
7
+ export const compositions_metadata = {"compositions":[]};
package/package.json CHANGED
@@ -1,19 +1,18 @@
1
1
  {
2
2
  "name": "@teambit/toolbox.string.get-initials",
3
- "version": "0.0.497",
3
+ "version": "0.0.499",
4
4
  "homepage": "https://bit.cloud/teambit/toolbox/string/get-initials",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.toolbox",
8
8
  "name": "string/get-initials",
9
- "version": "0.0.497"
9
+ "version": "0.0.499"
10
10
  },
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
13
  "@types/mocha": "9.1.0",
14
14
  "@types/jest": "26.0.20",
15
- "@types/node": "12.20.4",
16
- "@babel/runtime": "7.20.0"
15
+ "@types/node": "22.10.5"
17
16
  },
18
17
  "peerDependencies": {},
19
18
  "license": "Apache-2.0",
@@ -1,7 +0,0 @@
1
- ;
2
- import * as overview_0 from '/Users/giladshoham/Library/Caches/Bit/capsules/root/c0abd806278b76e99983f68fca70f55b4ee41b58/teambit.toolbox_string_get-initials@0.0.497/dist/get-initials.docs.md';
3
-
4
- export const compositions = [];
5
- export const overview = [overview_0];
6
-
7
- export const compositions_metadata = {"compositions":[]};
@@ -1,32 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable"
8
- ],
9
- "target": "es2015",
10
- "module": "CommonJS",
11
- "jsx": "react",
12
- "allowJs": true,
13
- "composite": true,
14
- "declaration": true,
15
- "sourceMap": true,
16
- "skipLibCheck": true,
17
- "experimentalDecorators": true,
18
- "outDir": "dist",
19
- "moduleResolution": "node",
20
- "esModuleInterop": true,
21
- "rootDir": ".",
22
- "resolveJsonModule": true
23
- },
24
- "exclude": [
25
- "dist",
26
- "package.json"
27
- ],
28
- "include": [
29
- "**/*",
30
- "**/*.json"
31
- ]
32
- }
package/tsconfig.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable"
8
- ],
9
- "target": "es2015",
10
- "module": "CommonJS",
11
- "jsx": "react",
12
- "allowJs": true,
13
- "composite": true,
14
- "declaration": true,
15
- "sourceMap": true,
16
- "skipLibCheck": true,
17
- "experimentalDecorators": true,
18
- "outDir": "dist",
19
- "moduleResolution": "node",
20
- "esModuleInterop": true,
21
- "rootDir": ".",
22
- "resolveJsonModule": true
23
- },
24
- "exclude": [
25
- "dist",
26
- "package.json"
27
- ],
28
- "include": [
29
- "**/*",
30
- "**/*.json"
31
- ]
32
- }