@teambit/dependencies 1.0.395 → 1.0.396

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.
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="169" failures="0" errors="0" skipped="33">
3
- <testsuite name="teambit.dependencies/dependencies@1.0.395" tests="169" failures="0" errors="0" skipped="33">
3
+ <testsuite name="teambit.dependencies/dependencies@1.0.396" tests="169" failures="0" errors="0" skipped="33">
4
4
  <testcase classname="dist/dependencies.spec.js" name="should add the snap prefix" time="0.001"/>
5
5
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/testing-library__jest-dom" time="0.001"/>
6
6
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/chai"/>
7
- <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mocha"/>
7
+ <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mocha" time="0.001"/>
8
8
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/classnames"/>
9
9
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/cors"/>
10
10
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/cross-spawn"/>
@@ -34,13 +34,13 @@
34
34
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/socket.io-client"/>
35
35
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/ua-parser-js"/>
36
36
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/url-join"/>
37
- <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/url-parse"/>
37
+ <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/url-parse" time="0.001"/>
38
38
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack"/>
39
39
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack-dev-server"/>
40
40
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/webpack-merge"/>
41
41
  <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when no files are passed should return an empty tree" time="0.001"/>
42
42
  <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when unsupported files are passed should return them with no dependencies" time="0.001"/>
43
- <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when supported and unsupported files are passed should return them all" time="0.061"/>
43
+ <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when supported and unsupported files are passed should return them all" time="0.096"/>
44
44
  <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when a js file has parsing error it should add the file to the tree with the error instance">
45
45
  <skipped/>
46
46
  </testcase>
@@ -62,116 +62,69 @@
62
62
  <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="it should add the missing package to the missing section in the tree">
63
63
  <skipped/>
64
64
  </testcase>
65
- <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="should not throw an error and should remove itself from the dependencies files" time="0.001"/>
65
+ <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="should not throw an error and should remove itself from the dependencies files"/>
66
66
  <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="should not recognize the cycle dependencies as link files">
67
67
  <skipped/>
68
68
  </testcase>
