@teambit/dependencies 1.0.473 → 1.0.475

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="141" failures="0" errors="0" skipped="31">
3
- <testsuite name="teambit.dependencies/dependencies@1.0.473" tests="141" failures="0" errors="0" skipped="31">
4
- <testcase classname="dist/dependencies.spec.js" name="should add the snap prefix" time="0.002"/>
5
- <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/testing-library__jest-dom" time="0.001"/>
3
+ <testsuite name="teambit.dependencies/dependencies@1.0.475" tests="141" failures="0" errors="0" skipped="31">
4
+ <testcase classname="dist/dependencies.spec.js" name="should add the snap prefix" time="0.001"/>
5
+ <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/testing-library__jest-dom" time="0.002"/>
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"/>
@@ -14,13 +14,13 @@
14
14
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/find-cache-dir"/>
15
15
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/find-root"/>
16
16
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/history"/>
17
- <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/http-proxy-agent" time="0.001"/>
17
+ <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/http-proxy-agent"/>
18
18
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash"/>
19
19
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash.compact"/>
20
20
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash.flatten"/>
21
21
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash.head"/>
22
22
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/lodash.pick"/>
23
- <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mdx-js__react"/>
23
+ <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mdx-js__react" time="0.001"/>
24
24
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/memoizee"/>
25
25
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mime"/>
26
26
  <testcase classname="dist/dependencies-loader/package-to-definetly-typed.spec.js" name="should map to @types/mousetrap"/>
@@ -38,9 +38,9 @@
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
- <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when no files are passed should return an empty tree"/>
42
- <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when unsupported files are passed should return them with no dependencies"/>
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.064"/>
41
+ <testcase classname="dist/files-dependency-builder/build-tree.spec.js" name="when no files are passed should return an empty tree" time="0.002"/>
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.072"/>
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>
@@ -66,13 +66,13 @@
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/dependency-tree/index.spec.js" name="returns an empty object for a non-existent filename" time="0.001"/>
70
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.005"/>
69
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns an empty object for a non-existent filename" time="0.002"/>
70
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="handles nested tree structures" time="0.006"/>
71
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"/>
72
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.085"/>
72
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not choke on cyclic dependencies" time="0.094"/>
73
73
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="excludes Nodejs core modules by default" time="0.001"/>
74
74
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="returns a list of absolutely pathed files"/>
75
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.038"/>
75
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="passes it through to precinct" time="0.052"/>
76
76
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid partials" time="0.001"/>
77
77
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="does not store anything" time="0.002"/>
78
78
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="stores the invalid ones" time="0.002"/>
@@ -87,12 +87,12 @@
87
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"/>
88
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"/>
89
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"/>
90
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files with a jsx extension" time="0.001"/>
91
91
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves files that have es7" time="0.001"/>
92
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.005"/>
93
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
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.015"/>
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.016"/>
96
96
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="resolves unaliased modules">
97
97
  <skipped/>
98
98
  </testcase>
@@ -105,13 +105,28 @@
105
105
  <skipped/>
106
106
  </testcase>
107
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.002"/>
108
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not override the cache with wrong packages" time="0.003"/>
109
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"/>
110
110
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies" time="0.001"/>
111
111
  <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from https" time="0.001"/>
112
- <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from http"/>
113
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.001"/>
114
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="reuses the ast when trying to determine the module type"/>
112
+ <testcase classname="dist/files-dependency-builder/dependency-tree/index.spec.js" name="should not show missing dependencies when importing from http" time="0.001"/>
113
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns the dependencies for the given filepath">
114
+ <skipped/>
115
+ </testcase>
116
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found"/>
117
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="filters out core modules if options.includeCore is false" time="0.001"/>
118
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not filter out core modules by default">
119
+ <skipped/>
120
+ </testcase>
121
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing detective configuration">
122
+ <skipped/>
123
+ </testcase>
124
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors" time="0.001"/>
125
+ <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="still does not filter out core module by default">
126
+ <skipped/>
127
+ </testcase>
128
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.002"/>
129
+ <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"/>
115
130
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves the dependency successfully"/>
116
131
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the filename to look for the module type" time="0.001"/>
117
132
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="assumes commonjs for es6 modules with no requirejs/webpack config">
@@ -123,8 +138,8 @@
123
138
  </testcase>
124
139
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty string for an unresolved module"/>
125
140
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="adds the directory to the require resolution paths" 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"/>
141
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a relative dependency about the filename"/>
142
+ <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"/>
128
143
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a dependency within a directory outside of the given file">
129
144
  <skipped/>
130
145
  </testcase>
@@ -132,22 +147,22 @@
132
147
  <skipped/>
133
148
  </testcase>
134
149
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves a nested module" time="0.001"/>
135
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves to the index.js file of a directory"/>
136
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires" time="0.001"/>
150
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves to the index.js file of a directory" time="0.001"/>
151
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .jsx requires"/>
137
152
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .scss requires"/>
138
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .json requires" time="0.001"/>
153
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves implicit .json requires"/>
139
154
  <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"/>
