Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Molstar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Malý
Molstar
Commits
1ab08871
Commit
1ab08871
authored
Mar 13, 2022
by
Alexander Rose
Browse files
Options
Downloads
Patches
Plain Diff
package updates
parent
0cb2e585
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
package-lock.json
+0
-0
0 additions, 0 deletions
package-lock.json
package.json
+15
-15
15 additions, 15 deletions
package.json
src/mol-task/util/scheduler.ts
+7
-7
7 additions, 7 deletions
src/mol-task/util/scheduler.ts
with
22 additions
and
22 deletions
package-lock.json
-638 B (0%)
View file @
1ab08871
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
This diff is collapsed.
Click to expand it.
package.json
+
15
−
15
View file @
1ab08871
...
@@ -94,38 +94,38 @@
...
@@ -94,38 +94,38 @@
"
@graphql-codegen/add
"
:
"
^3.1.1
"
,
"
@graphql-codegen/add
"
:
"
^3.1.1
"
,
"
@graphql-codegen/cli
"
:
"
^2.6.2
"
,
"
@graphql-codegen/cli
"
:
"
^2.6.2
"
,
"
@graphql-codegen/time
"
:
"
^3.1.1
"
,
"
@graphql-codegen/time
"
:
"
^3.1.1
"
,
"
@graphql-codegen/typescript
"
:
"
^2.4.
5
"
,
"
@graphql-codegen/typescript
"
:
"
^2.4.
7
"
,
"
@graphql-codegen/typescript-graphql-files-modules
"
:
"
^2.1.1
"
,
"
@graphql-codegen/typescript-graphql-files-modules
"
:
"
^2.1.1
"
,
"
@graphql-codegen/typescript-graphql-request
"
:
"
^4.
3.7
"
,
"
@graphql-codegen/typescript-graphql-request
"
:
"
^4.
4.2
"
,
"
@graphql-codegen/typescript-operations
"
:
"
^2.3.
2
"
,
"
@graphql-codegen/typescript-operations
"
:
"
^2.3.
4
"
,
"
@types/cors
"
:
"
^2.8.12
"
,
"
@types/cors
"
:
"
^2.8.12
"
,
"
@types/gl
"
:
"
^4.1.0
"
,
"
@types/gl
"
:
"
^4.1.0
"
,
"
@types/jest
"
:
"
^27.4.1
"
,
"
@types/jest
"
:
"
^27.4.1
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^5.1
2.1
"
,
"
@typescript-eslint/eslint-plugin
"
:
"
^5.1
4.0
"
,
"
@typescript-eslint/parser
"
:
"
^5.1
2.1
"
,
"
@typescript-eslint/parser
"
:
"
^5.1
4.0
"
,
"
benchmark
"
:
"
^2.1.4
"
,
"
benchmark
"
:
"
^2.1.4
"
,
"
concurrently
"
:
"
^7.0.0
"
,
"
concurrently
"
:
"
^7.0.0
"
,
"
cpx2
"
:
"
^4.2.0
"
,
"
cpx2
"
:
"
^4.2.0
"
,
"
crypto-browserify
"
:
"
^3.12.0
"
,
"
crypto-browserify
"
:
"
^3.12.0
"
,
"
css-loader
"
:
"
^6.
6.0
"
,
"
css-loader
"
:
"
^6.
7.1
"
,
"
eslint
"
:
"
^8.1
0
.0
"
,
"
eslint
"
:
"
^8.1
1
.0
"
,
"
extra-watch-webpack-plugin
"
:
"
^1.0.3
"
,
"
extra-watch-webpack-plugin
"
:
"
^1.0.3
"
,
"
file-loader
"
:
"
^6.2.0
"
,
"
file-loader
"
:
"
^6.2.0
"
,
"
fs-extra
"
:
"
^10.0.1
"
,
"
fs-extra
"
:
"
^10.0.1
"
,
"
graphql
"
:
"
^16.3.0
"
,
"
graphql
"
:
"
^16.3.0
"
,
"
http-server
"
:
"
^14.1.0
"
,
"
http-server
"
:
"
^14.1.0
"
,
"
jest
"
:
"
^27.5.1
"
,
"
jest
"
:
"
^27.5.1
"
,
"
mini-css-extract-plugin
"
:
"
^2.
5.3
"
,
"
mini-css-extract-plugin
"
:
"
^2.
6.0
"
,
"
path-browserify
"
:
"
^1.0.1
"
,
"
path-browserify
"
:
"
^1.0.1
"
,
"
raw-loader
"
:
"
^4.0.2
"
,
"
raw-loader
"
:
"
^4.0.2
"
,
"
sass
"
:
"
^1.49.9
"
,
"
sass
"
:
"
^1.49.9
"
,
"
sass-loader
"
:
"
^12.6.0
"
,
"
sass-loader
"
:
"
^12.6.0
"
,
"
simple-git
"
:
"
^3.
2.6
"
,
"
simple-git
"
:
"
^3.
3.0
"
,
"
stream-browserify
"
:
"
^3.0.0
"
,
"
stream-browserify
"
:
"
^3.0.0
"
,
"
style-loader
"
:
"
^3.3.1
"
,
"
style-loader
"
:
"
^3.3.1
"
,
"
ts-jest
"
:
"
^27.1.3
"
,
"
ts-jest
"
:
"
^27.1.3
"
,
"
typescript
"
:
"
^4.
5.5
"
,
"
typescript
"
:
"
^4.
6.2
"
,
"
webpack
"
:
"
^5.
69.1
"
,
"
webpack
"
:
"
^5.
70.0
"
,
"
webpack-cli
"
:
"
^4.9.2
"
"
webpack-cli
"
:
"
^4.9.2
"
},
},
"dependencies"
:
{
"dependencies"
:
{
...
@@ -135,8 +135,8 @@
...
@@ -135,8 +135,8 @@
"
@types/express
"
:
"
^4.17.13
"
,
"
@types/express
"
:
"
^4.17.13
"
,
"
@types/node
"
:
"
^16.11.26
"
,
"
@types/node
"
:
"
^16.11.26
"
,
"
@types/node-fetch
"
:
"
^2.6.1
"
,
"
@types/node-fetch
"
:
"
^2.6.1
"
,
"
@types/react
"
:
"
^17.0.
39
"
,
"
@types/react
"
:
"
^17.0.
40
"
,
"
@types/react-dom
"
:
"
^17.0.1
1
"
,
"
@types/react-dom
"
:
"
^17.0.1
3
"
,
"
@types/swagger-ui-dist
"
:
"
3.30.1
"
,
"
@types/swagger-ui-dist
"
:
"
3.30.1
"
,
"
argparse
"
:
"
^2.0.1
"
,
"
argparse
"
:
"
^2.0.1
"
,
"
body-parser
"
:
"
^1.19.2
"
,
"
body-parser
"
:
"
^1.19.2
"
,
...
@@ -147,8 +147,8 @@
...
@@ -147,8 +147,8 @@
"
immer
"
:
"
^9.0.12
"
,
"
immer
"
:
"
^9.0.12
"
,
"
immutable
"
:
"
^4.0.0
"
,
"
immutable
"
:
"
^4.0.0
"
,
"
node-fetch
"
:
"
^2.6.7
"
,
"
node-fetch
"
:
"
^2.6.7
"
,
"
rxjs
"
:
"
^7.5.
4
"
,
"
rxjs
"
:
"
^7.5.
5
"
,
"
swagger-ui-dist
"
:
"
^4.
5
.2
"
,
"
swagger-ui-dist
"
:
"
^4.
6
.2
"
,
"
tslib
"
:
"
^2.3.1
"
,
"
tslib
"
:
"
^2.3.1
"
,
"
util.promisify
"
:
"
^1.1.1
"
,
"
util.promisify
"
:
"
^1.1.1
"
,
"
xhr2
"
:
"
^0.2.1
"
"
xhr2
"
:
"
^0.2.1
"
...
...
This diff is collapsed.
Click to expand it.
src/mol-task/util/scheduler.ts
+
7
−
7
View file @
1ab08871
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
declare
const
WorkerGlobalScope
:
any
;
declare
const
WorkerGlobalScope
:
any
;
function
createImmediateActions
()
{
function
createImmediateActions
()
{
const
g
lobal
:
any
=
(
function
()
{
const
thisG
lobal
:
any
=
(
function
()
{
const
_window
=
typeof
window
!==
'
undefined
'
&&
window
;
const
_window
=
typeof
window
!==
'
undefined
'
&&
window
;
const
_self
=
typeof
self
!==
'
undefined
'
&&
typeof
WorkerGlobalScope
!==
'
undefined
'
&&
self
instanceof
WorkerGlobalScope
&&
self
;
const
_self
=
typeof
self
!==
'
undefined
'
&&
typeof
WorkerGlobalScope
!==
'
undefined
'
&&
self
instanceof
WorkerGlobalScope
&&
self
;
const
_global
=
typeof
global
!==
'
undefined
'
&&
global
;
const
_global
=
typeof
global
!==
'
undefined
'
&&
global
;
...
@@ -79,14 +79,14 @@ function createImmediateActions() {
...
@@ -79,14 +79,14 @@ function createImmediateActions() {
}
}
function
canUsePostMessage
()
{
function
canUsePostMessage
()
{
if
(
g
lobal
&&
g
lobal
.
postMessage
&&
!
g
lobal
.
importScripts
)
{
if
(
thisG
lobal
&&
thisG
lobal
.
postMessage
&&
!
thisG
lobal
.
importScripts
)
{
let
postMessageIsAsynchronous
=
true
;
let
postMessageIsAsynchronous
=
true
;
const
oldOnMessage
=
g
lobal
.
onmessage
;
const
oldOnMessage
=
thisG
lobal
.
onmessage
;
g
lobal
.
onmessage
=
function
()
{
thisG
lobal
.
onmessage
=
function
()
{
postMessageIsAsynchronous
=
false
;
postMessageIsAsynchronous
=
false
;
};
};
g
lobal
.
postMessage
(
''
,
'
*
'
);
thisG
lobal
.
postMessage
(
''
,
'
*
'
);
g
lobal
.
onmessage
=
oldOnMessage
;
thisG
lobal
.
onmessage
=
oldOnMessage
;
return
postMessageIsAsynchronous
;
return
postMessageIsAsynchronous
;
}
}
}
}
...
@@ -98,7 +98,7 @@ function createImmediateActions() {
...
@@ -98,7 +98,7 @@ function createImmediateActions() {
const
messagePrefix
=
'
setImmediate$
'
+
Math
.
random
()
+
'
$
'
;
const
messagePrefix
=
'
setImmediate$
'
+
Math
.
random
()
+
'
$
'
;
const
onGlobalMessage
=
function
(
event
:
any
)
{
const
onGlobalMessage
=
function
(
event
:
any
)
{
if
(
event
.
source
===
g
lobal
&&
if
(
event
.
source
===
thisG
lobal
&&
typeof
event
.
data
===
'
string
'
&&
typeof
event
.
data
===
'
string
'
&&
event
.
data
.
indexOf
(
messagePrefix
)
===
0
)
{
event
.
data
.
indexOf
(
messagePrefix
)
===
0
)
{
runIfPresent
(
+
event
.
data
.
slice
(
messagePrefix
.
length
));
runIfPresent
(
+
event
.
data
.
slice
(
messagePrefix
.
length
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment