@unisphere/nx 4.3.1 → 4.3.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"add-security-audit-gate.d.ts","sourceRoot":"","sources":["../../../src/migrations/4-2-0/add-security-audit-gate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,YAAY,CAAC;AActD,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAK9D"}
1
+ {"version":3,"file":"add-security-audit-gate.d.ts","sourceRoot":"","sources":["../../../src/migrations/4-2-0/add-security-audit-gate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAsB,MAAM,YAAY,CAAC;AAgBtD,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAK9D"}
@@ -11,7 +11,9 @@ const AUDIT_ALLOWLIST = [
11
11
  ];
12
12
  const AUDIT_STEP = `
13
13
  - name: Security Audit
14
- run: npx unisphere tools audit`;
14
+ run: npx unisphere tools audit
15
+ env:
16
+ KALTURA_JFROG_TOKEN: $\{\{ steps.setup-jfrog.outputs.oidc-token }}`;
15
17
  async function update(tree) {
16
18
  devkit_1.logger.info('🔄 Adding security audit gate...');
17
19
  seedAllowlist(tree);
@@ -50,7 +52,7 @@ function addCicdStep(tree) {
50
52
  devkit_1.logger.info('â„šī¸ Security Audit step already exists in cicd.yml, skipping');
51
53
  return;
52
54
  }
53
- const installDepsMatch = content.match(/( *- name: Install Dependencies\n(?:.*\n)*?)( - name: )/);
55
+ const installDepsMatch = content.match(/( *- name: Install Dependencies[ \t]*\n(?:.*\n)*?)([ \t]*- name: )/);
54
56
  if (!installDepsMatch) {
55
57
  devkit_1.logger.warn('âš ī¸ Could not find Install Dependencies step in cicd.yml');
56
58
  throw new Error('Could not find Install Dependencies step in cicd.yml');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unisphere/nx",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",