Skip to content

Commit 2b2fa04

Browse files
author
Your Name
committed
fixed snyk issues
1 parent d38e617 commit 2b2fa04

4 files changed

Lines changed: 36 additions & 33 deletions

File tree

packages/contentstack-apps-cli/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/apps-cli",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "App ClI",
55
"author": "Contentstack CLI",
66
"homepage": "https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-apps-cli",
@@ -23,7 +23,7 @@
2323
"dependencies": {
2424
"@apollo/client": "^3.14.1",
2525
"@contentstack/cli-command": "~1.8.3",
26-
"@contentstack/cli-launch": "^1.10.0",
26+
"@contentstack/cli-launch": "^1.11.0",
2727
"@contentstack/cli-utilities": "~1.18.4",
2828
"adm-zip": "^0.5.17",
2929
"chalk": "^4.1.2",
@@ -32,6 +32,9 @@
3232
"tmp": "^0.2.7",
3333
"winston": "^3.19.0"
3434
},
35+
"overrides": {
36+
"form-data": "^4.0.6"
37+
},
3538
"devDependencies": {
3639
"@oclif/test": "^4.1.18",
3740
"@types/adm-zip": "^0.5.8",

packages/contentstack-cli-cm-regex-validate/package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,9 @@
11
{
22
"name": "@contentstack/cli-cm-regex-validate",
33
"description": "Validate Fields with Regex Property of Content Type and Global Field in a Stack",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli-cm-regex-validate/issues",
7-
"devDependencies": {
8-
"@babel/preset-env": "^7.29.5",
9-
"@oclif/plugin-help": "^6.2.49",
10-
"@oclif/test": "^3.2.15",
11-
"@types/chai": "^4.3.20",
12-
"@types/jest": "^30.0.0",
13-
"@types/jsonexport": "^3.0.5",
14-
"@types/mocha": "^10.0.10",
15-
"@types/node": "^18.19.130",
16-
"@types/safe-regex": "^1.1.6",
17-
"@typescript-eslint/eslint-plugin": "^8.59.2",
18-
"chai": "^4.5.0",
19-
"eslint": "^8.57.1",
20-
"eslint-config-oclif": "^4.0.0",
21-
"eslint-config-oclif-typescript": "^1.0.3",
22-
"eslint-plugin-unicorn": "^48.0.1",
23-
"globby": "^11.1.0",
24-
"husky": "^9.1.7",
25-
"mocha": "^10.8.2",
26-
"nyc": "^15.1.0",
27-
"oclif": "^4.23.8",
28-
"ts-jest": "^29.4.9",
29-
"ts-node": "^10.9.2",
30-
"typescript": "^5.9.3"
31-
},
327
"engines": {
338
"node": ">=14.0.0"
349
},
@@ -70,11 +45,36 @@
7045
"cli-table3": "^0.6.5",
7146
"cli-ux": "^6.0.9",
7247
"inquirer": "12.11.1",
73-
"jest": "^30.4.2",
7448
"jsonexport": "^3.2.0",
7549
"safe-regex": "^2.1.1",
7650
"tslib": "^2.8.1"
7751
},
52+
"devDependencies": {
53+
"@babel/preset-env": "^7.29.5",
54+
"@oclif/plugin-help": "^6.2.49",
55+
"@oclif/test": "^3.2.15",
56+
"@types/chai": "^4.3.20",
57+
"@types/jest": "^30.0.0",
58+
"@types/jsonexport": "^3.0.5",
59+
"@types/mocha": "^10.0.10",
60+
"@types/node": "^18.19.130",
61+
"@types/safe-regex": "^1.1.6",
62+
"@typescript-eslint/eslint-plugin": "^8.59.2",
63+
"chai": "^4.5.0",
64+
"eslint": "^8.57.1",
65+
"eslint-config-oclif": "^4.0.0",
66+
"eslint-config-oclif-typescript": "^1.0.3",
67+
"eslint-plugin-unicorn": "^48.0.1",
68+
"globby": "^11.1.0",
69+
"husky": "^9.1.7",
70+
"mocha": "^10.8.2",
71+
"nyc": "^15.1.0",
72+
"oclif": "^4.23.8",
73+
"ts-jest": "^29.4.9",
74+
"ts-node": "^10.9.2",
75+
"typescript": "^5.9.3",
76+
"jest": "^30.4.2"
77+
},
7878
"csdxConfig": {
7979
"shortCommandName": {
8080
"cm:stacks:validate-regex": "RGXVLD"

packages/contentstack-content-type/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "contentstack-cli-content-type",
33
"description": "Retrieve information about Content Types in a Stack.",
4-
"version": "1.5.0",
4+
"version": "1.5.1",
55
"author": "Contentstack Developer",
66
"bugs": "https://github.com/contentstack/cli-plugins/issues",
77
"dependencies": {
@@ -13,7 +13,7 @@
1313
"@types/table": "^6.3.2",
1414
"@types/tmp": "^0.2.6",
1515
"axios": "^1.16.1",
16-
"cli-ux": "^6.0.9",
16+
"open": "^8.4.2",
1717
"diff2html": "^3.4.56",
1818
"git-diff": "^2.0.6",
1919
"moment": "^2.30.1",

packages/contentstack-content-type/src/core/content-type/compare.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import cli from 'cli-ux'
1+
import open from 'open'
22
import * as fs from 'fs'
33
import * as tmp from 'tmp'
44
import * as Diff2html from 'diff2html'
@@ -17,7 +17,7 @@ export default async function buildOutput(contentTypeName: string, previous: any
1717
tmp.file({prefix: `${contentTypeName}-compare`, postfix: '.html', keep: true}, async function (err: any, path: any, _fd: any, _cleanupCallback: any) {
1818
if (err) throw err
1919
fs.writeFileSync(path, html(diffHtml))
20-
await cli.open(path)
20+
await open(path)
2121
})
2222

2323
return {

0 commit comments

Comments
 (0)