diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c863621d..f3364748 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: npm i npm run test npm run lint - - run: zip -r lib.zip . -x '.*' 'node_modules/*' 'src/*' 'spec/*' + - run: zip -r lib.zip . -x '.*' 'node_modules/*' 'src/*' 'spec/*' 'CVClientLA.md' - name: Upload production artifacts run: | gh release upload $TAG_NAME "lib.zip#build" diff --git a/CVClientLA.md b/CVClientLA.md new file mode 100644 index 00000000..fb95bade --- /dev/null +++ b/CVClientLA.md @@ -0,0 +1,85 @@ +**POWER BI CUSTOM VISUALS – STANDARD VISUALIZATION LICENSE TERMS** + +These license terms are an agreement between you and the visualization developer. Please read them. +They apply to the visualization for Power BI you download from the Office Store, including any updates +or supplements for the visualization (the “Visualization”), unless the Visualization comes with separate +terms, in which case those terms apply. + +**BY DOWNLOADING OR USING THE VISUALIZATION, OR ATTEMPTING TO DO ANY OF THESE, YOU +ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, YOU HAVE NO RIGHT TO AND MUST NOT +DOWNLOAD OR USE THE VISUALIZATION.** + +**The Visualization developer means the entity licensing the Visualization to you, as identified in the +Office Store.** + +**If you comply with these license terms, you have the rights below.** + +1. **INSTALLATION AND USE RIGHTS.** You may install and use any number of copies of the Visualization +for use with a product or service that supports the Power BI visual interface. + +2. **INTERNET-BASED SERVICES.** +**a. Consent for Internet-Based or Wireless Services.** The Visualization connects to computer systems +over the Internet, which may include via a wireless network. Using the Visualization operates as your +consent to the transmission of standard device information (including but not limited to technical +information about your device, system and Visualization software, and peripherals) for internet-based +or wireless services. +**b. Misuse of Internet-based Services.** You may not use any Internet-based service in any way that could +harm it or impair anyone else’s use of it or the wireless network. You may not use the service to try to +gain unauthorized access to any service, data, account or network by any means. +3. **SCOPE OF LICENSE.** The Visualization is licensed, not sold. This agreement only gives you some rights +to use the Visualization. Visualization developer reserves all other rights. Unless applicable law gives you +more rights despite this limitation, you may use the Visualization only as expressly permitted in this +agreement. You may not +• work around any technical limitations in the Visualization; or +• reverse engineer, decompile or disassemble the Visualization, except and only to the extent that +applicable law expressly permits, despite this limitation. +4. **DOCUMENTATION.** If documentation is provided with the Visualization, you may copy and use the +documentation for personal reference purposes. +5. **TECHNOLOGY AND EXPORT RESTRICTIONS.** The Visualization may be subject to United States or +international technology control or export laws and regulations. You must comply with all domestic and +international export laws and regulations that apply to the technology used or supported by the +Visualization. These laws include restrictions on destinations, end users and end use. For information on +Microsoft branded products, see www.microsoft.com/exporting. +6. **SUPPORT SERVICES.** Microsoft is not responsible for providing support services for the Visualization. If +Microsoft is the Visualization developer, it may provide support services, but is not obligated to do so +under this agreement. Contact the Visualization developer to determine what support services are +available. +7. **ENTIRE AGREEMENT.** This agreement, any applicable Visualization developer privacy policy, and the +terms for supplements and updates are the entire agreement between you and Visualization developer +for the Visualization. If Microsoft is the Visualization developer, this agreement does not change the +terms of your relationship with Microsoft with regard to Power BI, Microsoft Office, the Office Store, or +any other Microsoft product or service (which is governed by the software license terms that +accompanied, or terms of use that are associated with, the applicable product or service). +8. **APPLICABLE LAW.** +a. **United States. If you acquired the Visualization in the United States, Washington state law governs +the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of +laws principles. The laws of the state where you live govern all other claims, including claims under +state consumer protection laws, unfair competition laws, and in tort.** +b. **Outside the United States. If you acquired the Visualization in any other country, the laws of that +country apply.** + +9. **LEGAL EFFECT.** This agreement describes certain legal rights. You may have other rights under the +laws of your state or country. This agreement does not change your rights under the laws of your state +or country if the laws of your state or country do not permit it to do so. +10. **DISCLAIMER OF WARRANTY. TO THE FULLEST EXTENT PERMITTED BY LAW, (A) THE VISUALIZATION +IS LICENSED "AS-IS," "WITH ALL FAULTS," AND "AS AVAILABLE" AND YOU BEAR ALL RISK OF USING IT; +(B) THE VISUALIZATION DEVELOPER, ON BEHALF OF ITSELF, MICROSOFT (IF MICROSOFT IS NOT THE +VISUALIZATION DEVELOPER), AND EACH OF OUR RESPECTIVE AFFILIATES, VENDORS, AGENTS AND +SUPPLIERS, GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS IN RELATION TO THE +VISUALIZATION; (C) YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR LOCAL LAWS +THAT THIS AGREEMENT CANNOT CHANGE; AND (D) VISUALIZATION DEVELOPER AND MICROSOFT +EXCLUDE ANY IMPLIED WARRANTIES OR CONDITIONS, INCLUDING THOSE OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.** +11. **LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. TO THE EXTENT NOT PROHIBITED +BY LAW, YOU CAN RECOVER FROM THE VISUALIZATION DEVELOPER ONLY DIRECT DAMAGES UP TO +THE AMOUNT YOU PAID FOR THE VISUALIZATION OR $1.00, WHICHEVER IS GREATER. YOU WILL NOT, +AND WAIVE ANY RIGHT TO, SEEK TO RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, +LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES FROM THE VISUALIZATION DEVELOPER.** +**This limitation applies to +• anything related to the Visualization or services made available through the Visualization; and +• claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, +or other tort to the extent permitted by applicable law. +It also applies even if +• repair, replacement or a refund for the Visualization does not fully compensate you for any losses; +or +• Visualization developer knew or should have known about the possibility of the damages.** \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index efaaddc9..b4f38db1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "crypto-browserify": "^3.12.0", "css-loader": "^7.1.2", "domain-browser": "^5.7.0", + "eslint-plugin-powerbi-visuals": "^1.0.0", "events": "^3.3.0", "extra-watch-webpack-plugin": "^1.0.3", "fs-extra": "^11.2.0", @@ -64,7 +65,6 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^8.8.0", "eslint": "^9.11.1", - "eslint-plugin-powerbi-visuals": "^1.0.0", "jasmine": "5.3.0", "jasmine-spec-reporter": "7.0.0", "semver": "7.6.3", @@ -168,9 +168,9 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz", - "integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.4.tgz", + "integrity": "sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==", "dependencies": { "levn": "^0.4.1" }, @@ -1735,9 +1735,9 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "engines": { "node": ">= 0.6" } @@ -1803,9 +1803,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -2066,9 +2066,9 @@ "integrity": "sha512-xT1HVAu5xFn7bDfkjGQi9dNpMqGchUkebwf1GL7cZN32NSwwlHRPMSDJ1KN6HkS0bWUtndbSQZqvpQftKG2uFQ==" }, "node_modules/elliptic": { - "version": "6.5.7", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz", - "integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==", + "version": "6.6.1", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.6.1.tgz", + "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==", "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", @@ -2247,7 +2247,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-powerbi-visuals/-/eslint-plugin-powerbi-visuals-1.0.0.tgz", "integrity": "sha512-7FtQJ3HcNFJfipaIJMG6DwWvtUl8PM1H3mJaTCbA6XWYyrosMxFRZd6QpVP3zrzKlP6o01ACE1MN4Bi7EF6UYw==", - "dev": true, "dependencies": { "@typescript-eslint/parser": "^8.8.0", "globals": "^15.10.0" @@ -2257,7 +2256,6 @@ "version": "15.10.0", "resolved": "https://registry.npmjs.org/globals/-/globals-15.10.0.tgz", "integrity": "sha512-tqFIbz83w4Y5TCbtgjZjApohbuh7K9BxGYFm7ifwDR240tvdb7P9x+/9VvUKlmkPoiknoJtanI8UOrqxS3a7lQ==", - "dev": true, "engines": { "node": ">=18" }, @@ -2432,16 +2430,16 @@ } }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -2455,7 +2453,7 @@ "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.10", + "path-to-regexp": "0.1.12", "proxy-addr": "~2.0.7", "qs": "6.13.0", "range-parser": "~1.2.1", @@ -2470,6 +2468,10 @@ }, "engines": { "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/express/node_modules/array-flatten": { @@ -3091,15 +3093,15 @@ } }, "node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz", + "integrity": "sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==", "dependencies": { "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", "is-glob": "^4.0.1", "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.6" + "micromatch": "^4.0.2" }, "engines": { "node": ">=12.0.0" @@ -4118,9 +4120,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "funding": [ { "type": "github", @@ -4483,9 +4485,9 @@ } }, "node_modules/path-to-regexp": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", - "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==" }, "node_modules/pbkdf2": { "version": "3.1.2",