@ui5/builder 3.0.7 → 3.0.8

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.
@@ -154,12 +154,7 @@ const utils = {
154
154
  virBasePath: "/resources/"
155
155
  });
156
156
 
157
- let allResources;
158
- if (workspace.byGlobSource) { // API only available on duplex collections
159
- allResources = await workspace.byGlobSource(pattern);
160
- } else {
161
- allResources = await workspace.byGlob(pattern);
162
- }
157
+ const allResources = await workspace.byGlob(pattern);
163
158
 
164
159
  // write all resources to the tmp folder
165
160
  await Promise.all(allResources.map((resource) => fsTarget.write(resource)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/builder",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "UI5 Tooling - Builder",
5
5
  "author": {
6
6
  "name": "SAP SE",
@@ -38,7 +38,7 @@
38
38
  "unit": "rimraf test/tmp && ava",
39
39
  "unit-verbose": "rimraf test/tmp && cross-env UI5_LOG_LVL=verbose ava --verbose --serial",
40
40
  "unit-watch": "rimraf test/tmp && ava --watch",
41
- "unit-xunit": "rimraf test/tmp && ava --no-worker-threads --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap --timeout=1m | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml",
41
+ "unit-xunit": "rimraf test/tmp && ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\" --tap --timeout=1m | tap-xunit --dontUseCommentsAsTestNames=true > test-results.xml",
42
42
  "unit-inspect": "cross-env UI5_LOG_LVL=verbose ava debug --break",
43
43
  "coverage": "rimraf test/tmp && nyc ava --node-arguments=\"--experimental-loader=@istanbuljs/esm-loader-hook\"",
44
44
  "coverage-xunit": "nyc --reporter=text --reporter=text-summary --reporter=cobertura npm run unit-xunit",
@@ -69,7 +69,8 @@
69
69
  "nodeArguments": [
70
70
  "--loader=esmock",
71
71
  "--no-warnings"
72
- ]
72
+ ],
73
+ "workerThreads": false
73
74
  },
74
75
  "nyc": {
75
76
  "reporter": [
@@ -123,20 +124,20 @@
123
124
  "cheerio": "1.0.0-rc.12",
124
125
  "escape-unicode": "^0.2.0",
125
126
  "escope": "^4.0.0",
126
- "espree": "^9.6.0",
127
+ "espree": "^9.6.1",
127
128
  "graceful-fs": "^4.2.11",
128
129
  "jsdoc": "^4.0.2",
129
130
  "less-openui5": "^0.11.6",
130
131
  "pretty-data": "^0.40.0",
131
132
  "rimraf": "^5.0.1",
132
133
  "semver": "^7.5.4",
133
- "terser": "^5.18.2",
134
+ "terser": "^5.19.0",
134
135
  "workerpool": "^6.4.0",
135
136
  "xml2js": "^0.6.0"
136
137
  },
137
138
  "devDependencies": {
138
139
  "@istanbuljs/esm-loader-hook": "^0.2.0",
139
- "@ui5/project": "^3.4.1",
140
+ "@ui5/project": "^3.4.2",
140
141
  "ava": "^5.3.1",
141
142
  "chai": "^4.3.7",
142
143
  "chai-fs": "^2.0.0",
@@ -144,10 +145,10 @@
144
145
  "cross-env": "^7.0.3",
145
146
  "depcheck": "^1.4.3",
146
147
  "docdash": "^2.0.1",
147
- "eslint": "^8.44.0",
148
+ "eslint": "^8.45.0",
148
149
  "eslint-config-google": "^0.14.0",
149
150
  "eslint-plugin-ava": "^14.0.0",
150
- "eslint-plugin-jsdoc": "^46.4.3",
151
+ "eslint-plugin-jsdoc": "^46.4.4",
151
152
  "esmock": "^2.3.1",
152
153
  "nyc": "^15.1.0",
153
154
  "open-cli": "^7.2.0",