powerbi-visuals-tools 4.0.6 → 4.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.
- package/Changelog.md +10 -0
- package/SECURITY.md +41 -0
- package/certs/PowerBICustomVisualTest_private.key +26 -26
- package/certs/PowerBICustomVisualTest_public.crt +17 -17
- package/config.json +1 -35
- package/package.json +6 -6
- package/spec/e2e/pbivizNewSpec.js +2 -2
package/Changelog.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
This page contains information about changes to the PowerBI Visual Tools (pbiviz).
|
|
4
4
|
|
|
5
|
+
## 4.0.8
|
|
6
|
+
* Reverted to stable version
|
|
7
|
+
* Removed vulnerabilities
|
|
8
|
+
|
|
9
|
+
## 4.0.7
|
|
10
|
+
### **⚠ NOT RECOMENDED** - critical bugs discovered for some cases
|
|
11
|
+
* StringResources (Localizations) are supported in Developer Mode.
|
|
12
|
+
* Update `powerbi-visuals-webpack-plugin` to 3.1.0
|
|
13
|
+
* Fixed vulnerabilities
|
|
14
|
+
|
|
5
15
|
## 4.0.6
|
|
6
16
|
Update templates visuals to:
|
|
7
17
|
* Support new visuals-api version 5.1.0
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
|
|
2
|
+
|
|
3
|
+
## Security
|
|
4
|
+
|
|
5
|
+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
|
|
6
|
+
|
|
7
|
+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
|
|
8
|
+
|
|
9
|
+
## Reporting Security Issues
|
|
10
|
+
|
|
11
|
+
**Please do not report security vulnerabilities through public GitHub issues.**
|
|
12
|
+
|
|
13
|
+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
|
|
14
|
+
|
|
15
|
+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
|
|
16
|
+
|
|
17
|
+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
|
|
18
|
+
|
|
19
|
+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
|
20
|
+
|
|
21
|
+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
|
22
|
+
* Full paths of source file(s) related to the manifestation of the issue
|
|
23
|
+
* The location of the affected source code (tag/branch/commit or direct URL)
|
|
24
|
+
* Any special configuration required to reproduce the issue
|
|
25
|
+
* Step-by-step instructions to reproduce the issue
|
|
26
|
+
* Proof-of-concept or exploit code (if possible)
|
|
27
|
+
* Impact of the issue, including how an attacker might exploit the issue
|
|
28
|
+
|
|
29
|
+
This information will help us triage your report more quickly.
|
|
30
|
+
|
|
31
|
+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
|
|
32
|
+
|
|
33
|
+
## Preferred Languages
|
|
34
|
+
|
|
35
|
+
We prefer all communications to be in English.
|
|
36
|
+
|
|
37
|
+
## Policy
|
|
38
|
+
|
|
39
|
+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
|
|
40
|
+
|
|
41
|
+
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
|
@@ -1,28 +1,28 @@
|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AU8vdg41zMzEe0gla3
|
|
12
|
+
eC3GGLKsxBowDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEArbdi
|
|
13
|
+
j80tpyqv/ePkgwh/BMRFUI47aT/0wVGut4z/Nypjt6wVr5ybYvZOhlK0RI/NrTBs
|
|
14
|
+
GNeXhKcFypT7s2CqXnIFHWZtCOso32kZx05+8acETuB5Lo1yQB+z8dEWxywpk+41
|
|
15
|
+
8N5fHnWxxP6JVnYqpUznZAkL4HuJQY9n61ah/gi706p2DhgMWEZYcbouHzi4kAK5
|
|
16
|
+
jI7SP6aWJnFc5GD5Q0TzJsbOs/jMsRsLztNu2ifJdJ1KzUQrWpxpDUC39PYcr2+D
|
|
17
|
+
LYp+eiDdCTu52dxPnat9K3bPFYTn38aylzbMdEF66R/AiVZloEI0y6ISOYL2HIpl
|
|
18
|
+
/WMm29V4VJ16ZoO27Q==
|
|
19
19
|
-----END CERTIFICATE-----
|
package/config.json
CHANGED
|
@@ -1,35 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templates": {
|
|
3
|
-
"visuals": "templates/visuals",
|
|
4
|
-
"pbiviz": "templates/pbiviz.json.template",
|
|
5
|
-
"plugin": "templates/plugin.ts.template",
|
|
6
|
-
"package": "templates/package.json.template"
|
|
7
|
-
},
|
|
8
|
-
"generate": {
|
|
9
|
-
"apiVersion": "3.8.0"
|
|
10
|
-
},
|
|
11
|
-
"constants": {
|
|
12
|
-
"minAPIversion": "3.2.0"
|
|
13
|
-
},
|
|
14
|
-
"build": {
|
|
15
|
-
"precompileFolder": ".tmp/precompile",
|
|
16
|
-
"dropFolder": ".tmp/drop",
|
|
17
|
-
"js": "tmp.visual.js",
|
|
18
|
-
"css": "visual.css",
|
|
19
|
-
"stats": "../../webpack.statistics.html"
|
|
20
|
-
},
|
|
21
|
-
"package": {
|
|
22
|
-
"dropFolder": "dist"
|
|
23
|
-
},
|
|
24
|
-
"server": {
|
|
25
|
-
"root": "webRoot",
|
|
26
|
-
"assetsRoute": "/assets",
|
|
27
|
-
"privateKey": "certs/PowerBICustomVisualTest_private.key",
|
|
28
|
-
"certificate": "certs/PowerBICustomVisualTest_public.crt",
|
|
29
|
-
"pfx": "certs/PowerBICustomVisualTest_public.pfx",
|
|
30
|
-
"port": "8080"
|
|
31
|
-
},
|
|
32
|
-
"visualTemplates": {
|
|
33
|
-
"circlecard": "https://codeload.github.com/microsoft/powerbi-visuals-circlecard-react/zip/master"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
{"templates":{"visuals":"templates/visuals","pbiviz":"templates/pbiviz.json.template","plugin":"templates/plugin.ts.template","package":"templates/package.json.template"},"generate":{"apiVersion":"3.8.0"},"constants":{"minAPIversion":"3.2.0"},"build":{"precompileFolder":".tmp/precompile","dropFolder":".tmp/drop","js":"tmp.visual.js","css":"visual.css","stats":"../../webpack.statistics.html"},"package":{"dropFolder":"dist"},"server":{"root":"webRoot","assetsRoute":"/assets","privateKey":"certs/PowerBICustomVisualTest_private.key","certificate":"certs/PowerBICustomVisualTest_public.crt","pfx":"certs/PowerBICustomVisualTest_public.pfx","port":"8080","passphrase":"3598678133652331"},"visualTemplates":{"circlecard":"https://codeload.github.com/microsoft/powerbi-visuals-circlecard-react/zip/master"}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powerbi-visuals-tools",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.8",
|
|
4
4
|
"description": "Command line tool for creating and publishing visuals for Power BI",
|
|
5
5
|
"main": "./lib/VisualPackage.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"homepage": "https://github.com/Microsoft/PowerBI-visuals-tools#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"assert": "^2.0.0",
|
|
30
|
-
"async": "^3.2.
|
|
30
|
+
"async": "^3.2.4",
|
|
31
31
|
"base64-inline-loader": "^2.0.1",
|
|
32
32
|
"browserify-zlib": "^0.2.0",
|
|
33
33
|
"buffer": "^6.0.3",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"https-browserify": "^1.0.0",
|
|
46
46
|
"json-loader": "0.5.7",
|
|
47
47
|
"jszip": "^3.7.1",
|
|
48
|
-
"less": "^3.
|
|
49
|
-
"less-loader": "^10.0
|
|
48
|
+
"less": "^3.13.1",
|
|
49
|
+
"less-loader": "^10.2.0",
|
|
50
50
|
"lodash.clonedeep": "4.5.0",
|
|
51
51
|
"lodash.defaults": "4.2.0",
|
|
52
52
|
"lodash.isequal": "4.5.0",
|
|
53
|
-
"mini-css-extract-plugin": "^1.
|
|
53
|
+
"mini-css-extract-plugin": "^1.6.2",
|
|
54
54
|
"os-browserify": "^0.3.0",
|
|
55
55
|
"path-browserify": "^1.0.1",
|
|
56
56
|
"powerbi-visuals-webpack-plugin": "^2.3.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"webpack-dev-server": "^4.8.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"eslint": "^7.
|
|
77
|
+
"eslint": "^7.32.0",
|
|
78
78
|
"jasmine": "3.5.0",
|
|
79
79
|
"jasmine-spec-reporter": "5.0.1",
|
|
80
80
|
"semver": "7.1.3",
|
|
@@ -96,11 +96,11 @@ describe("E2E - pbiviz new", () => {
|
|
|
96
96
|
|
|
97
97
|
it(`Verifiy size`, async () => {
|
|
98
98
|
const folder = createFolder(template);
|
|
99
|
-
const archiveSize =
|
|
99
|
+
const archiveSize = 10000;
|
|
100
100
|
const archiveName = path.join(folder, `${template}Archive.zip`);
|
|
101
101
|
await download(config.visualTemplates[template], archiveName);
|
|
102
102
|
const stats = await fsPromises.stat(archiveName);
|
|
103
|
-
await expect(stats.size).
|
|
103
|
+
await expect(stats.size).toBeGreaterThanOrEqual(archiveSize);
|
|
104
104
|
await fsPromises.unlink(archiveName);
|
|
105
105
|
});
|
|
106
106
|
|