141
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .scss files"/>
155
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="returns an empty result" time="0.001"/>
156
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .scss files" time="0.001"/>
142
157
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the sass resolver for .sass files"/>
143
158
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses the stylus resolver"/>
144
159
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves extensionless dependencies"/>
145
160
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a less extension"/>
146
161
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="resolves dependencies with a css extension"/>
147
- <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions" time="0.001"/>
162
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="uses a generic resolve for unsupported file extensions"/>
148
163
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="supports passing env detectors"/>
149
164
  <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"/>
165
+ <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="allows does not break default resolvers"/>
151
166
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="can be called multiple times" time="0.001"/>
152
167
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="does not add redundant extensions to supportedFileExtensions"/>
153
168
  <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)">
@@ -189,20 +204,5 @@
189
204
  <testcase classname="dist/files-dependency-builder/filing-cabinet/index.spec.js" name="still works">
190
205
  <skipped/>
191
206
  </testcase>
192
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="returns the dependencies for the given filepath">
193
- <skipped/>
194
- </testcase>
195
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="throws if the file cannot be found"/>
196
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="filters out core modules if options.includeCore is false" time="0.002"/>
197
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="does not filter out core modules by default">
198
- <skipped/>
199
- </testcase>
200
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing detective configuration">
201
- <skipped/>
202
- </testcase>
203
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="supports passing env detectors"/>
204
- <testcase classname="dist/files-dependency-builder/precinct/index.spec.js" name="still does not filter out core module by default">
205
- <skipped/>
206
- </testcase>
207
207
  </testsuite>
208
208
  </testsuites>
@@ -4708,7 +4708,7 @@
4708
4708
  "componentId": {
4709
4709
  "scope": "teambit.dependencies",
4710
4710
  "name": "dependencies",
4711
- "version": "1.0.473"
4711
+ "version": "1.0.475"
4712
4712
  },
4713
4713
  "taggedModuleExports": []
4714
4714
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/dependencies",
3
- "version": "1.0.473",
3
+ "version": "1.0.475",
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.473"
9
+ "version": "1.0.475"
10
10
  },
11
11
  "dependencies": {
12
12
  "archy": "1.0.0",
@@ -20,38 +20,38 @@
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",
25
23
  "detective-amd": "3.0.1",
26
24
  "detective-stylus": "1.0.0",
27
25
  "module-definition": "3.3.1",
28
26
  "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.2",
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.4",
34
- "@teambit/typescript.deps-lookups.lookup-typescript": "0.0.2",
35
33
  "@teambit/node.deps-detectors.detective-es6": "0.0.6",
36
34
  "@teambit/styling.deps-detectors.detective-css": "0.0.6",
37
35
  "@teambit/styling.deps-detectors.detective-less": "0.0.6",
38
36
  "@teambit/styling.deps-detectors.detective-sass": "0.0.9",
39
37
  "@teambit/styling.deps-detectors.detective-scss": "0.0.9",
40
38
  "@teambit/typescript.deps-detectors.detective-typescript": "0.0.8",
41
- "@teambit/cli": "0.0.1050",
42
- "@teambit/graph": "1.0.473",
43
- "@teambit/aspect-loader": "1.0.473",
39
+ "@teambit/styling.deps-lookups.lookup-styling": "0.0.4",
40
+ "@teambit/typescript.deps-lookups.lookup-typescript": "0.0.2",
41
+ "@teambit/cli": "0.0.1052",
42
+ "@teambit/graph": "1.0.475",
43
+ "@teambit/aspect-loader": "1.0.475",
44
44
  "@teambit/component-package-version": "0.0.434",
45
- "@teambit/dependency-resolver": "1.0.473",
46
- "@teambit/dev-files": "1.0.473",
47
- "@teambit/logger": "0.0.1143",
48
- "@teambit/scope": "1.0.473",
49
- "@teambit/workspace": "1.0.473",
50
- "@teambit/component.sources": "0.0.47",
45
+ "@teambit/dependency-resolver": "1.0.475",
46
+ "@teambit/dev-files": "1.0.475",
47
+ "@teambit/logger": "0.0.1145",
48
+ "@teambit/scope": "1.0.475",
49
+ "@teambit/workspace": "1.0.475",
50
+ "@teambit/component.sources": "0.0.48",
51
51
  "@teambit/legacy.utils": "0.0.6",
52
52
  "@teambit/toolbox.path.path": "0.0.4",
53
53
  "@teambit/component-issues": "0.0.151",
54
- "@teambit/legacy.bit-map": "0.0.52",
54
+ "@teambit/legacy.bit-map": "0.0.53",
55
55
  "@teambit/toolbox.fs.extension-getter": "0.0.1",
56
56
  "@teambit/toolbox.fs.last-modified": "0.0.1"
57
57
  },
@@ -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.60",
69
- "@teambit/component.testing.mock-components": "0.0.254",
70
- "@teambit/harmony.testing.load-aspect": "0.0.249",
69
+ "@teambit/component.testing.mock-components": "0.0.255",
70
+ "@teambit/harmony.testing.load-aspect": "0.0.250",
71
71
  "@teambit/workspace.testing.mock-workspace": "0.0.27"
72
72
  },
73
73
  "peerDependencies": {