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

copyright-header

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copyright-header - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

12

build/main/lib/cli.js

@@ -11,10 +11,10 @@ "use strict";

commander
.version(version)
.option('--copyrightHolder <name>', 'Copyright Holder')
.option('--fix', 'adds or updates copyright header to files', false)
.option('--templateId <id>', templates_1.TEMPLATE_IDS.join(' | '), templates_1.DEFAULT_TEMPLATE_ID)
.option('-i, --include <paths>', 'include regexp file filter', parseList, [])
.option('-e, --exclude <paths>', 'exclude regexp file filter', parseList, [])
.option('--fix', 'adds or updates copyright header to files', false)
.option('--copyrightHolder <name>', 'Copyright Holder')
.option('--forceModificationYear <year>', 'number | "present"')
.option('--excludeCommits <pattern>', 'ignores commits which message match this pattern')
.option('--templateId <id>', templates_1.TEMPLATE_IDS.join(' | '), templates_1.DEFAULT_TEMPLATE_ID)
.option('--forceModificationYear <year>', 'number | "present"');
.version(version);
const options = commander.parse(argv);

@@ -62,2 +62,2 @@ if (!options.copyrightHolder) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jbGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9DQUFvQzs7QUFFcEMseUNBQW9DO0FBQ3BDLHlEQUE4RTtBQUM5RSwyQ0FBMkU7QUFFM0UsbUNBQThDO0FBZTlDLFNBQWdCLE1BQU0sQ0FBQyxJQUFjLEVBQUUsT0FBTyxHQUFHLFNBQVM7SUFDeEQsTUFBTSxTQUFTLEdBQUcsSUFBSSxtQkFBTyxFQUFFLENBQUM7SUFDaEMsU0FBUztTQUNOLE9BQU8sQ0FBQyx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FDLENBQUMsZUFBZ0IsQ0FBQyxXQUFZLENBQUM7QUFDbkUsQ0FBQztBQXRDRCx3QkFzQ0M7QUFFRCxTQUFTLFdBQVcsQ0FBQyxPQUFlO0lBQ2xDLE9BQU8sQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDdkIscUJBQXNCO0FBQ3hCLENBQUM7QUFFRCxTQUFTLFNBQVMsQ0FBQyxHQUFXO0lBQzVCLE9BQU8sR0FBRyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUN4QixDQUFDO0FBRUQsU0FBUyxxQkFBcUIsQ0FBQyxJQUFZO0lBQ3pDLElBQUksSUFBSSxLQUFLLFNBQVMsRUFBRTtRQUN0QixPQUFPLFNBQVMsQ0FBQztLQUNsQjtTQUFNO1FBQ0wsTUFBTSxVQUFVLEdBQUcsUUFBUSxDQUFDLElBQUksRUFBRSxFQUFFLENBQUMsQ0FBQztRQUN0QyxJQUFJLEtBQUssQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUNyQixPQUFPLElBQUksS0FBSyxDQUFDLElBQUksSUFBSSx5REFBeUQsQ0FBQyxDQUFDO1NBQ3JGO1FBQ0QsT0FBTyxVQUFVLENBQUM7S0FDbkI7QUFDSCxDQUFDIn0=

@@ -8,3 +8,3 @@ "use strict";

