GithubHelp home page GithubHelp logo

nodeblog's People

Contributors

chemdemo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nodeblog's Issues

package.json包里的 “*”问题

package.json 文件中有些依赖包写成“*”:

 "dependencies": {
    "express": "3.0.6",
    "mongodb": "*",
    "mongoose": "*",
    "validator": "*",
    "async": "*",
    "eventproxy": "*",
    "connect-domain": "~0.5.0",
    "underscore": "~1.5.1",
    "consolidate": "~0.9.1",
    "highlight.js": "~7.3.0",
    "marked": "~0.2.9",
    "swig": "~1.0.0-rc1",
    "connect-redis": "1.4.7"
  },

以上, 建议使用具体版本(或相近版本)替换“*”, 如:其中的 “validator” 模块 2.X 开始就将 “XSS ”方法移除;而您代码里使用“xss”方法, 导致 npm install 安装最新版(3.X)时代码无法正常执行。
(本人将 "validator"设置为1.x版本后解决)

.gitignore里内容小疑惑

/web/edit.html
/web/index.html
/web/post.html

以上三个 文件不是库文件, 为什么要忽略他们的更新?

而且现有的代码里也没用它们吧?

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.