Compare commits

...

6 Commits

Author SHA1 Message Date
9d189d1b59 3.0.22 2020-12-31 04:42:47 +00:00
0266afca8e fix(core): update 2020-12-31 04:42:46 +00:00
bef836fc83 3.0.21 2020-12-31 04:25:31 +00:00
2bd1741893 fix(core): update 2020-12-31 04:25:31 +00:00
bd20512b10 3.0.20 2020-12-31 04:11:34 +00:00
25d0ba8036 fix(core): update 2020-12-31 04:11:33 +00:00
3 changed files with 23 additions and 13 deletions

16
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstring",
"version": "3.0.19",
"version": "3.0.22",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -7527,12 +7527,6 @@
"dev": true,
"optional": true
},
"nanoid": {
"version": "2.1.11",
"resolved": "https://verdaccio.lossless.one/nanoid/-/nanoid-2.1.11.tgz",
"integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==",
"dev": true
},
"nanomatch": {
"version": "1.2.13",
"resolved": "https://verdaccio.lossless.one/nanomatch/-/nanomatch-1.2.13.tgz",
@ -9625,6 +9619,14 @@
"dev": true,
"requires": {
"nanoid": "^2.1.0"
},
"dependencies": {
"nanoid": {
"version": "2.1.11",
"resolved": "https://verdaccio.lossless.one/nanoid/-/nanoid-2.1.11.tgz",
"integrity": "sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==",
"dev": true
}
}
},
"signal-exit": {

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartstring",
"version": "3.0.19",
"version": "3.0.22",
"private": false,
"description": "handle strings in smart ways. TypeScript ready.",
"main": "dist_ts/index.js",

View File

@ -8,9 +8,17 @@ import * as url from 'url';
export { crypto, url };
// third party
export let jsBase64 = require('js-base64').Base64;
const jsBase64 = require('js-base64').Base64;
export let stripIndent = require('strip-indent');
export let normalizeNewline = require('normalize-newline');
export let randomatic = require('randomatic');
export let cryptoRandomString = require('crypto-random-string');
const stripIndent = require('strip-indent');
const normalizeNewline = require('normalize-newline');
const randomatic = smartenvInstance.getSafeNodeModule('randomatic');
const cryptoRandomString = smartenvInstance.getSafeNodeModule('crypto-random-string');
export {
jsBase64,
stripIndent,
normalizeNewline,
randomatic,
cryptoRandomString
}