Skip to content

Commit b191477

Browse files
committed
preparing 4.1.0 release
1 parent 6e11551 commit b191477

File tree

4 files changed

+86
-14
lines changed

4 files changed

+86
-14
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v4.1.0
4+
5+
* [Fix slow `experimentalWatchApi`](https://github.com/TypeStrong/ts-loader/pull/747) (#746) - thanks @sheetalkamat and @MLoughry!
6+
* [feat: `getCustomTransformers` support path string for a module](https://github.com/TypeStrong/ts-loader/pull/745) - thanks @vagusX and @s-panferov (upon whose work this is based I believe)
7+
38
## v4.0.1
49

510
* [Fix name collision in experimentalWatchApi code](https://github.com/TypeStrong/ts-loader/pull/737) - thanks @MLoughry!

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ This will ensure that the plugin checks for both syntactic errors (eg `const arr
229229
#### getCustomTransformers _( () => { before?: TransformerFactory<SourceFile>[]; after?: TransformerFactory<SourceFile>[]; } )_
230230

231231
Provide custom transformers - only compatible with TypeScript 2.3+ (and 2.4 if using `transpileOnly` mode). For example usage take a look at [typescript-plugin-styled-components](https://github.com/Igorbek/typescript-plugin-styled-components) or our [test](test/comparison-tests/customTransformer).
232-
You can also pass a path string to locate a js module file which export the function described above, especially in `happyPackMode`. (Because forked proccess cannot serialize functions see more at [related issue](https://github.com/Igorbek/typescript-plugin-styled-components/issues/6#issue-303387183))
232+
233+
You can also pass a path string to locate a js module file which exports the function described above, this useful especially in `happyPackMode`. (Because forked proccess cannot serialize functions see more at [related issue](https://github.com/Igorbek/typescript-plugin-styled-components/issues/6#issue-303387183))
233234

234235
#### logInfoToStdOut _(boolean) (default=false)_
235236

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-loader",
3-
"version": "4.0.1",
3+
"version": "4.1.0",
44
"description": "TypeScript loader for webpack",
55
"main": "index.js",
66
"scripts": {
@@ -60,7 +60,7 @@
6060
"escape-string-regexp": "^1.0.3",
6161
"fs-extra": "^5.0.0",
6262
"glob": "^7.1.1",
63-
"html-webpack-plugin": "^2.17.0",
63+
"html-webpack-plugin": "^3.0.6",
6464
"husky": "^0.14.3",
6565
"jasmine-core": "^2.5.2",
6666
"karma": "^2.0.0",
@@ -74,7 +74,7 @@
7474
"mocha": "^5.0.0",
7575
"prettier": "^1.10.2",
7676
"rimraf": "^2.6.2",
77-
"typescript": "2.7.1",
77+
"typescript": "^2.7.2",
7878
"webpack": "^4.0.0"
7979
}
8080
}

yarn.lock

+76-10
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ block-stream@*:
921921
dependencies:
922922
inherits "~2.0.0"
923923

924-
bluebird@^3.3.0, bluebird@^3.4.6, bluebird@^3.4.7, bluebird@^3.5.0:
924+
bluebird@^3.3.0, bluebird@^3.4.6, bluebird@^3.5.0:
925925
version "3.5.1"
926926
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
927927

@@ -1691,6 +1691,13 @@ deep-is@~0.1.3:
16911691
version "0.1.3"
16921692
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
16931693

1694+
define-properties@^1.1.2:
1695+
version "1.1.2"
1696+
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
1697+
dependencies:
1698+
foreach "^2.0.5"
1699+
object-keys "^1.0.8"
1700+
16941701
define-property@^0.2.5:
16951702
version "0.2.5"
16961703
resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
@@ -1980,6 +1987,24 @@ error-ex@^1.3.1:
19801987
dependencies:
19811988
is-arrayish "^0.2.1"
19821989

1990+
es-abstract@^1.5.1:
1991+
version "1.10.0"
1992+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
1993+
dependencies:
1994+
es-to-primitive "^1.1.1"
1995+
function-bind "^1.1.1"
1996+
has "^1.0.1"
1997+
is-callable "^1.1.3"
1998+
is-regex "^1.0.4"
1999+
2000+
es-to-primitive@^1.1.1:
2001+
version "1.1.1"
2002+
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
2003+
dependencies:
2004+
is-callable "^1.1.1"
2005+
is-date-object "^1.0.1"
2006+
is-symbol "^1.0.1"
2007+
19832008
escape-html@~1.0.3:
19842009
version "1.0.3"
19852010
resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -2253,6 +2278,10 @@ for-own@^0.1.4:
22532278
dependencies:
22542279
for-in "^1.0.1"
22552280

2281+
foreach@^2.0.5:
2282+
version "2.0.5"
2283+
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
2284+
22562285
forever-agent@~0.6.1:
22572286
version "0.6.1"
22582287
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
@@ -2352,7 +2381,7 @@ ftp@~0.3.10:
23522381
readable-stream "1.1.x"
23532382
xregexp "2.0.0"
23542383

2355-
function-bind@^1.0.2:
2384+
function-bind@^1.0.2, function-bind@^1.1.1:
23562385
version "1.1.1"
23572386
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
23582387

@@ -2530,7 +2559,7 @@ has-values@^1.0.0:
25302559
is-number "^3.0.0"
25312560
kind-of "^4.0.0"
25322561

2533-
has@^1.0.0:
2562+
has@^1.0.0, has@^1.0.1:
25342563
version "1.0.1"
25352564
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
25362565
dependencies:
@@ -2627,16 +2656,17 @@ html-minifier@^3.2.3:
26272656
relateurl "0.2.x"
26282657
uglify-js "3.3.x"
26292658

2630-
html-webpack-plugin@^2.17.0:
2631-
version "2.30.1"
2632-
resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-2.30.1.tgz#7f9c421b7ea91ec460f56527d78df484ee7537d5"
2659+
html-webpack-plugin@^3.0.6:
2660+
version "3.0.6"
2661+
resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-3.0.6.tgz#d35b0452aae129a8a9f3fac44a169a625d8cf3fa"
26332662
dependencies:
2634-
bluebird "^3.4.7"
26352663
html-minifier "^3.2.3"
26362664
loader-utils "^0.2.16"
26372665
lodash "^4.17.3"
26382666
pretty-error "^2.0.2"
2667+
tapable "^1.0.0"
26392668
toposort "^1.0.0"
2669+
util.promisify "1.0.0"
26402670

26412671
htmlescape@^1.1.0:
26422672
version "1.1.1"
@@ -2842,6 +2872,10 @@ is-buffer@^1.1.0, is-buffer@^1.1.5:
28422872
version "1.1.6"
28432873
resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
28442874

2875+
is-callable@^1.1.1, is-callable@^1.1.3:
2876+
version "1.1.3"
2877+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
2878+
28452879
is-ci@^1.0.10:
28462880
version "1.1.0"
28472881
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5"
@@ -2860,6 +2894,10 @@ is-data-descriptor@^1.0.0:
28602894
dependencies:
28612895
kind-of "^6.0.0"
28622896

2897+
is-date-object@^1.0.1:
2898+
version "1.0.1"
2899+
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
2900+
28632901
is-descriptor@^0.1.0:
28642902
version "0.1.6"
28652903
resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
@@ -3009,6 +3047,12 @@ is-property@^1.0.0:
30093047
version "1.0.2"
30103048
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"
30113049

3050+
is-regex@^1.0.4:
3051+
version "1.0.4"
3052+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
3053+
dependencies:
3054+
has "^1.0.1"
3055+
30123056
is-regexp@^1.0.0:
30133057
version "1.0.0"
30143058
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
@@ -3017,6 +3061,10 @@ is-stream@^1.1.0:
30173061
version "1.1.0"
30183062
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
30193063

3064+
is-symbol@^1.0.1:
3065+
version "1.0.1"
3066+
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
3067+
30203068
is-typedarray@~1.0.0:
30213069
version "1.0.0"
30223070
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
@@ -4110,12 +4158,23 @@ object-copy@^0.1.0:
41104158
define-property "^0.2.5"
41114159
kind-of "^3.0.3"
41124160

4161+
object-keys@^1.0.8:
4162+
version "1.0.11"
4163+
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
4164+
41134165
object-visit@^1.0.0:
41144166
version "1.0.1"
41154167
resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
41164168
dependencies:
41174169
isobject "^3.0.0"
41184170

4171+
object.getownpropertydescriptors@^2.0.3:
4172+
version "2.0.3"
4173+
resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
4174+
dependencies:
4175+
define-properties "^1.1.2"
4176+
es-abstract "^1.5.1"
4177+
41194178
object.omit@^2.0.0:
41204179
version "2.0.1"
41214180
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@@ -5534,9 +5593,9 @@ typedarray@^0.0.6, typedarray@~0.0.5:
55345593
version "0.0.6"
55355594
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
55365595

5537-
5538-
version "2.7.1"
5539-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.1.tgz#bb3682c2c791ac90e7c6210b26478a8da085c359"
5596+
typescript@^2.7.2:
5597+
version "2.7.2"
5598+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836"
55405599

55415600
uglify-es@^3.3.4:
55425601
version "3.3.9"
@@ -5651,6 +5710,13 @@ util-deprecate@~1.0.1:
56515710
version "1.0.2"
56525711
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
56535712

5713+
5714+
version "1.0.0"
5715+
resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
5716+
dependencies:
5717+
define-properties "^1.1.2"
5718+
object.getownpropertydescriptors "^2.0.3"
5719+
56545720
[email protected], util@^0.10.3, util@~0.10.1:
56555721
version "0.10.3"
56565722
resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"

0 commit comments

Comments
 (0)