69
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="accepts an AST"/>
70
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off a given ast" time="0.001"/>
71
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a .js file" time="0.002"/>
72
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a scss detective" time="0.004"/>
73
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a sass detective" time="0.004"/>
74
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of amd modules" time="0.001"/>
75
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of commonjs modules" time="0.001"/>
76
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules" time="0.002"/>
77
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules with embedded jsx" time="0.001"/>
78
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules with embedded es7" time="0.001"/>
79
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws errors of es6 modules with syntax errors" time="0.001"/>
80
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of css files">
81
- <skipped/>
82
- </testcase>
83
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of scss files" time="0.001"/>
84
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of sass files" time="0.001"/>
85
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of stylus files"/>
86
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of less files" time="0.002"/>
87
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of typescript files">
88
- <skipped/>
89
- </testcase>
90
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws errors of typescript modules with syntax errors" time="0.001"/>
91
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports the object form of type configuration"/>
92
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="yields no dependencies for es6 modules with no imports" time="0.002"/>
93
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="yields no dependencies for non-modules"/>
94
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throw on unparsable .js files" time="0.001"/>
95
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not blow up when parsing a gruntfile #2" time="0.001"/>
96
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns the dependencies for the given filepath">
97
- <skipped/>
98
- </testcase>
99
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found" time="0.001"/>
100
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="filters out core modules if options.includeCore is false" time="0.001"/>
101
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not filter out core modules by default">
102
- <skipped/>
103
- </testcase>
104
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing detective configuration">
105
- <skipped/>
106
- </testcase>
107
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors"/>
108
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="still does not filter out core module by default">
109
- <skipped/>
110
- </testcase>
111
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="passes amd config to the amd detective" time="0.001"/>
112
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns both the commonjs and es6 dependencies" time="0.001"/>
113
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns both the commonjs and es6 dependencies"/>
114
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs those lazy dependencies" time="0.001"/>
115
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs the lazy imports" time="0.001"/>
116
69
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an empty object for a non-existent filename" time="0.001"/>
117
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.005"/>
70
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.006"/>
118
71
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not include files that are not real (#13)" time="0.001"/>
119
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.004"/>
120
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="excludes Nodejs core modules by default"/>
72
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.157"/>
73
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="excludes Nodejs core modules by default" time="0.001"/>
121
74
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns a list of absolutely pathed files"/>
122
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.035"/>
75
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.042"/>
123
76
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid partials" time="0.001"/>
124
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not store anything" time="0.001"/>
125
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid ones" time="0.003"/>
126
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include the non-existent partial per file" time="0.002"/>
77
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not store anything" time="0.002"/>
78
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid ones" time="0.002"/>
79
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include the non-existent partial per file" time="0.003"/>
127
80
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if the filename is missing"/>
128
81
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if the root is missing"/>
129
82
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="throws if a supplied filter is not a function"/>
130
83
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not throw on the legacy `root` option"/>
131
84
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not throw"/>
132
85
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns no dependencies"/>
133
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns the precomputed list of a cached entry point" time="0.001"/>
134
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.002"/>
86
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns the precomputed list of a cached entry point"/>
135
87
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.001"/>
136
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have jsx" time="0.001"/>
137
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files with a jsx extension" time="0.001"/>
138
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have es7" time="0.009"/>
139
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.002"/>
140
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file"/>
141
88
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.002"/>
142
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.012"/>
89
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have jsx" time="0.001"/>
90
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files with a jsx extension" time="0.002"/>
91
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have es7" time="0.001"/>
92
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.006"/>
93
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.001"/>
94
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.004"/>
95
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an object form of the dependency tree for a file" time="0.011"/>
143
96
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves unaliased modules">
144
97
  <skipped/>
145
98
  </testcase>
146
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="uses the filter to determine if a file should be included in the results" time="0.003"/>
99
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="uses the filter to determine if a file should be included in the results" time="0.002"/>
147
100
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the lazy dependency" time="0.001"/>
148
101
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the lazy dependency" time="0.001"/>
149
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the dynamic import"/>
150
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include it as a dependency and not throw an error" time="0.001"/>
102
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="includes the dynamic import" time="0.001"/>
103
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should include it as a dependency and not throw an error"/>
151
104
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="it includes the module entry as dependency">
152
105
  <skipped/>
153
106
  </testcase>
154
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="retains the detective config in the clone"/>
155
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not override the cache with wrong packages" time="0.002"/>
107
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="retains the detective config in the clone" time="0.001"/>
108
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not override the cache with wrong packages" time="0.013"/>
156
109
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not crash with &quot;RangeError: Maximum call stack size exceeded&quot; error" time="0.001"/>
157
110
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies" time="0.001"/>
158
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from https" time="0.001"/>
111
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from https"/>
159
112
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from http"/>
160
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.002"/>
113
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.001"/>
161
114
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="reuses the ast when trying to determine the module type" time="0.001"/>
162
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves the dependency successfully"/>
115
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves the dependency successfully" time="0.001"/>
163
116
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the filename to look for the module type" time="0.001"/>
164
117
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="assumes commonjs for es6 modules with no requirejs/webpack config">
165
118
  <skipped/>
166
119
  </testcase>
167
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves files with the .jsx extension" time="0.001"/>
120
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves files with the .jsx extension"/>
168
121
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses require's resolver">
169
122
  <skipped/>
170
123
  </testcase>
171
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty string for an unresolved module" time="0.001"/>
124
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty string for an unresolved module"/>
172
125
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="adds the directory to the require resolution paths" time="0.001"/>
173
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a relative dependency about the filename"/>
174
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a .. dependency to its parent directory's index.js file" time="0.001"/>
126
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a relative dependency about the filename" time="0.001"/>
127
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a .. dependency to its parent directory's index.js file"/>
175
128
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a dependency within a directory outside of the given file">
176
129
  <skipped/>
177
130
  </testcase>
@@ -180,22 +133,22 @@
180
133
  </testcase>
181
134
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a nested module" time="0.001"/>
182
135
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves to the index.js file of a directory" time="0.001"/>
183
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires" time="0.001"/>
136
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires"/>
184
137
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .scss requires"/>
185
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .json requires"/>
186
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves an import" time="0.001"/>
187
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty result" time="0.001"/>
138
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .json requires" time="0.001"/>
139
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves an import"/>
140
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty result" time="0.002"/>
188
141
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .scss files"/>
189
142
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .sass files"/>
190
143
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the stylus resolver"/>
191
144
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves extensionless dependencies"/>
192
145
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a less extension"/>
193
146
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a css extension"/>
194
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions"/>
147
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.001"/>
195
148
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="supports passing env detectors"/>
196
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="registers a custom resolver for a given extension" time="0.002"/>
197
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="allows does not break default resolvers"/>
198
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="can be called multiple times"/>
149
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="registers a custom resolver for a given extension" time="0.001"/>
150
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="allows does not break default resolvers" time="0.001"/>
151
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="can be called multiple times" time="0.001"/>
199
152
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="does not add redundant extensions to supportedFileExtensions"/>
200
153
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="should resolve the dependency to a node_module package (using webpack under the hood)">
201
154
  <skipped/>
@@ -236,5 +189,52 @@
236
189
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="still works">
237
190
  <skipped/>
238
191
  </testcase>
192
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="accepts an AST"/>
193
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off a given ast"/>
194
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a .js file" time="0.001"/>
195
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a scss detective"/>
196
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="dangles off the parsed ast from a sass detective" time="0.003"/>
197
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of amd modules"/>
198
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of commonjs modules" time="0.001"/>
199
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules"/>
200
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules with embedded jsx" time="0.001"/>
201
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of es6 modules with embedded es7"/>
202
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws errors of es6 modules with syntax errors" time="0.001"/>
203
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of css files">
204
+ <skipped/>
205
+ </testcase>
206
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of scss files" time="0.001"/>
207
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of sass files" time="0.001"/>
208
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of stylus files"/>
209
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of less files"/>
210
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs dependencies of typescript files">
211
+ <skipped/>
212
+ </testcase>
213
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws errors of typescript modules with syntax errors" time="0.001"/>
214
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports the object form of type configuration"/>
215
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="yields no dependencies for es6 modules with no imports" time="0.001"/>
216
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="yields no dependencies for non-modules"/>
217
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throw on unparsable .js files"/>
218
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not blow up when parsing a gruntfile #2" time="0.001"/>
219
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns the dependencies for the given filepath">
220
+ <skipped/>
221
+ </testcase>
222
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found"/>
223
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="filters out core modules if options.includeCore is false" time="0.001"/>
224
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not filter out core modules by default">
225
+ <skipped/>
226
+ </testcase>
227
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing detective configuration">
228
+ <skipped/>
229
+ </testcase>
230
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors" time="0.001"/>
231
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="still does not filter out core module by default">
232
+ <skipped/>
233
+ </testcase>
234
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="passes amd config to the amd detective" time="0.001"/>
235
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns both the commonjs and es6 dependencies" time="0.001"/>
236
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns both the commonjs and es6 dependencies"/>
237
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs those lazy dependencies"/>
238
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="grabs the lazy imports" time="0.001"/>
239
239
  </testsuite>
240
240
  </testsuites>
@@ -4525,7 +4525,7 @@
4525
4525
  "componentId": {
4526
4526
  "scope": "teambit.dependencies",
4527
4527
  "name": "dependencies",
4528
- "version": "1.0.395"
4528
+ "version": "1.0.396"
4529
4529
  },
4530
4530
  "taggedModuleExports": []
4531
4531
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/dependencies",
3
- "version": "1.0.395",
3
+ "version": "1.0.396",
4
4
  "homepage": "https://bit.cloud/teambit/dependencies/dependencies",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.dependencies",
8
8
  "name": "dependencies",
9
- "version": "1.0.395"
9
+ "version": "1.0.396"
10
10
  },
