Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maven-deploy

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maven-deploy - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Changelog

## 1.3.1
* Add folders/directories to archive
* Update dependencies
## 1.3.0

@@ -8,0 +12,0 @@ * Revert breaking change accidentally shipped in 1.2.1

2

index.js

@@ -168,3 +168,3 @@ var fs = require('fs');

archive.file(convertPathIntoUnixLike(path.relative(conf.buildDir, filePath)), data);
archive.file(convertPathIntoUnixLike(path.relative(conf.buildDir, filePath)), data, {createFolders: true});
});

@@ -171,0 +171,0 @@

{
"name": "maven-deploy",
"version": "1.3.0",
"version": "1.3.1",
"description": "A simple Node.js module to create a war-/jar-package and install/deploy to a local/remote Maven repository",

@@ -28,8 +28,9 @@ "main": "index.js",

"dependencies": {
"coveralls": "^2.11.6",
"define-options": "^0.1.3",
"fs-walk": "0.0.1",
"isbinaryfile": "^2.0.4",
"isbinaryfile": "^3.0.0",
"jszip": "^2.5.0",
"semver": "^4.3.6",
"util-extend": "^1.0.1"
"semver": "^5.1.0",
"util-extend": "^1.0.3"
},

@@ -39,9 +40,9 @@ "devDependencies": {

"finn-js-code-style": "4.3.0",
"istanbul": "0.3.14",
"mocha": "2.2.5",
"mocha-lcov-reporter": "0.0.2",
"mock-fs": "2.7.0",
"proxyquire": "1.5.0",
"sinon": "1.14.1"
"istanbul": "^0.4.2",
"mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.0.0",
"mock-fs": "^3.7.0",
"proxyquire": "^1.7.3",
"sinon": "^1.17.3"
}
}

@@ -59,2 +59,8 @@ /* globals describe, it, beforeEach, afterEach */

function warFileInDistAsZip () {
var pathToWarFile = warFileInDist();
var context = fs.readFileSync('./dist/' + pathToWarFile);
return new JSZip(context);
}
function assertWarFileToEqual (expectedName) {

@@ -191,3 +197,3 @@ var warFile = warFileInDist();

config.finalName = '{name}-{version}';
maven.config(config);

@@ -221,13 +227,18 @@ maven.install();

it('should zip file with unix-style path', function () {
maven.config(TEST_CONFIG);
maven.package();
var pathToWarFile = warFileInDist();
var context = fs.readFileSync('./dist/' + pathToWarFile);
var zip = new JSZip(context);
var zip = warFileInDistAsZip();
assert.ok(zip.file('js/index.js'));
});
it('should zip file with non-virtual folders', function () {
maven.config(TEST_CONFIG);
maven.package();
var zip = warFileInDistAsZip();
assert.equal(zip.folder(/^js/).length, 1);
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc