Skip to content

Comments

[pull] master from krakenjs:master#3

Open
pull[bot] wants to merge 115 commits intoJankyboy:masterfrom
krakenjs:master
Open

[pull] master from krakenjs:master#3
pull[bot] wants to merge 115 commits intoJankyboy:masterfrom
krakenjs:master

Conversation

@pull
Copy link

@pull pull bot commented Sep 30, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

@pull pull bot added the ⤵️ pull label Sep 30, 2020
@ghost
Copy link

ghost commented Sep 30, 2020

Hey there! 👋 This repository uses the Prettier code style.

You forgot to format these files in your pull request:

  • dist/zoid.frame.js
  • dist/zoid.frame.min.js
  • dist/zoid.frameworks.frame.js
  • dist/zoid.frameworks.frame.min.js
  • dist/zoid.frameworks.js
  • dist/zoid.frameworks.min.js
  • dist/zoid.js
  • dist/zoid.min.js
  • globals.js
  • src/component/component.js
  • src/declarations.js
  • src/lib/global.js

The Prettier installation guide
is a good place to get started with formatting your code properly. Thanks!!

❤️

Your friendly Prettifier bot

@ci-reporter
Copy link

ci-reporter bot commented Sep 30, 2020

The build is failing

✨ Good work on this PR so far! ✨ Unfortunately, the Travis CI build is failing as of cf323be. Here's the output:

npm test
> zoid@9.0.60 test /home/travis/build/Jankyboy/zoid
> npm run lint && npm run flow-typed && npm run flow && npm run karma


> zoid@9.0.60 lint /home/travis/build/Jankyboy/zoid
> eslint --ext .js --ext .jsx src/ test/ *.js


/home/travis/build/Jankyboy/zoid/src/lib/global.js
  4:10  error  getCurrentScriptUID not found in 'belter/src'  import/named

