This repository was archived by the owner on Dec 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
src/dependency-builder/filing-cabinet Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ unreleased]
9
9
10
+ ## [ 2.1.2-dev.1] - 2019-09-20
11
+
12
+ - avoid recognizing any require/import starts with ` . ` as a custom-resolve-module on Windows
13
+
10
14
## [ 2.1.1] - 2019-08-14
11
15
12
16
- remove angular dependencies. use typescript compiler to parse Angular Decorators
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bit-javascript" ,
3
- "version" : " 2.1.1" ,
3
+ "version" : " 2.1.2-dev. 1" ,
4
4
"scripts" : {
5
5
"flow" : " flow; test $? -eq 0 -o $? -eq 2" ,
6
6
"lint" : " eslint src && flow check || true" ,
Original file line number Diff line number Diff line change @@ -294,12 +294,7 @@ function commonJSLookup(options: Options) {
294
294
295
295
appModulePath . addPath ( moduleLookupDir ) ;
296
296
297
- // Make sure the partial is being resolved to the filename's context
298
- // 3rd party modules will not be relative
299
297
let partial = options . partial ;
300
- if ( partial [ 0 ] === '.' ) {
301
- partial = path . resolve ( path . dirname ( filename ) , partial ) ;
302
- }
303
298
304
299
let result = '' ;
305
300
@@ -314,6 +309,12 @@ function commonJSLookup(options: Options) {
314
309
debug ( 'failed resolved using resolveConfig, fall back to the standard resolver' ) ;
315
310
}
316
311
312
+ // Make sure the partial is being resolved to the filename's context
313
+ // 3rd party modules will not be relative
314
+ if ( partial [ 0 ] === '.' ) {
315
+ partial = path . resolve ( path . dirname ( filename ) , partial ) ;
316
+ }
317
+
317
318
try {
318
319
result = resolve . sync ( partial , {
319
320
extensions : resolveExtensions ,
You can’t perform that action at this time.
0 commit comments