Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update enigma #1169

Merged
merged 2 commits into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codesandbox/mekko/src/init.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import enigma from 'enigma.js';
import qixSchema from 'enigma.js/schemas/12.936.0.json';
import qixSchema from 'enigma.js/schemas/12.1657.0.json';

import { embed } from '@nebula.js/stardust';
import mekko from '@nebula.js/sn-mekko-chart';
Expand Down
2 changes: 1 addition & 1 deletion commands/create/templates/mashup/src/Authenticator.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import enigma from 'enigma.js';
import schema from 'enigma.js/schemas/12.936.0.json';
import schema from 'enigma.js/schemas/12.1657.0.json';
import { Auth, AuthType } from '@qlik/sdk';

export default class Authenticator {
Expand Down
2 changes: 1 addition & 1 deletion commands/serve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"autosuggest-highlight": "3.3.4",
"babel-loader": "9.1.2",
"d3-require": "1.3.0",
"enigma.js": "2.10.0",
"enigma.js": "2.11.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-import-resolver-webpack": "0.13.2",
"file-loader": "^6.2.0",
Expand Down
2 changes: 1 addition & 1 deletion commands/serve/web/__tests__/connect.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as SDK from '@qlik/sdk';
import * as ENIGMA from 'enigma.js';
import qixSchema from 'enigma.js/schemas/12.936.0.json';
import qixSchema from 'enigma.js/schemas/12.1657.0.json';
import * as SenseUtilities from 'enigma.js/sense-utilities';
import { connect, openApp, getConnectionInfo, getParams, parseEngineURL } from '../connect';

Expand Down
2 changes: 1 addition & 1 deletion commands/serve/web/connect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import enigma from 'enigma.js';
import qixSchema from 'enigma.js/schemas/12.936.0.json';
import qixSchema from 'enigma.js/schemas/12.1657.0.json';
import SenseUtilities from 'enigma.js/sense-utilities';
import { Auth, AuthType } from '@qlik/sdk';

Expand Down
2 changes: 1 addition & 1 deletion commands/serve/web/hooks/__tests__/useOpenApp.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { renderHook, act } from '@testing-library/react';
import * as ENIGMA from 'enigma.js';
import * as SenseUtilities from 'enigma.js/sense-utilities';
import qixSchema from 'enigma.js/schemas/12.936.0.json';
import qixSchema from 'enigma.js/schemas/12.1657.0.json';
import { useOpenApp } from '../useOpenApp';
import * as getAuthInstanceModule from '../../connect';

Expand Down
2 changes: 1 addition & 1 deletion commands/serve/web/hooks/useOpenApp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import enigma from 'enigma.js';
import qixSchema from 'enigma.js/schemas/12.936.0.json';
import qixSchema from 'enigma.js/schemas/12.1657.0.json';
import SenseUtilities from 'enigma.js/sense-utilities';
import { getAuthInstance } from '../connect';

Expand Down
2 changes: 1 addition & 1 deletion examples/chart-conversion/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import enigma from 'enigma.js';

export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());

const createConnection = () =>
loadSchema().then((schema) =>
Expand Down
2 changes: 1 addition & 1 deletion examples/dev-mashup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import enigma from 'enigma.js';

export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());
const localApp = '/apps/Ctrl-00.qvf';

const createConnection = () =>
Expand Down
2 changes: 1 addition & 1 deletion examples/dev-mashup/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import enigma from 'enigma.js';

export default function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());

const createConnection = () =>
loadSchema().then((schema) =>
Expand Down
2 changes: 1 addition & 1 deletion examples/mashup/connect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
window.connect = function connect() {
const loadSchema = () =>
fetch('https://unpkg.com/enigma.js/schemas/12.936.0.json').then((response) => response.json());
fetch('https://unpkg.com/enigma.js/schemas/12.1657.0.json').then((response) => response.json());

const createConnection = () =>
loadSchema().then((schema) =>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"babel-plugin-istanbul": "6.1.1",
"body-parser": "1.20.2",
"cross-env": "7.0.3",
"enigma.js": "2.10.0",
"enigma.js": "2.11.0",
"eslint": "8.35.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.6.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10439,6 +10439,11 @@ enigma.js@2.10.0:
resolved "https://registry.yarnpkg.com/enigma.js/-/enigma.js-2.10.0.tgz#12816dd71aec957a17cca081a63c343c9a655f80"
integrity sha512-eoVslcv1OtIcOtHP/WwFeemeIIXNJomlv6Obfk6jY7wPBm8/fAPCKB1Gvlyt4bpFgtMssJQ0f+Vq6vt4IgYlmA==

enigma.js@2.11.0:
version "2.11.0"
resolved "https://registry.yarnpkg.com/enigma.js/-/enigma.js-2.11.0.tgz#e9313c96fb29b43ce519c74538594cf783d8b8c8"
integrity sha512-JkyfvaGR/DhMGuui1+jaj5lPoSeY1gv6GDycPPLr9BMxah3E8+PsmcxHasWBoBbwxhxIue8QIT7sDzain1G1lA==

enquirer@~2.3.6:
version "2.3.6"
resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d"
Expand Down