@naturalcycles/nodejs-lib 15.1.0 → 15.3.0
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/bin/slack-this.js +1 -1
- package/dist/{util → cache}/lruMemoCache.d.ts +1 -1
- package/dist/csv/csvReader.d.ts +1 -1
- package/dist/csv/csvReader.js +1 -1
- package/dist/csv/csvWriter.d.ts +1 -1
- package/dist/csv/csvWriter.js +1 -1
- package/dist/csv/transformToCSV.d.ts +1 -1
- package/dist/diff/tableDiff.d.ts +1 -1
- package/dist/diff/tableDiff.js +1 -1
- package/dist/{util/exec2.d.ts → exec2.d.ts} +2 -2
- package/dist/{util/exec2.js → exec2.js} +4 -3
- package/dist/fs/fs2.d.ts +0 -10
- package/dist/fs/fs2.js +1 -85
- package/dist/fs/json2env.d.ts +1 -1
- package/dist/fs/kpy.js +1 -1
- package/dist/fs/yaml2.d.ts +11 -0
- package/dist/fs/yaml2.js +29 -0
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -4
- package/dist/jwt/jwt.service.d.ts +2 -1
- package/dist/jwt/jwt.service.js +1 -1
- package/dist/log/log.util.d.ts +1 -1
- package/dist/log/log.util.js +1 -1
- package/dist/script/runScript.d.ts +1 -2
- package/dist/script/runScript.js +6 -5
- package/dist/secret/secrets-decrypt.util.js +1 -1
- package/dist/secret/secrets-encrypt.util.js +1 -1
- package/dist/security/crypto.util.d.ts +1 -1
- package/dist/security/crypto.util.js +1 -1
- package/dist/security/hash.util.d.ts +1 -1
- package/dist/security/secret.util.d.ts +1 -1
- package/dist/security/secret.util.js +2 -1
- package/dist/slack/slack.service.d.ts +2 -1
- package/dist/slack/slack.service.js +5 -1
- package/dist/slack/slack.service.model.d.ts +2 -1
- package/dist/stream/index.d.ts +2 -0
- package/dist/stream/index.js +2 -0
- package/dist/stream/ndjson/createReadStreamAsNDJSON.d.ts +19 -0
- package/dist/stream/ndjson/createReadStreamAsNDJSON.js +38 -0
- package/dist/stream/ndjson/createWriteStreamAsNDJSON.d.ts +11 -0
- package/dist/stream/ndjson/createWriteStreamAsNDJSON.js +27 -0
- package/dist/stream/ndjson/ndjson.model.js +2 -1
- package/dist/stream/ndjson/ndjsonMap.d.ts +2 -2
- package/dist/stream/ndjson/ndjsonMap.js +4 -6
- package/dist/stream/ndjson/ndjsonStreamForEach.d.ts +2 -2
- package/dist/stream/ndjson/ndjsonStreamForEach.js +3 -3
- package/dist/stream/ndjson/transformJsonParse.d.ts +1 -1
- package/dist/stream/ndjson/transformToNDJson.js +1 -1
- package/dist/stream/pipeline/pipeline.d.ts +1 -1
- package/dist/stream/pipeline/pipeline.js +2 -1
- package/dist/stream/progressLogger.d.ts +2 -1
- package/dist/stream/progressLogger.js +3 -1
- package/dist/stream/readable/readableForEach.d.ts +1 -1
- package/dist/stream/readable/readableForEach.js +1 -1
- package/dist/stream/readable/readableFromArray.d.ts +1 -1
- package/dist/stream/readable/readableFromArray.js +1 -1
- package/dist/stream/sizeStack.d.ts +2 -2
- package/dist/stream/sizeStack.js +3 -2
- package/dist/stream/stream.model.d.ts +1 -1
- package/dist/stream/stream.util.d.ts +1 -1
- package/dist/stream/transform/transformFilter.d.ts +1 -1
- package/dist/stream/transform/transformLimit.d.ts +1 -1
- package/dist/stream/transform/transformMap.d.ts +3 -2
- package/dist/stream/transform/transformMap.js +6 -1
- package/dist/stream/transform/transformMapSimple.d.ts +3 -2
- package/dist/stream/transform/transformMapSimple.js +1 -1
- package/dist/stream/transform/transformMapSync.d.ts +4 -2
- package/dist/stream/transform/transformMapSync.js +2 -1
- package/dist/stream/transform/transformTap.d.ts +2 -1
- package/dist/stream/transform/transformThrottle.d.ts +1 -1
- package/dist/stream/transform/transformThrottle.js +2 -1
- package/dist/stream/transform/worker/transformMultiThreaded.d.ts +1 -1
- package/dist/stream/transform/worker/transformMultiThreaded.js +2 -1
- package/dist/stream/writable/writableForEach.d.ts +1 -1
- package/dist/stream/writable/writableForEach.js +1 -1
- package/dist/stream/writable/writableVoid.d.ts +1 -1
- package/dist/string/inspect.d.ts +1 -1
- package/dist/string/inspect.js +1 -1
- package/dist/util/buildInfo.util.d.ts +2 -1
- package/dist/util/buildInfo.util.js +2 -1
- package/dist/util/env.util.d.ts +1 -2
- package/dist/util/env.util.js +0 -1
- package/dist/util/git2.d.ts +1 -1
- package/dist/util/git2.js +2 -3
- package/dist/validation/ajv/ajv.util.d.ts +1 -1
- package/dist/validation/ajv/ajvSchema.d.ts +1 -1
- package/dist/validation/ajv/ajvSchema.js +4 -1
- package/dist/validation/ajv/ajvValidationError.d.ts +2 -2
- package/dist/validation/ajv/ajvValidationError.js +1 -1
- package/dist/validation/joi/joi.shared.schemas.d.ts +2 -2
- package/dist/validation/joi/joi.validation.error.d.ts +2 -2
- package/dist/validation/joi/joi.validation.error.js +1 -1
- package/dist/validation/joi/joi.validation.util.js +2 -1
- package/dist/validation/joi/string.extensions.d.ts +1 -1
- package/dist/validation/joi/string.extensions.js +1 -1
- package/dist/{util → zip}/zip.util.js +0 -1
- package/package.json +12 -5
- package/src/bin/generate-build-info.ts +1 -1
- package/src/bin/slack-this.ts +1 -1
- package/src/{util → cache}/lruMemoCache.ts +1 -1
- package/src/csv/csvReader.ts +2 -2
- package/src/csv/csvWriter.ts +2 -2
- package/src/csv/transformToCSV.ts +1 -1
- package/src/diff/tableDiff.ts +2 -2
- package/src/{util/exec2.ts → exec2.ts} +9 -8
- package/src/fs/fs2.ts +1 -101
- package/src/fs/json2env.ts +1 -1
- package/src/fs/kpy.ts +2 -2
- package/src/fs/yaml2.ts +37 -0
- package/src/index.ts +0 -4
- package/src/jwt/jwt.service.ts +3 -2
- package/src/log/log.util.ts +1 -1
- package/src/script/runScript.ts +10 -6
- package/src/secret/secrets-decrypt.util.ts +1 -1
- package/src/secret/secrets-encrypt.util.ts +1 -1
- package/src/security/crypto.util.ts +1 -2
- package/src/security/hash.util.ts +1 -1
- package/src/security/secret.util.ts +3 -2
- package/src/slack/slack.service.model.ts +2 -1
- package/src/slack/slack.service.ts +10 -2
- package/src/stream/index.ts +2 -0
- package/src/stream/ndjson/createReadStreamAsNDJSON.ts +46 -0
- package/src/stream/ndjson/createWriteStreamAsNDJSON.ts +30 -0
- package/src/stream/ndjson/ndjson.model.ts +2 -1
- package/src/stream/ndjson/ndjsonMap.ts +12 -8
- package/src/stream/ndjson/ndjsonStreamForEach.ts +8 -5
- package/src/stream/ndjson/transformJsonParse.ts +1 -1
- package/src/stream/ndjson/transformToNDJson.ts +1 -1
- package/src/stream/pipeline/pipeline.ts +4 -2
- package/src/stream/progressLogger.ts +5 -2
- package/src/stream/readable/readableForEach.ts +2 -2
- package/src/stream/readable/readableFromArray.ts +2 -2
- package/src/stream/sizeStack.ts +4 -3
- package/src/stream/stream.model.ts +1 -1
- package/src/stream/stream.util.ts +1 -1
- package/src/stream/transform/transformFilter.ts +1 -1
- package/src/stream/transform/transformLimit.ts +1 -1
- package/src/stream/transform/transformMap.ts +12 -15
- package/src/stream/transform/transformMapSimple.ts +3 -2
- package/src/stream/transform/transformMapSync.ts +4 -7
- package/src/stream/transform/transformTap.ts +2 -1
- package/src/stream/transform/transformThrottle.ts +4 -3
- package/src/stream/transform/worker/transformMultiThreaded.ts +4 -2
- package/src/stream/writable/writableForEach.ts +2 -2
- package/src/stream/writable/writableVoid.ts +1 -1
- package/src/string/inspect.ts +2 -2
- package/src/util/buildInfo.util.ts +4 -2
- package/src/util/env.util.ts +1 -2
- package/src/util/git2.ts +3 -4
- package/src/validation/ajv/ajv.util.ts +1 -1
- package/src/validation/ajv/ajvSchema.ts +5 -7
- package/src/validation/ajv/ajvValidationError.ts +2 -2
- package/src/validation/joi/joi.shared.schemas.ts +7 -7
- package/src/validation/joi/joi.validation.error.ts +2 -2
- package/src/validation/joi/joi.validation.util.ts +2 -1
- package/src/validation/joi/string.extensions.ts +2 -2
- package/src/{util → zip}/zip.util.ts +0 -2
- package/dist/fs/index.d.ts +0 -3
- package/dist/fs/index.js +0 -3
- package/dist/jwt/index.d.ts +0 -1
- package/dist/jwt/index.js +0 -1
- package/dist/yargs/index.d.ts +0 -1
- package/dist/yargs/index.js +0 -1
- package/src/fs/index.ts +0 -3
- package/src/jwt/index.ts +0 -1
- package/src/yargs/index.ts +0 -1
- /package/dist/{util → cache}/lruMemoCache.js +0 -0
- /package/dist/{util → zip}/zip.util.d.ts +0 -0
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
UnixTimestampMillis,
|
|
8
|
-
} from '@naturalcycles/js-lib'
|
|
1
|
+
import { _hc } from '@naturalcycles/js-lib'
|
|
2
|
+
import { _since } from '@naturalcycles/js-lib/datetime'
|
|
3
|
+
import { _anyToError, ErrorMode } from '@naturalcycles/js-lib/error'
|
|
4
|
+
import type { CommonLogger } from '@naturalcycles/js-lib/log'
|
|
5
|
+
import { pFilter } from '@naturalcycles/js-lib/promise'
|
|
6
|
+
import { _stringify } from '@naturalcycles/js-lib/string'
|
|
9
7
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_since,
|
|
13
|
-
_stringify,
|
|
8
|
+
type AbortableAsyncMapper,
|
|
9
|
+
type AsyncPredicate,
|
|
14
10
|
END,
|
|
15
|
-
|
|
16
|
-
pFilter,
|
|
11
|
+
type Promisable,
|
|
17
12
|
SKIP,
|
|
18
|
-
|
|
13
|
+
type StringMap,
|
|
14
|
+
type UnixTimestampMillis,
|
|
15
|
+
} from '@naturalcycles/js-lib/types'
|
|
19
16
|
import through2Concurrent from 'through2-concurrent'
|
|
20
17
|
import { yellow } from '../../colors/colors.js'
|
|
21
18
|
import type { AbortableTransform } from '../pipeline/pipeline.js'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Transform } from 'node:stream'
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { ErrorMode } from '@naturalcycles/js-lib/error'
|
|
3
|
+
import type { CommonLogger } from '@naturalcycles/js-lib/log'
|
|
4
|
+
import type { IndexedMapper } from '@naturalcycles/js-lib/types'
|
|
4
5
|
import type { TransformTyped } from '../stream.model.js'
|
|
5
6
|
|
|
6
7
|
export interface TransformMapSimpleOptions {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
UnixTimestampMillis,
|
|
6
|
-
} from '@naturalcycles/js-lib'
|
|
7
|
-
import { _anyToError, END, ErrorMode, SKIP } from '@naturalcycles/js-lib'
|
|
1
|
+
import { _anyToError, ErrorMode } from '@naturalcycles/js-lib/error'
|
|
2
|
+
import type { CommonLogger } from '@naturalcycles/js-lib/log'
|
|
3
|
+
import type { IndexedMapper, Predicate, UnixTimestampMillis } from '@naturalcycles/js-lib/types'
|
|
4
|
+
import { END, SKIP } from '@naturalcycles/js-lib/types'
|
|
8
5
|
import { yellow } from '../../colors/colors.js'
|
|
9
6
|
import { AbortableTransform } from '../pipeline/pipeline.js'
|
|
10
7
|
import type { TransformTyped } from '../stream.model.js'
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Transform } from 'node:stream'
|
|
2
|
-
import type {
|
|
2
|
+
import type { CommonLogger } from '@naturalcycles/js-lib/log'
|
|
3
|
+
import type { AsyncIndexedMapper } from '@naturalcycles/js-lib/types'
|
|
3
4
|
import type { TransformOptions, TransformTyped } from '../stream.model.js'
|
|
4
5
|
|
|
5
6
|
export interface TransformTapOptions extends TransformOptions {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Transform } from 'node:stream'
|
|
2
|
+
import { _ms, _since, localTime } from '@naturalcycles/js-lib/datetime'
|
|
3
|
+
import type { DeferredPromise } from '@naturalcycles/js-lib/promise'
|
|
4
|
+
import { pDefer } from '@naturalcycles/js-lib/promise'
|
|
2
5
|
import type {
|
|
3
|
-
DeferredPromise,
|
|
4
6
|
NumberOfSeconds,
|
|
5
7
|
PositiveInteger,
|
|
6
8
|
UnixTimestampMillis,
|
|
7
|
-
} from '@naturalcycles/js-lib'
|
|
8
|
-
import { _ms, _since, localTime, pDefer } from '@naturalcycles/js-lib'
|
|
9
|
+
} from '@naturalcycles/js-lib/types'
|
|
9
10
|
import type { TransformTyped } from '../stream.model.js'
|
|
10
11
|
|
|
11
12
|
export interface TransformThrottleOptions {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Worker } from 'node:worker_threads'
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { _range } from '@naturalcycles/js-lib'
|
|
3
|
+
import type { DeferredPromise } from '@naturalcycles/js-lib/promise'
|
|
4
|
+
import { pDefer } from '@naturalcycles/js-lib/promise'
|
|
5
|
+
import type { AnyObject } from '@naturalcycles/js-lib/types'
|
|
4
6
|
import through2Concurrent from 'through2-concurrent'
|
|
5
7
|
import type { TransformTyped } from '../../stream.model.js'
|
|
6
8
|
import type { WorkerInput, WorkerOutput } from './transformMultiThreaded.model.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AsyncIndexedMapper, IndexedMapper } from '@naturalcycles/js-lib'
|
|
2
|
-
import { _passNothingPredicate } from '@naturalcycles/js-lib'
|
|
1
|
+
import type { AsyncIndexedMapper, IndexedMapper } from '@naturalcycles/js-lib/types'
|
|
2
|
+
import { _passNothingPredicate } from '@naturalcycles/js-lib/types'
|
|
3
3
|
import type { TransformMapOptions } from '../index.js'
|
|
4
4
|
import { transformMap, transformMapSync } from '../index.js'
|
|
5
5
|
import type { WritableTyped } from '../stream.model.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Writable } from 'node:stream'
|
|
2
|
-
import type { DeferredPromise } from '@naturalcycles/js-lib'
|
|
2
|
+
import type { DeferredPromise } from '@naturalcycles/js-lib/promise'
|
|
3
3
|
import type { TransformOptions } from '../stream.model.js'
|
|
4
4
|
|
|
5
5
|
export interface WritableVoidOptions extends TransformOptions {
|
package/src/string/inspect.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InspectOptions } from 'node:util'
|
|
2
2
|
import { inspect } from 'node:util'
|
|
3
|
-
import type { JsonStringifyFunction, StringifyOptions } from '@naturalcycles/js-lib'
|
|
4
|
-
import { _stringify } from '@naturalcycles/js-lib'
|
|
3
|
+
import type { JsonStringifyFunction, StringifyOptions } from '@naturalcycles/js-lib/string'
|
|
4
|
+
import { _stringify } from '@naturalcycles/js-lib/string'
|
|
5
5
|
|
|
6
6
|
export interface InspectAnyOptions extends StringifyOptions, InspectOptions {}
|
|
7
7
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { BuildInfo } from '@naturalcycles/js-lib'
|
|
2
|
+
import { localTime } from '@naturalcycles/js-lib/datetime'
|
|
3
|
+
import { _filterUndefinedValues } from '@naturalcycles/js-lib/object'
|
|
4
|
+
import type { AnyObject, UnixTimestamp } from '@naturalcycles/js-lib/types'
|
|
3
5
|
import { fs2 } from '../fs/fs2.js'
|
|
4
6
|
import { git2 } from './git2.js'
|
|
5
7
|
|
package/src/util/env.util.ts
CHANGED
package/src/util/git2.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { execSync } from 'node:child_process'
|
|
2
2
|
import { basename } from 'node:path'
|
|
3
|
-
import type { UnixTimestamp } from '@naturalcycles/js-lib'
|
|
4
|
-
import {
|
|
5
|
-
import { exec2 } from './exec2.js'
|
|
3
|
+
import type { UnixTimestamp } from '@naturalcycles/js-lib/types'
|
|
4
|
+
import { exec2 } from '../exec2.js'
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Set of utility functions to work with git.
|
|
@@ -38,7 +37,7 @@ class Git2 {
|
|
|
38
37
|
const cmd = `git commit -a --no-verify -m "${msg}"`
|
|
39
38
|
// const cmd = `git`
|
|
40
39
|
// const args = ['commit', '-a', '--no-verify', '-m', msg]
|
|
41
|
-
console.log(
|
|
40
|
+
console.log(cmd)
|
|
42
41
|
|
|
43
42
|
try {
|
|
44
43
|
execSync(cmd, {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
JsonSchemaAnyBuilder,
|
|
7
|
-
} from '@naturalcycles/js-lib'
|
|
1
|
+
import { _isObject } from '@naturalcycles/js-lib'
|
|
2
|
+
import type { JsonSchema, JsonSchemaBuilder } from '@naturalcycles/js-lib/json-schema'
|
|
3
|
+
import { JsonSchemaAnyBuilder } from '@naturalcycles/js-lib/json-schema'
|
|
4
|
+
import { _filterNullishValues } from '@naturalcycles/js-lib/object'
|
|
5
|
+
import { _substringBefore } from '@naturalcycles/js-lib/string'
|
|
8
6
|
import type { Ajv, ValidateFunction } from 'ajv'
|
|
9
7
|
import { fs2 } from '../../fs/fs2.js'
|
|
10
8
|
import { _inspect } from '../../string/inspect.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ErrorData } from '@naturalcycles/js-lib'
|
|
2
|
-
import { AppError } from '@naturalcycles/js-lib'
|
|
1
|
+
import type { ErrorData } from '@naturalcycles/js-lib/error'
|
|
2
|
+
import { AppError } from '@naturalcycles/js-lib/error'
|
|
3
3
|
import type { ErrorObject } from 'ajv'
|
|
4
4
|
|
|
5
5
|
export interface AjvValidationErrorData extends ErrorData {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_numberEnumKeys,
|
|
3
|
+
_numberEnumValues,
|
|
4
|
+
_stringEnumKeys,
|
|
5
|
+
_stringEnumValues,
|
|
6
|
+
} from '@naturalcycles/js-lib'
|
|
1
7
|
import type {
|
|
2
8
|
BaseDBEntity,
|
|
3
9
|
IANATimezone,
|
|
@@ -6,13 +12,7 @@ import type {
|
|
|
6
12
|
StringEnum,
|
|
7
13
|
UnixTimestamp,
|
|
8
14
|
UnixTimestampMillis,
|
|
9
|
-
} from '@naturalcycles/js-lib'
|
|
10
|
-
import {
|
|
11
|
-
_numberEnumKeys,
|
|
12
|
-
_numberEnumValues,
|
|
13
|
-
_stringEnumKeys,
|
|
14
|
-
_stringEnumValues,
|
|
15
|
-
} from '@naturalcycles/js-lib'
|
|
15
|
+
} from '@naturalcycles/js-lib/types'
|
|
16
16
|
import type { AlternativesSchema, AnySchema, ArraySchema, ObjectSchema } from 'joi'
|
|
17
17
|
import { Joi } from './joi.extensions.js'
|
|
18
18
|
import type { NumberSchema } from './number.extensions.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ErrorData } from '@naturalcycles/js-lib'
|
|
2
|
-
import { AppError } from '@naturalcycles/js-lib'
|
|
1
|
+
import type { ErrorData } from '@naturalcycles/js-lib/error'
|
|
2
|
+
import { AppError } from '@naturalcycles/js-lib/error'
|
|
3
3
|
import type { ValidationErrorItem } from 'joi'
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* "Converts" mean e.g trims all strings from leading/trailing spaces.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { _hb, _isObject
|
|
9
|
+
import { _hb, _isObject } from '@naturalcycles/js-lib'
|
|
10
|
+
import { _truncateMiddle } from '@naturalcycles/js-lib/string'
|
|
10
11
|
import type { AnySchema, ValidationError, ValidationOptions } from 'joi'
|
|
11
12
|
import type { JoiValidationErrorData } from './joi.validation.error.js'
|
|
12
13
|
import { JoiValidationError } from './joi.validation.error.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { localTime } from '@naturalcycles/js-lib/datetime'
|
|
2
|
+
import type { IsoDate } from '@naturalcycles/js-lib/types'
|
|
3
3
|
import type Joi from 'joi'
|
|
4
4
|
import type { Extension, StringSchema as JoiStringSchema } from 'joi'
|
|
5
5
|
|
|
@@ -7,8 +7,6 @@ const inflate = promisify(zlib.inflate.bind(zlib))
|
|
|
7
7
|
const gzip = promisify(zlib.gzip.bind(zlib))
|
|
8
8
|
const gunzip = promisify(zlib.gunzip.bind(zlib))
|
|
9
9
|
|
|
10
|
-
// string > compressed buffer
|
|
11
|
-
|
|
12
10
|
/**
|
|
13
11
|
* deflateBuffer uses `deflate`.
|
|
14
12
|
* It's 9 bytes shorter than `gzip`.
|
package/dist/fs/index.d.ts
DELETED
package/dist/fs/index.js
DELETED
package/dist/jwt/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './jwt.service.js';
|
package/dist/jwt/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './jwt.service.js';
|
package/dist/yargs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './yargs.util.js';
|
package/dist/yargs/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './yargs.util.js';
|
package/src/fs/index.ts
DELETED
package/src/jwt/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './jwt.service.js'
|
package/src/yargs/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './yargs.util.js'
|
|
File without changes
|
|
File without changes
|