h13i32maru / ice-cap Goto Github PK
View Code? Open in Web Editor NEWIceCap - Programmable DOM-based HTML template library.
License: MIT License
IceCap - Programmable DOM-based HTML template library.
License: MIT License
$ gulp build.esdoc
...
/Users/shunitoh/git/.../node_modules/ice-cap/out/src/IceCap.js:18
let logger = new _colorLogger2.default('IceCap');
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/shunitoh/git/.../node_modules/esdoc/out/src/Publisher/publish.js:20:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
[16:03:07] 'build.esdoc' errored after 388 ms
[16:03:07] Error: Command `esdoc -c ./esdoc.json` failed with exit code 1
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket.<anonymous> (child_process.js:1183:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:485:12)
$ grep 'class ' ./out/src/IceCap.js | wc -l
1
$ grep 'let ' ./out/src/IceCap.js | wc -l
25
$ git diff ./package.json
- "babel-plugin-transform-es2015-modules-commonjs": "6.7.0",
- "babel-plugin-transform-es2015-destructuring": "6.6.5",
- "babel-plugin-transform-es2015-parameters": "6.7.0",
- "babel-plugin-transform-es2015-spread": "6.6.5",
+ "babel-preset-es2015": "^6.6.0",
$ git diff .babelrc
{
- "plugins": [
- "transform-es2015-modules-commonjs",
- "transform-es2015-destructuring",
- "transform-es2015-parameters",
- "transform-es2015-spread"
- ]
+ "presets": ["es2015"]
}
Please consider
I was looking threw the dependencies of ice-cap. You have an old version of cheerio 0.20.0 as a dependency. This old version has jsdom 7.0.2 registered as an optional dependency. This old version of jsdom still uses the deprecated request package.
Because some packages, e.g., esdoc, use your package, many developers would be pleased if you upgrade this dependency 😄
Thank you! Antony 😇
Please add version numbers to package.json. I am experiencing this npm bug as a result of the ""
: npm/npm#11493
The latest version of ice-cap is not compliant with the latest version of color-logger.
Color-logger no longer seems to support tags. But on line 5 of ice-cap.js you try and create a new logger with a tag. I believe the way around this is simply to get rid of the "new Logger" call and set your import to the upper-cased Logger
Cross Reference too Color-Logger issue: h13i32maru/color-logger#1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.