Coder Social home page Coder Social logo

ice-cap's Introduction

ice-cap's People

Contributors

h13i32maru avatar madarauchiha avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ice-cap's Issues

babel-plugin is not enough

After running esdoc in gulp.shell, error occurred

$ 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)

Not a ES5 description is seen

$ grep 'class ' ./out/src/IceCap.js | wc -l
1
$ grep 'let ' ./out/src/IceCap.js | wc -l
25

The following is a modified plan of source

$ 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

Upgrade dependency cheerio

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 😇

Latest version is not compliant with color-logger

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.