mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 13:14:44 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
18
node_modules/lodash/_stringSize.js
generated
vendored
18
node_modules/lodash/_stringSize.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
var asciiSize = require('./_asciiSize'),
|
||||
hasUnicode = require('./_hasUnicode'),
|
||||
unicodeSize = require('./_unicodeSize');
|
||||
|
||||
/**
|
||||
* Gets the number of symbols in `string`.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string to inspect.
|
||||
* @returns {number} Returns the string size.
|
||||
*/
|
||||
function stringSize(string) {
|
||||
return hasUnicode(string)
|
||||
? unicodeSize(string)
|
||||
: asciiSize(string);
|
||||
}
|
||||
|
||||
module.exports = stringSize;
|
Loading…
Add table
Add a link
Reference in a new issue