@teambit/toolbox.string.strip-trailing-char 0.0.497 → 0.0.498
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.stripTrailingChar =
|
|
3
|
+
exports.stripTrailingChar = stripTrailingChar;
|
|
4
4
|
/**
|
|
5
5
|
* strip a trailing from a string.
|
|
6
6
|
* @param str string to apply on.
|
|
@@ -15,5 +15,4 @@ function stripTrailingChar(str, char) {
|
|
|
15
15
|
}
|
|
16
16
|
return str;
|
|
17
17
|
}
|
|
18
|
-
exports.stripTrailingChar = stripTrailingChar;
|
|
19
18
|
//# sourceMappingURL=strip-trailing-char.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strip-trailing-char.js","sourceRoot":"","sources":["../strip-trailing-char.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"strip-trailing-char.js","sourceRoot":"","sources":["../strip-trailing-char.ts"],"names":[],"mappings":";;AAKA,8CAQC;AAbD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,GAAW,EAAE,IAAY;IACzD,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,OAAO,GAAG,CAAC;IACb,CAAC;IACD,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QACjC,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/toolbox.string.strip-trailing-char",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.498",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/toolbox/string/strip-trailing-char",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.toolbox",
|
|
8
8
|
"name": "string/strip-trailing-char",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.498"
|
|
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": "
|
|
16
|
-
"@babel/runtime": "7.20.0"
|
|
15
|
+
"@types/node": "22.10.5"
|
|
17
16
|
},
|
|
18
17
|
"peerDependencies": {},
|
|
19
18
|
"license": "Apache-2.0",
|
|
File without changes
|