Comparing version 0.4.4 to 0.4.5
{ | ||
"name": "jsonld", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -5,2 +5,8 @@ # jsonld ChangeLog | ||
## [0.4.5] - 2016-01-19 | ||
### Fixed | ||
- N-Quads comments pattern. | ||
- Local tests. | ||
## [0.4.4] - 2016-01-08 | ||
@@ -56,3 +62,4 @@ | ||
[Unreleased]: https://github.com/digitalbazaar/jsonld/compare/0.4.4...HEAD | ||
[Unreleased]: https://github.com/digitalbazaar/jsonld/compare/0.4.5...HEAD | ||
[0.4.5]: https://github.com/digitalbazaar/jsonld/compare/0.4.4...0.4.5 | ||
[0.4.4]: https://github.com/digitalbazaar/jsonld/compare/0.4.3...0.4.4 | ||
@@ -59,0 +66,0 @@ [0.4.3]: https://github.com/digitalbazaar/jsonld/compare/0.4.2...0.4.3 |
{ | ||
"name": "jsonld", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -34,7 +34,10 @@ "homepage": "http://github.com/digitalbazaar/jsonld.js", | ||
"devDependencies": { | ||
"chai": "^3.2.0", | ||
"chai": "^3.4.1", | ||
"commander": "^2.8.0", | ||
"cors": "^2.7.1", | ||
"express": "^4.13.3", | ||
"istanbul": "^0.3.19", | ||
"jscs": "^2.1.1", | ||
"mocha": "^2.2.5", | ||
"jscs": "^2.8.0", | ||
"jshint": "^2.9.1", | ||
"mocha": "^2.3.4", | ||
"mocha-phantomjs": "~3.5.6", | ||
@@ -41,0 +44,0 @@ "phantomjs": "~1.9.18" |
@@ -0,21 +1,13 @@ | ||
var cors = require('cors'); | ||
var express = require('express'); | ||
var path = require('path'); | ||
var server = express(); | ||
var app = express(); | ||
server.configure(function() { | ||
server.use(express.methodOverride()); | ||
server.use(CORS); | ||
server.use(express.static(path.resolve(path.join(__dirname, 'contexts')))); | ||
app.use(cors()); | ||
app.use(express.static(path.resolve(path.join(__dirname, 'contexts')))); | ||
var port = 8000; | ||
app.listen(port, function() { | ||
console.log('Remote context test server running on port ' + port + '...'); | ||
}); | ||
// use CORS | ||
function CORS(req, res, next) { | ||
res.header('Access-Control-Allow-Origin', '*'); | ||
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE'); | ||
res.header('Access-Control-Allow-Headers', 'Content-Type'); | ||
next(); | ||
} | ||
server.listen(8000); | ||
console.log('Remote context test server running...'); |
@@ -179,3 +179,3 @@ /** | ||
compare: compareExpectedNQuads | ||
}, | ||
} | ||
}; | ||
@@ -182,0 +182,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
515052
64
10
12851