@canva/cli 0.0.1-beta.17 → 0.0.1-beta.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canva/cli",
3
- "version": "0.0.1-beta.17",
3
+ "version": "0.0.1-beta.18",
4
4
  "description": "The official Canva CLI.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Canva Pty Ltd.",
@@ -6,7 +6,7 @@
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "author": "Canva Pty Ltd.",
8
8
  "dependencies": {
9
- "@canva/app-ui-kit": "^4.7.0",
9
+ "@canva/app-ui-kit": "^4.7.1",
10
10
  "@canva/asset": "^2.1.0",
11
11
  "@canva/design": "^2.3.0",
12
12
  "@canva/error": "^2.1.0",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Context } from "./context";
3
3
  import * as chalk from "chalk";
4
- import { buildConfig } from "../../webpack.config.js";
4
+ import { buildConfig } from "../../webpack.config";
5
5
  import * as ngrok from "@ngrok/ngrok";
6
6
  import * as nodemon from "nodemon";
7
7
  import * as Table from "cli-table3";
@@ -180,6 +180,12 @@ export default [
180
180
  message:
181
181
  "Apps are currently not allowed to open popups, or new tabs via browser APIs. Please use `requestOpenExternalUrl` from `@canva/platform` to link to external URLs. To learn more, see https://www.canva.dev/docs/apps/api/platform-request-open-external-url/",
182
182
  },
183
+ {
184
+ selector:
185
+ "MemberExpression[object.name='localStorage'], MemberExpression[object.name='sessionStorage']",
186
+ message:
187
+ "Using `localStorage` or `sessionStorage` may not be appropriate for certain types of data, such as sensitive information. If your use case is safe and does not involve storing sensitive data (e.g., access tokens or keys), you can ignore this warning with an eslint-disable comment. Otherwise, seek secure storage alternatives. For more details, refer to the Canva Security Guidelines (https://www.canva.dev/docs/apps/security-guidelines/#store-secrets-securely).",
188
+ },
183
189
  ],
184
190
  "no-restricted-imports": [
185
191
  "warn",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@canva/app-components": "^1.1.0",
21
21
  "@canva/app-i18n-kit": "^1.0.2",
22
- "@canva/app-ui-kit": "^4.7.0",
22
+ "@canva/app-ui-kit": "^4.7.1",
23
23
  "@canva/asset": "^2.1.0",
24
24
  "@canva/design": "^2.3.0",
25
25
  "@canva/error": "^2.1.0",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Context } from "./context";
3
3
  import * as chalk from "chalk";
4
- import { buildConfig } from "../../webpack.config.js";
4
+ import { buildConfig } from "../../webpack.config";
5
5
  import * as ngrok from "@ngrok/ngrok";
6
6
  import * as nodemon from "nodemon";
7
7
  import * as Table from "cli-table3";
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@canva/app-i18n-kit": "^1.0.2",
21
- "@canva/app-ui-kit": "^4.7.0",
21
+ "@canva/app-ui-kit": "^4.7.1",
22
22
  "@canva/asset": "^2.1.0",
23
23
  "@canva/design": "^2.3.0",
24
24
  "@canva/error": "^2.1.0",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Context } from "./context";
3
3
  import * as chalk from "chalk";
4
- import { buildConfig } from "../../webpack.config.js";
4
+ import { buildConfig } from "../../webpack.config";
5
5
  import * as ngrok from "@ngrok/ngrok";
6
6
  import * as nodemon from "nodemon";
7
7
  import * as Table from "cli-table3";
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@canva/app-i18n-kit": "^1.0.2",
22
- "@canva/app-ui-kit": "^4.7.0",
22
+ "@canva/app-ui-kit": "^4.7.1",
23
23
  "@canva/asset": "^2.1.0",
24
24
  "@canva/design": "^2.3.0",
25
25
  "@canva/error": "^2.1.0",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable no-console */
2
2
  import type { Context } from "./context";
3
3
  import * as chalk from "chalk";
4
- import { buildConfig } from "../../webpack.config.js";
4
+ import { buildConfig } from "../../webpack.config";
5
5
  import * as ngrok from "@ngrok/ngrok";
6
6
  import * as nodemon from "nodemon";
7
7
  import * as Table from "cli-table3";