11
11
  "dependencies": {
12
12
  "archy": "1.0.0",
@@ -20,37 +20,37 @@
20
20
  "fs-extra": "10.0.0",
21
21
  "semver": "7.5.2",
22
22
  "debug": "4.3.4",
23
+ "resolve-dependency-path": "2.0.0",
24
+ "stylus-lookup": "3.0.2",
23
25
  "detective-amd": "3.0.1",
24
26
  "detective-stylus": "1.0.0",
25
27
  "module-definition": "3.3.1",
26
28
  "node-source-walk": "4.2.0",
27
- "resolve-dependency-path": "2.0.0",
28
- "stylus-lookup": "3.0.2",
29
29
  "@teambit/harmony": "0.4.6",
30
30
  "@teambit/component-id": "1.2.0",
31
31
  "@teambit/bit-error": "0.0.404",
32
32
  "@teambit/component-version": "1.0.3",
33
+ "@teambit/styling.deps-lookups.lookup-styling": "0.0.2",
34
+ "@teambit/typescript.deps-lookups.lookup-typescript": "0.0.2",
33
35
  "@teambit/node.deps-detectors.detective-es6": "0.0.5",
34
36
  "@teambit/styling.deps-detectors.detective-css": "0.0.4",
35
37
  "@teambit/styling.deps-detectors.detective-less": "0.0.4",
36
38
  "@teambit/styling.deps-detectors.detective-sass": "0.0.7",
37
39
  "@teambit/styling.deps-detectors.detective-scss": "0.0.7",
38
40
  "@teambit/typescript.deps-detectors.detective-typescript": "0.0.6",
39
- "@teambit/styling.deps-lookups.lookup-styling": "0.0.2",
40
- "@teambit/typescript.deps-lookups.lookup-typescript": "0.0.2",
41
- "@teambit/cli": "0.0.972",
42
- "@teambit/graph": "1.0.395",
43
- "@teambit/aspect-loader": "1.0.395",
41
+ "@teambit/cli": "0.0.973",
42
+ "@teambit/graph": "1.0.396",
43
+ "@teambit/aspect-loader": "1.0.396",
44
44
  "@teambit/component-package-version": "0.0.434",
45
- "@teambit/dependency-resolver": "1.0.395",
46
- "@teambit/dev-files": "1.0.395",
47
- "@teambit/scope": "1.0.395",
48
- "@teambit/workspace": "1.0.395",
49
- "@teambit/component.sources": "0.0.22",
45
+ "@teambit/dependency-resolver": "1.0.396",
46
+ "@teambit/dev-files": "1.0.396",
47
+ "@teambit/scope": "1.0.396",
48
+ "@teambit/workspace": "1.0.396",
49
+ "@teambit/component.sources": "0.0.23",
50
50
  "@teambit/legacy.utils": "0.0.4",
51
51
  "@teambit/toolbox.path.path": "0.0.2",
52
52
  "@teambit/component-issues": "0.0.150",
53
- "@teambit/legacy.bit-map": "0.0.26",
53
+ "@teambit/legacy.bit-map": "0.0.27",
54
54
  "@teambit/toolbox.fs.extension-getter": "0.0.1",
55
55
  "@teambit/toolbox.fs.last-modified": "0.0.1"
56
56
  },
@@ -66,8 +66,8 @@
66
66
  "@types/mocha": "9.1.0",
67
67
  "@teambit/defender.fs.global-bit-temp-dir": "0.0.1",
68
68
  "@teambit/harmony.envs.core-aspect-env": "0.0.47",
69
- "@teambit/component.testing.mock-components": "0.0.228",
70
- "@teambit/harmony.testing.load-aspect": "0.0.223",
69
+ "@teambit/component.testing.mock-components": "0.0.229",
70
+ "@teambit/harmony.testing.load-aspect": "0.0.224",
71
71
  "@teambit/workspace.testing.mock-workspace": "0.0.27"
72
72
  },
73
73
  "peerDependencies": {