add create module
This commit is contained in:
parent
83279a9c19
commit
099bf9b270
3
dist/index.d.ts
vendored
3
dist/index.d.ts
vendored
@ -1,8 +1,9 @@
|
|||||||
|
import * as create from './smartstring.create';
|
||||||
import * as docker from './smartstring.docker';
|
import * as docker from './smartstring.docker';
|
||||||
import * as indent from './smartstring.indent';
|
import * as indent from './smartstring.indent';
|
||||||
import * as normalize from './smartstring.normalize';
|
import * as normalize from './smartstring.normalize';
|
||||||
import * as typescript from './smartstring.typescript';
|
import * as typescript from './smartstring.typescript';
|
||||||
export { docker, typescript, normalize, indent };
|
export { create, docker, typescript, normalize, indent };
|
||||||
export { Base64, base64 } from './smartstring.base64';
|
export { Base64, base64 } from './smartstring.base64';
|
||||||
export { Domain } from './smartstring.domain';
|
export { Domain } from './smartstring.domain';
|
||||||
export { GitRepo } from './smartstring.git';
|
export { GitRepo } from './smartstring.git';
|
||||||
|
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -1,5 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const create = require("./smartstring.create");
|
||||||
|
exports.create = create;
|
||||||
const docker = require("./smartstring.docker");
|
const docker = require("./smartstring.docker");
|
||||||
exports.docker = docker;
|
exports.docker = docker;
|
||||||
const indent = require("./smartstring.indent");
|
const indent = require("./smartstring.indent");
|
||||||
@ -15,4 +17,4 @@ var smartstring_domain_1 = require("./smartstring.domain");
|
|||||||
exports.Domain = smartstring_domain_1.Domain;
|
exports.Domain = smartstring_domain_1.Domain;
|
||||||
var smartstring_git_1 = require("./smartstring.git");
|
var smartstring_git_1 = require("./smartstring.git");
|
||||||
exports.GitRepo = smartstring_git_1.GitRepo;
|
exports.GitRepo = smartstring_git_1.GitRepo;
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtDQUE4QztBQU01Qyx3QkFBTTtBQUxSLCtDQUE4QztBQVE1Qyx3QkFBTTtBQVBSLHFEQUFvRDtBQU1sRCw4QkFBUztBQUxYLHVEQUFzRDtBQUlwRCxnQ0FBVTtBQUtaLDJEQUFxRDtBQUE1QyxzQ0FBQSxNQUFNLENBQUE7QUFBRSxzQ0FBQSxNQUFNLENBQUE7QUFDdkIsMkRBQTZDO0FBQXBDLHNDQUFBLE1BQU0sQ0FBQTtBQUNmLHFEQUEyQztBQUFsQyxvQ0FBQSxPQUFPLENBQUEifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtDQUE4QztBQU81Qyx3QkFBTTtBQU5SLCtDQUE4QztBQU81Qyx3QkFBTTtBQU5SLCtDQUE4QztBQVM1Qyx3QkFBTTtBQVJSLHFEQUFvRDtBQU9sRCw4QkFBUztBQU5YLHVEQUFzRDtBQUtwRCxnQ0FBVTtBQUtaLDJEQUFxRDtBQUE1QyxzQ0FBQSxNQUFNLENBQUE7QUFBRSxzQ0FBQSxNQUFNLENBQUE7QUFDdkIsMkRBQTZDO0FBQXBDLHNDQUFBLE1BQU0sQ0FBQTtBQUNmLHFEQUEyQztBQUFsQyxvQ0FBQSxPQUFPLENBQUEifQ==
|
2
dist/smartstring.base64.js
vendored
2
dist/smartstring.base64.js
vendored
@ -57,4 +57,4 @@ exports.base64 = {
|
|||||||
return plugins.jsBase64.decode(stringArg);
|
return plugins.jsBase64.decode(stringArg);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRz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
dist/smartstring.create.d.ts
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
export declare let createRandomString: (patternArg: string, lengthArg: number, optionsArg: any) => string;
|
||||||
|
export declare let createCryptoRandomString: (lengthArg: any) => string;
|
10
dist/smartstring.create.js
vendored
Normal file
10
dist/smartstring.create.js
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
const plugins = require("./smartstring.plugins");
|
||||||
|
exports.createRandomString = (patternArg, lengthArg, optionsArg) => {
|
||||||
|
return plugins.randomatic(patternArg, lengthArg, optionsArg);
|
||||||
|
};
|
||||||
|
exports.createCryptoRandomString = (lengthArg) => {
|
||||||
|
return plugins.cryptoRandomString(lengthArg);
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzdHJpbmcuY3JlYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvc21hcnRzdHJpbmcuY3JlYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsaURBQWdEO0FBRXJDLFFBQUEsa0JBQWtCLEdBQUcsQ0FDOUIsVUFBa0IsRUFDbEIsU0FBaUIsRUFDakIsVUFBZSxFQUNQLEVBQUU7SUFDVixNQUFNLENBQUMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxVQUFVLEVBQUUsU0FBUyxFQUFFLFVBQVUsQ0FBQyxDQUFBO0FBQzlELENBQUMsQ0FBQTtBQUVVLFFBQUEsd0JBQXdCLEdBQUcsQ0FBQyxTQUFTLEVBQVUsRUFBRTtJQUMxRCxNQUFNLENBQUMsT0FBTyxDQUFDLGtCQUFrQixDQUFDLFNBQVMsQ0FBQyxDQUFBO0FBQzlDLENBQUMsQ0FBQSJ9
|
2
dist/smartstring.domain.js
vendored
2
dist/smartstring.domain.js
vendored
@ -50,4 +50,4 @@ let protocolRegex = function (stringArg) {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzdHJpbmcuZG9tYWluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvc21hcnRzdHJpbmcuZG9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUE7SUFhRSxZQUFZLGVBQXVCO1FBQ2pDLElBQUksWUFBWSxHQUFHLFdBQVcsQ0FBQyxlQUFlLENBQUMsQ0FBQztRQUNoRCxJQUFJLENBQUMsUUFBUSxHQUFHLEVBQUUsQ0FBQTtRQUNsQixHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1lBQzVCLEVBQUUsQ0FBQyxDQUFDLFlBQVksQ0FBRSxDQUFDLEdBQUcsQ0FBQyxDQUFFLENBQUMsQ0FBQyxDQUFDO2dCQUMxQixJQUFJLFVBQVUsR0FBRyxZQUFZLENBQUUsQ0FBQyxHQUFHLENBQUMsQ0FBRSxDQUFBO2dCQUN0QyxJQUFJLENBQUUsT0FBTyxHQUFHLENBQUMsQ0FBQyxRQUFRLEVBQUUsQ0FBRSxHQUFHLFVBQVUsQ0FBQTtnQkFDM0MsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUFDO29CQUN6QixJQUFJLENBQUMsUUFBUSxHQUFHLFVBQVUsQ0FBQTtnQkFDNUIsQ0FBQztnQkFBQyxJQUFJLENBQUMsQ0FBQztvQkFDTixJQUFJLENBQUMsUUFBUSxHQUFHLFVBQVUsR0FBRyxHQUFHLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQTtnQkFDbEQ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0ksQ0FBQTtJQUNsSixJQUFJLFlBQVksR0FBRyxXQUFXLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFBO0lBQzlDLFlBQVksQ0FBQyxPQUFPLEVBQUUsQ0FBQSxDQUFDLDJFQUEyRTtJQUNsRyxZQUFZLENBQUMsR0FBRyxFQUFFLENBQUEsQ0FBQyxtR0FBbUc7SUFDdEgsSUFBSSxvQkFBb0IsR0FBRyxZQUFZLENBQUMsTUFBTSxDQUFDLFVBQVUsU0FBaUI7UUFDeEUsTUFBTSxDQUFDLENBQUMsU0FBUyxLQUFLLEVBQUUsQ0FBQyxDQUFBO0lBQzNCLENBQUMsQ0FBQyxDQUFDO0lBQ0gsTUFBTSxDQUFDLG9CQUFvQixDQUFBO0FBQzdCLENBQUMsQ0FBQztBQUVGLElBQUksYUFBYSxHQUFHLFVBQVUsU0FBaUI7SUFDN0MsSUFBSSxXQUFXLEdBQUcsc0JBQXNCLENBQUE7SUFDeEMsSUFBSSxZQUFZLEdBQUcsV0FBVyxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQTtJQUM5QyxFQUFFLENBQUMsQ0FBQyxZQUFZLENBQUMsQ0FBQyxDQUFDO1FBQ2pCLE1BQU0sQ0FBQyxZQUFZLENBQUUsQ0FBQyxDQUFFLENBQUE7SUFDMUIsQ0FBQztJQUFDLElBQUksQ0FBQyxDQUFDO1FBQ04sTUFBTSxDQUFDLFNBQVMsQ0FBQTtJQUNsQixDQUFDO0FBQ0gsQ0FBQyxDQUFBIn0=
|
2
dist/smartstring.indent.js
vendored
2
dist/smartstring.indent.js
vendored
@ -82,4 +82,4 @@ exports.normalize = (stringArg) => {
|
|||||||
resultString = joinStringWithLineBreaks(resultSplitStringArray);
|
resultString = joinStringWithLineBreaks(resultSplitStringArray);
|
||||||
return resultString;
|
return resultString;
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR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sSUFBSSxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUMsbUJBQW1CLENBQUMsQ0FBQyxDQUFBO0lBQ3JFLENBQUM7SUFDRCxZQUFZLEdBQUcsd0JBQXdCLENBQUMsc0JBQXNCLENBQUMsQ0FBQTtJQUMvRCxNQUFNLENBQUMsWUFBWSxDQUFBO0FBQ3JCLENBQUMsQ0FBQSJ9
|
2
dist/smartstring.normalize.js
vendored
2
dist/smartstring.normalize.js
vendored
@ -20,4 +20,4 @@ exports.standard = (stringArg) => {
|
|||||||
let fix3 = exports.replaceAll(fix2, /\t/, ' '); // fix tabs
|
let fix3 = exports.replaceAll(fix2, /\t/, ' '); // fix tabs
|
||||||
return fix3;
|
return fix3;
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzdHJpbmcubm9ybWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvc21hcnRzdHJpbmcubm9ybWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsaURBQWdEO0FBRWhEOzs7OztHQUtHO0FBQ1EsUUFBQSxVQUFVLEdBQUcsQ0FBQyxTQUFpQixFQUFFLFlBQWlCLEVBQUUsaUJBQXlCO0lBQ3RGLE1BQU0sQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLElBQUksTUFBTSxDQUFDLFlBQVksRUFBRSxHQUFHLENBQUMsRUFBRSxpQkFBaUIsQ0FBQyxDQUFBO0FBQzVFLENBQUMsQ0FBQTtBQUVEOzs7R0FHRztBQUNRLFFBQUEsUUFBUSxHQUFHLENBQUMsU0FBaUI7SUFDdEMsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLFdBQVcsQ0FBQyxTQUFTLENBQUMsQ0FBQSxDQUFDLGdCQUFnQjtJQUMxRCxJQUFJLElBQUksR0FBRyxPQUFPLENBQUMsZ0JBQWdCLEN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xDQUFBO0FBQ2IsQ0FBQyxDQUFBIn0=
|
2
dist/smartstring.plugins.d.ts
vendored
2
dist/smartstring.plugins.d.ts
vendored
@ -2,3 +2,5 @@ import 'typings-global';
|
|||||||
export declare let jsBase64: any;
|
export declare let jsBase64: any;
|
||||||
export declare let stripIndent: any;
|
export declare let stripIndent: any;
|
||||||
export declare let normalizeNewline: any;
|
export declare let normalizeNewline: any;
|
||||||
|
export declare let randomatic: any;
|
||||||
|
export declare let cryptoRandomString: any;
|
||||||
|
4
dist/smartstring.plugins.js
vendored
4
dist/smartstring.plugins.js
vendored
@ -4,4 +4,6 @@ require("typings-global");
|
|||||||
exports.jsBase64 = require('js-base64').Base64;
|
exports.jsBase64 = require('js-base64').Base64;
|
||||||
exports.stripIndent = require('strip-indent');
|
exports.stripIndent = require('strip-indent');
|
||||||
exports.normalizeNewline = require('normalize-newline');
|
exports.normalizeNewline = require('normalize-newline');
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzdHJpbmcucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0c3RyaW5nLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFDWixRQUFBLFFBQVEsR0FBRyxPQUFPLENBQUMsV0FBVyxDQUFDLENBQUMsTUFBTSxDQUFBO0FBRXRDLFFBQUEsV0FBVyxHQUFHLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQTtBQUNyQyxRQUFBLGdCQUFnQixHQUFHLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFBIn0=
|
exports.randomatic = require('randomatic');
|
||||||
|
exports.cryptoRandomString = require('crypto-random-string');
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzdHJpbmcucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3NtYXJ0c3RyaW5nLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFDWixRQUFBLFFBQVEsR0FBRyxPQUFPLENBQUMsV0FBVyxDQUFDLENBQUMsTUFBTSxDQUFBO0FBRXRDLFFBQUEsV0FBVyxHQUFHLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQTtBQUNyQyxRQUFBLGdCQUFnQixHQUFHLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFBO0FBQy9DLFFBQUEsVUFBVSxHQUFHLE9BQU8sQ0FBQyxZQUFZLENBQUMsQ0FBQTtBQUNsQyxRQUFBLGtCQUFrQixHQUFHLE9BQU8sQ0FBQyxzQkFBc0IsQ0FBQyxDQUFBIn0=
|
@ -26,8 +26,10 @@
|
|||||||
"tapbundle": "^1.1.1"
|
"tapbundle": "^1.1.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"crypto-random-string": "^1.0.0",
|
||||||
"js-base64": "^2.3.2",
|
"js-base64": "^2.3.2",
|
||||||
"normalize-newline": "^3.0.0",
|
"normalize-newline": "^3.0.0",
|
||||||
|
"randomatic": "^1.1.7",
|
||||||
"strip-indent": "^2.0.0",
|
"strip-indent": "^2.0.0",
|
||||||
"typings-global": "^1.0.20"
|
"typings-global": "^1.0.20"
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
import * as create from './smartstring.create'
|
||||||
import * as docker from './smartstring.docker'
|
import * as docker from './smartstring.docker'
|
||||||
import * as indent from './smartstring.indent'
|
import * as indent from './smartstring.indent'
|
||||||
import * as normalize from './smartstring.normalize'
|
import * as normalize from './smartstring.normalize'
|
||||||
import * as typescript from './smartstring.typescript'
|
import * as typescript from './smartstring.typescript'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
create,
|
||||||
docker,
|
docker,
|
||||||
typescript,
|
typescript,
|
||||||
normalize,
|
normalize,
|
||||||
|
13
ts/smartstring.create.ts
Normal file
13
ts/smartstring.create.ts
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import * as plugins from './smartstring.plugins'
|
||||||
|
|
||||||
|
export let createRandomString = (
|
||||||
|
patternArg: string,
|
||||||
|
lengthArg: number,
|
||||||
|
optionsArg: any
|
||||||
|
): string => {
|
||||||
|
return plugins.randomatic(patternArg, lengthArg, optionsArg)
|
||||||
|
}
|
||||||
|
|
||||||
|
export let createCryptoRandomString = (lengthArg): string => {
|
||||||
|
return plugins.cryptoRandomString(lengthArg)
|
||||||
|
}
|
@ -3,3 +3,5 @@ export let jsBase64 = require('js-base64').Base64
|
|||||||
|
|
||||||
export let stripIndent = require('strip-indent')
|
export let stripIndent = require('strip-indent')
|
||||||
export let normalizeNewline = require('normalize-newline')
|
export let normalizeNewline = require('normalize-newline')
|
||||||
|
export let randomatic = require('randomatic')
|
||||||
|
export let cryptoRandomString = require('crypto-random-string')
|
||||||
|
33
yarn.lock
33
yarn.lock
@ -154,6 +154,10 @@ concat-map@0.0.1:
|
|||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
|
|
||||||
|
crypto-random-string@^1.0.0:
|
||||||
|
version "1.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
|
||||||
|
|
||||||
deep-eql@^0.1.3:
|
deep-eql@^0.1.3:
|
||||||
version "0.1.3"
|
version "0.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2"
|
resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2"
|
||||||
@ -255,6 +259,10 @@ interpret@^1.0.0:
|
|||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.4.tgz#820cdd588b868ffb191a809506d6c9c8f212b1b0"
|
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.4.tgz#820cdd588b868ffb191a809506d6c9c8f212b1b0"
|
||||||
|
|
||||||
|
is-buffer@^1.1.5:
|
||||||
|
version "1.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc"
|
||||||
|
|
||||||
is-callable@^1.1.1, is-callable@^1.1.3:
|
is-callable@^1.1.1, is-callable@^1.1.3:
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
|
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
|
||||||
@ -263,6 +271,12 @@ is-date-object@^1.0.1:
|
|||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
|
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
|
||||||
|
|
||||||
|
is-number@^3.0.0:
|
||||||
|
version "3.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
|
||||||
|
dependencies:
|
||||||
|
kind-of "^3.0.2"
|
||||||
|
|
||||||
is-regex@^1.0.4:
|
is-regex@^1.0.4:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
|
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
|
||||||
@ -281,6 +295,18 @@ js-base64@^2.3.2:
|
|||||||
version "2.3.2"
|
version "2.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.3.2.tgz#a79a923666372b580f8e27f51845c6f7e8fbfbaf"
|
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.3.2.tgz#a79a923666372b580f8e27f51845c6f7e8fbfbaf"
|
||||||
|
|
||||||
|
kind-of@^3.0.2:
|
||||||
|
version "3.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
|
||||||
|
dependencies:
|
||||||
|
is-buffer "^1.1.5"
|
||||||
|
|
||||||
|
kind-of@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57"
|
||||||
|
dependencies:
|
||||||
|
is-buffer "^1.1.5"
|
||||||
|
|
||||||
leakage@^0.3.0:
|
leakage@^0.3.0:
|
||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39"
|
resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39"
|
||||||
@ -378,6 +404,13 @@ pretty-bytes@^4.0.2:
|
|||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
||||||
|
|
||||||
|
randomatic@^1.1.7:
|
||||||
|
version "1.1.7"
|
||||||
|
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c"
|
||||||
|
dependencies:
|
||||||
|
is-number "^3.0.0"
|
||||||
|
kind-of "^4.0.0"
|
||||||
|
|
||||||
rechoir@^0.6.2:
|
rechoir@^0.6.2:
|
||||||
version "0.6.2"
|
version "0.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
|
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
|
||||||
|
Loading…
Reference in New Issue
Block a user