Skip to content

Commit

Permalink
server: fix dav plugin ref to one that fixes the circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
merryman committed Apr 15, 2022
1 parent 7124296 commit f575d1a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion flatn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"flatn_env": "./bin/flatn_env"
},
"dependencies": {
"node-gyp": "3.6.2"
"node-gyp": "9.0.0"
},
"systemjs": {
"map": {
Expand Down
3 changes: 1 addition & 2 deletions lively.server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"version": "0.1.0",
"dependencies": {
"http-proxy": "^1.16.2",
"jsDAV": "^0.3.4",
"@pylonide/jsdav": "^0.4.2",
"jsDAV": "mnutt/jsDAV",
"lively-system-interface": "https://github.com/LivelyKernel/lively-system-interface",
"lively.2lively": "https://github.com/LivelyKernel/lively.2lively.git",
"lively.modules": "*",
Expand Down
6 changes: 3 additions & 3 deletions lively.server/plugins/dav.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const jsDavPlugins = {};
};
console.log = () => {};
try {
DavHandler = System._nodeRequire('@pylonide/jsdav/lib/DAV/handler');
FsTree = System._nodeRequire('@pylonide/jsdav/lib/DAV/backends/fs/tree');
jsDavPlugins.browser = System._nodeRequire('@pylonide/jsdav/lib/DAV/plugins/browser.js');
DavHandler = System._nodeRequire('jsDAV/lib/DAV/handler');
FsTree = System._nodeRequire('jsDAV/lib/DAV/backends/fs/tree');
jsDavPlugins.browser = System._nodeRequire('jsDAV/lib/DAV/plugins/browser.js');
} catch (err) { console.error('cannot load jsdav:', err); } finally { console.log = log; }
})();

Expand Down
4 changes: 2 additions & 2 deletions lively.source-transform/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { parseFunction, parse, stringify, ReplaceVisitor } from 'lively.ast';
import { QueryReplaceManyVisitor } from 'lively.ast/lib/visitors.js';
import transformJSX from 'babel-plugin-transform-jsx';
import catchBinding from 'babel-catch-binding';
import importMeta from 'babel-import-meta';
import catchBinding from '@babel/plugin-syntax-import-meta';
import importMeta from '@babel/plugin-syntax-import-meta';

import * as capturing from './capturing.js';
import { topLevelDeclsAndRefs } from 'lively.ast/lib/query.js';
Expand Down

0 comments on commit f575d1a

Please sign in to comment.