apache: `
/**
/*
* Copyright $from$to $copyrightHolder

@@ -11,0 +11,0 @@ *

@@ -9,10 +9,10 @@ /* Copyright (c) 2018 Marco Stahl */

commander
.version(version)
.option('--copyrightHolder <name>', 'Copyright Holder')
.option('--fix', 'adds or updates copyright header to files', false)
.option('--templateId <id>', TEMPLATE_IDS.join(' | '), DEFAULT_TEMPLATE_ID)
.option('-i, --include <paths>', 'include regexp file filter', parseList, [])
.option('-e, --exclude <paths>', 'exclude regexp file filter', parseList, [])
.option('--fix', 'adds or updates copyright header to files', false)
.option('--copyrightHolder <name>', 'Copyright Holder')
.option('--forceModificationYear <year>', 'number | "present"')
.option('--excludeCommits <pattern>', 'ignores commits which message match this pattern')
.option('--templateId <id>', TEMPLATE_IDS.join(' | '), DEFAULT_TEMPLATE_ID)
.option('--forceModificationYear <year>', 'number | "present"');
.version(version);
const options = commander.parse(argv);

@@ -59,2 +59,2 @@ if (!options.copyrightHolder) {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jbGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0NBQW9DO0FBRXBDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDcEMsT0FBTyxFQUFFLDRCQUE0QixFQUFjLE1BQU0sb0JBQW9CLENBQUM7QUFDOUUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFFM0UsT0FBTyxFQUFFLFdBQVcsRUFBVSxNQUFNLFNBQVMsQ0FBQztBQWU5QyxNQUFNLFVBQVUsTUFBTSxDQUFDLElBQWMsRUFBRSxPQUFPLEdBQUcsU0FBUztJQUN4RCxNQUFNLFNBQVMsR0FBRyxJQUFJLE9BQU8sRUFBRSxDQUFDO0lBQ2hDLFNBQVM7U0FDTixPQUFPLENBQUMsT0FBTyxDQUFDO1NBQ2hCLE1BQU0sQ0FBQyx1QkFBdUIsRUFBRSw0QkFBNEIsRUFBRSxTQUFTLEVBQUUsRUFBRSxDQUFDO1NBQzVFLE1BQU0sQ0FBQyx1QkFBdUIsRUFBRSw0QkFBNEIsRUFBRSxTQUFTLEVBQUUsRUFBRSxDQUFDO1NBQzVFLE1BQU0sQ0FBQyxPQUFPLEVBQUUsMkNBQTJDLEVBQUUsS0FBSyxDQUFDO1NBQ25FLE1BQU0sQ0FBQywwQkFBMEIsRUFBRSxrQkFBa0IsQ0FBQztTQUN0RCxN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RUQsU0FBUyxTQUFTLENBQUMsR0FBVztJQUM1QixPQUFPLEdBQUcsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDeEIsQ0FBQztBQUVELFNBQVMscUJBQXFCLENBQUMsSUFBWTtJQUN6QyxJQUFJLElBQUksS0FBSyxTQUFTLEVBQUU7UUFDdEIsT0FBTyxTQUFTLENBQUM7S0FDbEI7U0FBTTtRQUNMLE1BQU0sVUFBVSxHQUFHLFFBQVEsQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFDdEMsSUFBSSxLQUFLLENBQUMsVUFBVSxDQUFDLEVBQUU7WUFDckIsT0FBTyxJQUFJLEtBQUssQ0FBQyxJQUFJLElBQUkseURBQXlELENBQUMsQ0FBQztTQUNyRjtRQUNELE9BQU8sVUFBVSxDQUFDO0tBQ25CO0FBQ0gsQ0FBQyJ9

@@ -6,3 +6,3 @@ /* Copyright (c) 2018 Marco Stahl */

apache: `
/**
/*
* Copyright $from$to $copyrightHolder

@@ -9,0 +9,0 @@ *

@@ -5,2 +5,12 @@ # Change Log

<a name="0.4.3"></a>
## [0.4.3](https://github.com/shybyte/copyright-header/compare/v0.4.2...v0.4.3) (2018-08-08)
### Bug Fixes
* Use normal comments (no *doc comments) in apache template ([047303e](https://github.com/shybyte/copyright-header/commit/047303e))
<a name="0.4.2"></a>

@@ -7,0 +17,0 @@ ## [0.4.2](https://github.com/shybyte/copyright-header/compare/v0.4.0...v0.4.2) (2018-08-06)

{
"name": "copyright-header",
"version": "0.4.2",
"version": "0.4.3",
"description": "Validate, add and update copyright headers automatically, based on the git history.",

@@ -5,0 +5,0 @@ "bin": {

@@ -26,3 +26,7 @@ # Copyright-Header

npm i -D copyright-header
# Usage Hints
* Use it inside of a git repo.
* It will only affect files tracked by git.

@@ -39,2 +43,21 @@ ## Usage Examples (assuming global installation)

# Options
Usage: copyright-header [options]
Options:
--copyrightHolder <name> Copyright Holder
--fix adds or updates copyright header to files
--templateId <id> minimal | apache (default: minimal)
-i, --include <paths> include regexp file filter (default: )
-e, --exclude <paths> exclude regexp file filter (default: )
--forceModificationYear <year> number | "present"
--excludeCommits <pattern> ignores commits which message match this pattern
-V, --version output the version number
-h, --help output usage information
## License

@@ -41,0 +64,0 @@

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