Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "rijs.pages", | ||
"version": "1.1.0", | ||
"main": "dist", | ||
"version": "1.2.0", | ||
"main": "index", | ||
"browser": "./node_modules/utilise/identity.js", | ||
@@ -12,10 +12,6 @@ "author": "Pedram Emrouznejad (https://github.com/pemrouz)", | ||
"scripts": { | ||
"ignore": "find ./dist -type f -exec sed -i \"s/function _interopRequire/\\/* istanbul ignore next *\\/\\nfunction _interopRequire/g\" {} ;", | ||
"babel": "babel src -d dist", | ||
"clean": "rm -rf dist && mkdir dist", | ||
"build": "npm run clean && npm run babel && npm run ignore", | ||
"test": "istanbul test ./node_modules/mocha/bin/_mocha --report html -- -R spec", | ||
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && rm -rf ./coverage", | ||
"cov": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec", | ||
"version": "npm run build && git add -A", | ||
"version": "git add -A", | ||
"postversion": "git push && git push --tags" | ||
@@ -25,7 +21,3 @@ }, | ||
"devDependencies": { | ||
"babel-cli": "*", | ||
"babel-preset-es2015": "*", | ||
"browserify": "*", | ||
"chai": "*", | ||
"popper": "*", | ||
"coveralls": "*", | ||
@@ -35,3 +27,2 @@ "istanbul": "*", | ||
"mocha-lcov-reporter": "*", | ||
"uglify-js": "*", | ||
"rijs": "*", | ||
@@ -42,4 +33,6 @@ "supertest": "^1.0.1" | ||
"compression": "^1.6.2", | ||
"express": "^4.16.2", | ||
"serve-static": "^1.13.1", | ||
"utilise": "*" | ||
} | ||
} |
@@ -5,3 +5,3 @@ var expect = require('chai').expect | ||
, server = require('http').createServer(app) | ||
, pages = require('./').default({}, { server, dir: __dirname + '/src' }) | ||
, pages = require('./')({}, { server, dir: __dirname }) | ||
@@ -11,7 +11,7 @@ describe('Serve Pages', function() { | ||
it('should pass over serverless node', function(){ | ||
expect(require('./').default({})).to.be.eql({}) | ||
expect(require('./')({})).to.be.eql({}) | ||
}) | ||
it('should gracefully proceed if no server/dir', function(){ | ||
expect(require('./').default({}, {})).to.be.eql({}) | ||
expect(require('./')({}, {})).to.be.eql({}) | ||
}) | ||
@@ -18,0 +18,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7
1
3775
4
7
62
+ Addedexpress@^4.16.2
+ Addedserve-static@^1.13.1
+ Addedaccepts@1.3.8(transitive)
+ Addedarray-flatten@1.1.1(transitive)
+ Addedbody-parser@1.20.3(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcontent-disposition@0.5.4(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcookie@0.7.1(transitive)
+ Addedcookie-signature@1.0.6(transitive)
+ Addeddepd@2.0.0(transitive)
+ Addeddestroy@1.2.0(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedencodeurl@1.0.22.0.0(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedescape-html@1.0.3(transitive)
+ Addedetag@1.8.1(transitive)
+ Addedexpress@4.21.2(transitive)
+ Addedfinalhandler@1.3.1(transitive)
+ Addedforwarded@0.2.0(transitive)
+ Addedfresh@0.5.2(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhttp-errors@2.0.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedipaddr.js@1.9.1(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmedia-typer@0.3.0(transitive)
+ Addedmerge-descriptors@1.0.3(transitive)
+ Addedmethods@1.1.2(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedms@2.1.3(transitive)
+ Addednegotiator@0.6.3(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedon-finished@2.4.1(transitive)
+ Addedparseurl@1.3.3(transitive)
+ Addedpath-to-regexp@0.1.12(transitive)
+ Addedproxy-addr@2.0.7(transitive)
+ Addedqs@6.13.0(transitive)
+ Addedrange-parser@1.2.1(transitive)
+ Addedraw-body@2.5.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsend@0.19.0(transitive)
+ Addedserve-static@1.16.2(transitive)
+ Addedsetprototypeof@1.2.0(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedstatuses@2.0.1(transitive)
+ Addedtoidentifier@1.0.1(transitive)
+ Addedtype-is@1.6.18(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addedutils-merge@1.0.1(transitive)