✖ 1 problem (1 error, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zoid@9.0.60 lint: `eslint --ext .js --ext .jsx src/ test/ *.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the zoid@9.0.60 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2020-09-30T19_28_27_533Z-debug.log

I'm sure you can fix it! If you need help, don't hesitate to ask a maintainer of the project!


Failed build for 8d5c6b3
npm test
> zoid@9.0.59 test /home/travis/build/Jankyboy/zoid
> npm run lint && npm run flow-typed && npm run flow && npm run karma


> zoid@9.0.59 lint /home/travis/build/Jankyboy/zoid
> eslint --ext .js --ext .jsx src/ test/ *.js


/home/travis/build/Jankyboy/zoid/src/lib/global.js
  4:10  error  getCurrentScriptUID not found in 'belter/src'  import/named

✖ 1 problem (1 error, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zoid@9.0.59 lint: `eslint --ext .js --ext .jsx src/ test/ *.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the zoid@9.0.59 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/travis/.npm/_logs/2020-09-30T04_26_55_597Z-debug.log

This comment was automagically generated by ci-reporter. If you see a problem, open an issue here.

Daniel Brain and others added 12 commits September 30, 2020 12:24
… travis build (#329)

Co-authored-by: khoa <khoa@Anthonys-MacBook-Pro.local>
* closes #326 - add test/eslintrc.js file to estlintignore

* closes #326 - update commit to have travis rebuild

* closes #326 - update commit to have travis rebuild

Co-authored-by: khoa <khoa@Anthonys-MacBook-Pro.local>
#325)

* closes #291 - make sure process exists before checking process.env and process.env.XXXX

* closes #291 - use single quotes

* closes #291 - update commit to have travis rebuild

* closes #291 - update commit to have travis rebuild

Co-authored-by: khoa <khoa@Anthonys-MacBook-Pro.local>
@rtd-helper
Copy link

rtd-helper bot commented Oct 14, 2020

The rtd-bot is activated, but no .github/config.yml found in this repository.
Make sure that you have it in your default branch.

@rtd-helper
Copy link

rtd-helper bot commented Oct 14, 2020

The rtd-bot is activated, but no .github/config.yml found in this repository.
Make sure that you have it in your default branch.

@rtd-helper
Copy link

rtd-helper bot commented Oct 14, 2020

The rtd-bot is activated, but no .github/config.yml found in this repository.
Make sure that you have it in your default branch.

@rtd-helper
Copy link

rtd-helper bot commented Oct 14, 2020

The rtd-bot is activated, but no .github/config.yml found in this repository.
Make sure that you have it in your default branch.

@rtd-helper
Copy link

rtd-helper bot commented Oct 14, 2020

The rtd-bot is activated, but no .github/config.yml found in this repository.
Make sure that you have it in your default branch.

Daniel Brain and others added 27 commits September 24, 2021 11:41
* chore: add tests related to zoid prop usage in the wild
* Pass container to prop definitions when available (#376)

* Avoid re-decorating the same prop multiple times

* Only use node 14 for github ci
…384)

* Pass container to prop definitions when available (#376)

* Avoid re-decorating the same prop multiple times

* Only use node 14 for github ci
}
}

export function getGlobal<T>(win : CrossDomainWindowType) : T {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'export' is only available in ES6 (use 'esversion: 6').
'function closure expressions' is only available in Mozilla JavaScript extensions (use moz option).
Expected '(' and instead saw '<'.
Expected ')' to match '(' from line 14 and instead saw ':'.
Expected ')' to match '<' from line 14 and instead saw '>'.
Expected an assignment or function call and instead saw an expression.
Expected an identifier and instead saw ')'.
Missing semicolon.
Unrecoverable syntax error. (35% scanned).

export function getGlobal(win? : CrossDomainWindowType = window) : Object {
export function getGlobalKey() : string {
if (__ZOID__.__SCRIPT_NAMESPACE__) {
return `${ __ZOID__.__GLOBAL_KEY__ }_${ getCurrentScriptUID() }`;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'template literal syntax' is only available in ES6 (use 'esversion: 6').

import { getCurrentScriptUID } from 'belter/src';

export function getGlobal(win? : CrossDomainWindowType = window) : Object {
export function getGlobalKey() : string {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'export' is only available in ES6 (use 'esversion: 6').
'function closure expressions' is only available in Mozilla JavaScript extensions (use moz option).
Expected an assignment or function call and instead saw an expression.
Expected an identifier and instead saw ':'.
Missing semicolon.

/* @flow */

import { isSameDomain, type CrossDomainWindowType } from 'cross-domain-utils/src';
import { getCurrentScriptUID } from 'belter/src';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').


import { runOnClick } from '../common';
import { zoid } from '../zoid';
import { runOnClick, getBody } from '../common';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'import' is only available in ES6 (use 'esversion: 6').

var req = new XMLHttpRequest();
var detectFunc = function () { };
req.onreadystatechange = detectFunc;
var result = req[zoneSymbol('fakeonreadystatechange')] === detectFunc;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'result' is already defined.
Too many errors. (89% scanned).

this[zoneSymbol('fakeonreadystatechange')] = value;
}
});
var req = new XMLHttpRequest();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'req' is already defined.

}
}
patchOnProperties(XMLHttpRequest.prototype, XMLHttpRequestEventNames);
var XMLHttpRequestEventTarget = _global['XMLHttpRequestEventTarget'];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['XMLHttpRequestEventTarget'] is better written in dot notation.

patchOnProperties(HTMLBodyElement.prototype, windowEventNames.concat(frameSetEventNames));
patchOnProperties(HTMLFrameElement.prototype, frameEventNames);
patchOnProperties(HTMLIFrameElement.prototype, frameEventNames);
var HTMLMarqueeElement_1 = window['HTMLMarqueeElement'];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['HTMLMarqueeElement'] is better written in dot notation.

patchOnProperties(window, eventNames, Object.getPrototypeOf(window));
patchOnProperties(Document.prototype, eventNames);
if (typeof window['SVGElement'] !== 'undefined') {
patchOnProperties(window['SVGElement'].prototype, eventNames);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

['SVGElement'] is better written in dot notation.

@westeezy westeezy deleted the branch Jankyboy:master January 27, 2022 16:08
@westeezy westeezy deleted the master branch January 27, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.