Commit Graph

39 Commits

Author SHA1 Message Date
Simon Schick
1eeccafd4e chore(node): reduce usage of Function (#33527) 2019-03-11 14:06:23 -07:00
Nathan Shively-Sanders
120ddb26bd
Merge pull request #33073 from jacobgardner/master
Fix lodash.get to exclude undefined if a default value is provided
2019-03-04 14:33:29 -08:00
Simon Schick
80fb3119f4 feat(node): v11.10 2019-02-28 18:00:08 +01:00
Jacob Gardner
d593bf739a Disable no-restricted-globals for adone as adone has 'event' as part of its API 2019-02-27 11:21:55 -06:00
Jacob Gardner
1b08ca997e Update adone to use TypeScript 2.8 2019-02-14 13:32:39 -06:00
Andy
6c955dccce
Remove '�' character (#29420) 2018-10-03 11:47:28 -07:00
Andy
a2a659c351
Lodash: Update to typescript@2.6 (#27510) 2018-07-23 16:12:20 -07:00
am
d6da19d371 [adone] refactoring (#25461)
* application -> app
2018-05-03 09:09:26 -07:00
am
df9434571f [adone] refactoring, additions (#25114)
* [adone] refactoring, additions
* [math] add decimal
* [math] index decomposition
* [math] add min, max

* [adone] collections, async
* add adone.async
* TimedoutMap -> TimeMap
* normalize lru constructors

* [adone] is, collection, regex
* [is] add multiAddress, ip options
* [collection.ByteArray] add readUInt24BE, writeUInt24BE
* [regex] ip options, ip
2018-04-19 10:57:20 -07:00
s0m3on3
5b3a66ce60 [adone] is
* openbsd, aix
2018-03-15 02:20:25 +02:00
s0m3on3
da7f2ddd59 [adone] fs
* add writeFileAtomic
* move is.* to fs
2018-03-15 02:11:34 +02:00
s0m3on3
6bc84e8ec7 [adone] add lodash, benchmark 2018-03-14 21:58:51 +02:00
s0m3on3
6ba4e9c43a [adone] fix util.throttle options 2018-02-28 14:27:20 +02:00
s0m3on3
a62421c6e1 [adone] add vault 2018-02-27 00:27:15 +02:00
s0m3on3
746a790616 [adone] main namespace fixes 2018-02-24 23:25:13 +02:00
s0m3on3
f9314de634 [adone] refactoring
* adone.exception -> adone.error
* adone.fatal -> adone.logFatal
* adone.error -> adone.logError
* adone.warn -> adone.logWarn
* adone.info -> adone.logInfo
* adone.debug -> adone.logDebug
* adone.trace -> adone.logTrace
2018-02-21 01:00:35 +02:00
s0m3on3
732f67b1e5 [adone] refactoring
* [collection.Queue] add static "from" method
* add pretty namespace
* [text] move pretty.table, pretty.json to pretty
* [util] move humanizeTime, humanizeSize to pretty
2018-02-17 20:40:18 +02:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
s0m3on3
2a8f631527 [adone] util
* fix throttle.create
2018-02-12 17:11:37 +02:00
s0m3on3
0ea140bc63 [adone.std] add http2, module, perf_hooks 2018-02-11 21:20:05 +02:00
s0m3on3
6f797b3721 [adone] is, net
* [net] add basic http.client
* [is] improve type guards
2018-02-11 17:47:51 +02:00
s0m3on3
fa96818c30 [adone] add basic util.iconv 2018-02-11 02:10:30 +02:00
s0m3on3
cb107eb9f7 [adone] fixes, additions
* fix std imports
* [crypto] add asn1, secp256k1, ed25519
* add text, templating, regex, semver, system
2018-02-09 02:54:41 +02:00
s0m3on3
94a0f73c85 [adone] refactoring, additions
* [collections] decomposition, add MapCache, NSCache, RefcountedCache, Set
* [data] add protobuf, base32, basex, base58, base64url, varint, varintSigned
* [is] improve function and asyncFunction, add emitter and asyncEmitter
* add fake
2018-02-07 02:22:11 +02:00
Andy
86ad142f21
Convert even more import * to import = (#23461) 2018-02-06 08:38:38 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
am
2b6e3afa04 meta, application, refactoring (#23358)
* util.typeOf -> meta.typeOf
* x -> exception
* [application] add common things
* [events] add propagateEvents methods
2018-02-02 13:40:52 -08:00
am
366d972db4 [adone] refactoring, fixes (#23321)
* refactoring, fixes
* add sprintf
* [assertion] replace assert properties with methods
* [assertion] is* -> *
* [data.json] add newline opt for encode
* [data.mpak] add tryDecode, add constructor opt for Serializer, add registerCommonTypesFor function
* [data.base64] add encoding param for decode
* [stream] make core a namespace, stream.core() -> core.create(), stream.CoreStream -> stream.core.Stream
* [fs] add readlinkSync, utimes, utimesSync, utimesMillis, readdirp, appendFIleSync, rmEmpty
* [fs] remove fd namespace, put everything into fs
* [fs] add mkdirSync, mkdirp, mkdirpSync
* [fs] fix copy, add copyTo
* [fs] pos options for tail
* [is] add type guards
* [promise] add props, retry
* [shani] add todo for it/describe
* [utils] remove mapArguments, functionParams, by, stripBom, GlobExp, sqlstring.(arrayToList, bufferToString objectToValues), buffer.(concat, mask, unmask), userid
* [utils] fix toposort, class ReInterval -> function reinterval, move throttle into its own namespace and add options, move RateLimiter to throttle
* [utils] add buffer.toArrayBuffer, buffer.xor, arrayDiff, fillRange, inflection, merge, omit, parseTime, pick, querystring, regexNot, repeat, signalNameToCode, splitBuffer, splitString, toRegex, xorDistance, braces, match

* event.EventEmitter -> event.Emitter
2018-01-31 14:44:14 -08:00
Flarna
1d1c42f9df [adone] fix builderror because of incompatible definition of duplex.end() (#22569)
* [adone] fix builderror because of incompatible definition of duplex.end()

* fix lint error

* fix lint error
2018-01-02 14:28:43 -08:00
Andy
3f7bbeaa51
Miscellaneous lint fixes (#21116) 2017-10-30 11:05:43 -07:00
Andy
e1f88dad16 adone: Fix lint (#20850) 2017-10-23 08:07:21 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
am
521a0c9adc [adone] refactoring, new typings (#19812)
* [adone] refactoring, new typings
* refactor to namespace style
* move adone.run to adone.application
* [std] remove unnecessary std.ts code
* move is and x to separate dirs
* init collections, add LinkedList typings, move ExBuffer here
* init event, move EventEmitter and AsyncEmitter here
* init fs
* init fast
* init streams, add core typings
* remove common
* [util] add userdir, LogRotator, debounce, uuid.v3, fix entries
* [shani] add spy.waitFor* definitions
* [is] add descriptions
* [promise] callbackify

* [adone] rename is.exbuffer to is.byteArray

* [adone] add data typings

* [adone] rename is.exdate to is.datetime

* [adone] fs fixes

* [adone] add datetime typings

* [adone] improve datetime help messages

* [adone] math
* decomposition
* add descriptions for Long
* add typings for matrix, simd, BitSet, BigNumber, random

* collections, math
* add some lazify options
* [collections] add help messages for ByteArray
* [collections] add typings for Queue, AsyncQueue, PriorityQueue, FastLRU, Stack, BinarySearchTree, AVLTree, RedBlackTree, ArraySet, BufferList, DefaultMap, LRU, TimedoutMap
* [math] add missing BitSet methods, normalize help messages

* [adone] compressors, fast
* [fast] change FIle.is* methods
* [compressors] init

* [adone] archives, fs, datetime
* [archives] init, tar, zip
* [fs] add AbstractRandomAccessReader, RandomAccessFdReader, RandomAccessBufferReader
* [datetime] add support for ms-dos format

* is, streams, fast
* [fast] fix typo
* [is] fix fast stream predicates, add some runtime predicates
* [streams] more detailed core help messages
2017-09-25 16:17:10 -07:00
Andy
b885bb46f8 Adone: Fix test (#19641) 2017-09-13 14:29:31 -07:00
Andy
cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy
e8d976c580 Adone: remove redundant destructuring (#18939) 2017-08-14 12:04:42 -07:00
am
aa2183e844 [adone] add new and improve existing typings (#18878)
* [adone] introduce typings

* [adone] refactor to module style

* [adone] set strictNullChecks = true, fix utils test

* [adone] rename tests file, change compileOptions.target

* [adone] add interface namespaces

* [adone] add some util typings, fixes
* util.toposort
* util.GlobExp options
* util.ltgt
* util.fakeClock
* fix loadAsset return type

* [adone] create namespaces for tests

* [adone] create interface for util.fakeClock

* [adone] assertion typings
[adone] add possible types for util.typeOf

* [adone] promise

* [adone] add comments for assertion
[adone] add comments for namespaces

* [adone] add assertion.assert aliases

* [adone] assertion fixes

* [adone] shani, assertion, util, promise
* add shani typings, and shani global vars
* assertion fixes, add support for shani spy expectations
* fix util.fakeClock
* fix promise list issues
* disable space-before-function-paren rule

* [adone] fix assertions import

* [adone] shani
* allow user defined variables inside runtime contexts
2017-08-14 11:24:35 -07:00
am
48c8449d4b [adone] introduce typings (#18709)
* [adone] introduce typings

* [adone] refactor to module style

* [adone] set strictNullChecks = true, fix utils test

* [adone] rename tests file, change compileOptions.target

* [adone] add interface namespaces

* [adone] add some util typings, fixes
* util.toposort
* util.GlobExp options
* util.ltgt
* util.fakeClock
* fix loadAsset return type

* [adone] create namespaces for tests

* [adone] create interface for util.fakeClock
2017-08-09 10:37:17 -07:00