@sqlrooms/utils 0.26.1-rc.4 → 0.26.1-rc.5
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.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* {@include ../README.md}
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export { opacifyHex } from './color';
|
|
6
|
+
export { formatCount, formatCount4, formatCountShort, shorten } from './format';
|
|
7
|
+
export { NUMBER_FORMAT, formatNumber, formatDateTime, formatDate, formatTimeOfDay, formatTimeRelative, formatTimestampForFilename, getErrorMessageForDisplay, } from './helpers';
|
|
8
8
|
export { isMacOS } from './browser';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
9
|
+
export { genRandomStr } from './random';
|
|
10
|
+
export { formatBytes, camelCaseToTitle, capitalize, truncate } from './str';
|
|
11
|
+
export { postData, downloadFile, uploadFile, type ProgressInfo } from './xhr';
|
|
12
|
+
export { splitFilePath, convertToValidColumnOrTableName, convertToUniqueColumnOrTableName, generateUniqueName, generateUniquePath, convertToUniqueS3ObjectName, convertToUniqueS3FolderPath, } from './filepaths';
|
|
13
13
|
export { safeJsonParse } from './json';
|
|
14
14
|
export { memoizeOnce } from './memoization';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAE9E,OAAO,EACL,aAAa,EACb,YAAY,EACZ,cAAc,EACd,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,YAAY,EAAC,MAAM,OAAO,CAAC;AAE5E,OAAO,EACL,aAAa,EACb,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,aAAa,EAAC,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* {@include ../README.md}
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export { opacifyHex } from './color';
|
|
6
|
+
export { formatCount, formatCount4, formatCountShort, shorten } from './format';
|
|
7
|
+
export { NUMBER_FORMAT, formatNumber, formatDateTime, formatDate, formatTimeOfDay, formatTimeRelative, formatTimestampForFilename, getErrorMessageForDisplay, } from './helpers';
|
|
8
8
|
export { isMacOS } from './browser';
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
9
|
+
export { genRandomStr } from './random';
|
|
10
|
+
export { formatBytes, camelCaseToTitle, capitalize, truncate } from './str';
|
|
11
|
+
export { postData, downloadFile, uploadFile } from './xhr';
|
|
12
|
+
export { splitFilePath, convertToValidColumnOrTableName, convertToUniqueColumnOrTableName, generateUniqueName, generateUniquePath, convertToUniqueS3ObjectName, convertToUniqueS3FolderPath, } from './filepaths';
|
|
13
13
|
export { safeJsonParse } from './json';
|
|
14
14
|
export { memoizeOnce } from './memoization';
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAC,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,OAAO,EAAC,MAAM,UAAU,CAAC;AAE9E,OAAO,EACL,aAAa,EACb,YAAY,EACZ,cAAc,EACd,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAElC,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAC,WAAW,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAC,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAoB,MAAM,OAAO,CAAC;AAE5E,OAAO,EACL,aAAa,EACb,+BAA+B,EAC/B,gCAAgC,EAChC,kBAAkB,EAClB,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,aAAa,EAAC,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC","sourcesContent":["/**\n * {@include ../README.md}\n * @packageDocumentation\n */\n\nexport {opacifyHex} from './color';\n\nexport {formatCount, formatCount4, formatCountShort, shorten} from './format';\n\nexport {\n NUMBER_FORMAT,\n formatNumber,\n formatDateTime,\n formatDate,\n formatTimeOfDay,\n formatTimeRelative,\n formatTimestampForFilename,\n getErrorMessageForDisplay,\n} from './helpers';\n\nexport {isMacOS} from './browser';\n\nexport {genRandomStr} from './random';\n\nexport {formatBytes, camelCaseToTitle, capitalize, truncate} from './str';\n\nexport {postData, downloadFile, uploadFile, type ProgressInfo} from './xhr';\n\nexport {\n splitFilePath,\n convertToValidColumnOrTableName,\n convertToUniqueColumnOrTableName,\n generateUniqueName,\n generateUniquePath,\n convertToUniqueS3ObjectName,\n convertToUniqueS3FolderPath,\n} from './filepaths';\n\nexport {safeJsonParse} from './json';\nexport {memoizeOnce} from './memoization';\n"]}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlrooms/utils",
|
|
3
|
-
"version": "0.26.1-rc.
|
|
3
|
+
"version": "0.26.1-rc.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
8
9
|
"author": "Ilya Boyandin <ilya@boyandin.me>",
|
|
9
10
|
"license": "MIT",
|
|
10
11
|
"repository": {
|
|
@@ -42,5 +43,5 @@
|
|
|
42
43
|
"react": ">=18",
|
|
43
44
|
"react-dom": ">=18"
|
|
44
45
|
},
|
|
45
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1df21f4729c5deb96f7af790cff7c189c6885074"
|
|
46
47
|
}
|