mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
chore: update enigma (#1169)
* chore: update enigma * chore: update schemas as well
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
@@ -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 = () =>
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user