Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Licensing Plan #60

Open
tunnckoCore opened this issue Oct 18, 2019 · 2 comments
Open

Licensing Plan #60

tunnckoCore opened this issue Oct 18, 2019 · 2 comments
Labels
Priority: Critical This should be dealt with ASAP. Not fixing this issue would be a serious error. Status: In Progress This issue is being worked on, and has someone assigned. Type: Documentation An Issue or Pull Request for improving or updating documentation. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity, without a functionality.

Comments

@tunnckoCore
Copy link
Owner

tunnckoCore commented Oct 18, 2019

Basically. A more clear explanation soon.

  • LICENSING.md - describe the process & the different licenses, answer questions, and etc.
  • LICENSE.md - quadruple licensed (when all have SPDX IDs, put them on license field too).
    • (Parity-7.0.0 AND Prosperity-3.0.0) OR Patron-1.0.0 OR Private License
    • all by @licensezero
  • For contributors, BlueOak Model v1.0.0 (consider allowing Apache-2.0), waiving their rights to me and the other CODEOWNERS and maintainers - through CLA bot. That's because to be able to sell private licenses more securely?
  • For significant contributions:
    • inclusion in monorepo as CODE OWNER to some/all packages dirs
    • inclusion in the split of the profits from Patron and/or Private Licenses
  • Patron License is subscription-based, you can get it at GumRoad (cards + paypal)
  • There's also "tunnckoCore Recurring Donation" as support/donation mechanism, instead of other platforms like Patreon, Paypal, Paypal.me, OpenCollective, Ko-Fi and so on.

All this is until I get Stripe account and switch to LicenseZero CLI, which will be soon when register the company in UK. Or probably we can think of something in parallel then, or I don't know, will see.

Should be noted that when subscribing for Patron License or buying Private License, you get access to all the source code and packages in this monorepo. It's not per package, but for all!

All packages, code, and documentation are under the following

All this basically means the following:

  • under Parity, similar to GPL (but not so strict and viral), you should open source your work and larger work, under ANY permissive license;
  • under Prosperity, you cannot use it for commercial/monetary as stated there;
  • Patron License, subsription-based through Gumroad for 1/3/6/12 months, Patreon or PayPal
    • it's possible for even more, contact legal@tunnckocore.com

Examples

CodeceptJS (using parse-function)

Since they opensource the whole of their work as MIT, they use the software under Parity.

Renovate (using get-installed-path)

get-installed-path is not yet in this monorepo, but will be

The whole Renovate is open-sourced under AGPL, but since it have Pro plan, assuming that it can be sold (which triggers the Prosperity's "any manner primarily intended for or directed toward commercial advantage or private monetary compensation"), this means that its usage of get-installed-path can't fall under the Parity AND Prosperity condition, so it should go for Patron License or Private license, OR stick to the last version which isn't using this licensing. Which for this case is get-installed-path@4.0.8.

As of November, Renovate is part of WhiteSource and is completely opensource and free, and so it doesn't have problem using get-installed-path or any other package.

@tunnckoCore tunnckoCore added Priority: Critical This should be dealt with ASAP. Not fixing this issue would be a serious error. Status: In Progress This issue is being worked on, and has someone assigned. Type: Documentation An Issue or Pull Request for improving or updating documentation. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity, without a functionality. labels Oct 18, 2019
tunnckoCore pushed a commit that referenced this issue Oct 18, 2019
…to v1.0.8 (#60)

Signed-off-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
tunnckoCore pushed a commit that referenced this issue Oct 18, 2019
* fix(rename): rename "result.valid" to "result.isValid"
* docs(isValid): update docs because isValid change
* fix(rename): the "result.orig" to "result.value"
* docs(result): update docs for "result.orig" to "result.value" change
* docs(api): update docs
* feat(benchmarks): add benchmarks
* test(espree): add tests using espree parser
* chore(yarn): force update
* docs(tips): add Pro Tips section
* docs(related): update related libs
* fix(package): add engines field
* chore(release): 3.0.0
* refactor(index): plugins api, more tests, support es6 method notation
* fix(package): bump to babylon@next
* fix(codeclimate): xx
* fix(style): codeclimate issues
* test(*): clarify a bit the tests for "anonymous" functions
* fix(package): force update yarn
* docs(*): update readme, description and site url
* fix(package): update deps and npm scripts, fix travis/appveyor
* chore(package): standard ignore benchmark dir
* fix(package): fix linting
* feat(methods): reorganize repo, introduce ".use" and ".parse" methods
* fix(codeclimate): analize lib folder
* docs(api): start docs
* docs(api): update api docs
* docs(readme): update usage example
* docs(readme): add Features and few more sections
* fix(.use): allow plugins that just extends the core api and not return a 
* docs(notes): add human description on the Plugins Architecture
* docs(readme): better navigation
* chore(release): 4.0.0
* fix(package): include files in npm package
* fix(arrows): bug when found arrow on function body
* docs(readme): update
* chore(release): 4.0.1
* fix(objectMethod): bug when default arguments is used in object method
* docs(links): update links pointing to test.js file
* chore(release): 4.0.2
* fix(tests): make it work on node 4
* chore(release): 4.0.3
* chore(renovate): Configure Renovate (#34)
* Add renovate.json
* chore(renovate): update config
* refactor(deps): Pin Dependencies (#36)
* fix(renovate/deps): Update dependency define-property to version ^1.0.0
* chore(renovate/devDeps): Update dependency acorn to version 5.1.1
* chore(renovate/devDeps): Update dependency benchmarked to version 1.1.1
* chore(deps): pin prod deps
* fix(renovate/deps): Update dependency babylon to version 7.0.0-beta.18
* chore(renovate/devDeps): Update dependency clone-deep to version 1.0.0
* chore(renovate/devDeps): Update dependency cz-conventional-changelog to version 2.0.0

* chore(renovate/devDeps): Update dependency for-in to version 1.0.2
* chore(renovate/devDeps): Update dependency nyc to version 11.1.0
* chore(renovate/devDeps): Update dependency standard to version 10.0.2
* fix(renovate/deps): update dependency babylon to version 7.0.0-beta.19
* chore(renovate/devDeps): update dependency espree to v3.5.0
* chore(deps): update lock file
* chore(renovate/devDeps): update dependency standard to v10.0.3
* major(release): BREAKING CHANGE: Require Node.js >= 6 & npm >= 5
* fix(readme): generate readme
* fix(logo): fix logo to be centered
* fix(readme): add features section again
* fix(sr): fix semantic-release added things
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 
* fix(codeclimate): add config file, to exclude benchmarks
* fix(pkg): fix codeclimate and npm script for release
* chore(bump): force bump hela to latest, update renovate config
* chore(nyc): bump everything to 100%
* chore(benchmarks): remove them since we dont need
* fix(build): move to es6 modules by default
* fix(deps): bump hela to latest
* fix(deps): force bump to hela@0.4.0; include fresh script
* fix(deps): bump hela
* chore(devDeps): update dependency hela to v0.4.2
* fix(deps): update deps, renovate config, contrib file
* chore(devDeps): update dependency hela to v0.5.4
* chore(devDeps): update dependency hela to v0.5.5
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 
* fix(misc): update codeclimate
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.5
* chore(devDeps): update dependency semantic-release to ^7.0.0 (#45)
* chore(devDeps): update dependency hela to v0.5.6
* chore(devDeps): update dependency hela to v0.5.7
* chore(devDeps): update dependency eslint to v4.5.0
* chore(devDeps): update dependency hela to v0.5.8
* fix(deps): update dependency babylon to v7.0.0-beta.20
* chore(devDeps): update dependency hela to v0.5.9
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.6
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.7
* chore(devDeps): update dependency hela to v0.6.0
* chore(devDeps): update dependency hela to v0.7.0
* fix(deps): update dependency babylon to v7.0.0-beta.21
* chore(devDeps): update dependency hela to v0.7.2
* fix(deps): update dependency babylon to v7.0.0-beta.22
* chore(devDeps): update dependency hela to v0.7.3
* chore(devDeps): update dependency eslint to v4.6.0
* chore(devDeps): update dependency eslint to v4.6.1
* chore(devDeps): update dependency acorn to v5.1.2
* chore(devDeps): update dependency hela to v0.7.4
* chore(devDeps): update dependency hela to v0.7.5
* chore(renovate): update config to try DCO
* chore(cfg): update renovate config
* chore(devDeps): update dependency hela to v0.7.6 (#49)
* chore(devDeps): update dependency hela to 0.7.6
* chore(deps): update Signed-off-by tag
* chore(devDeps): update dependency hela to 0.7.7
* fix(deps): update dependency babylon to 7.0.0-beta.23
* chore(devDeps): update dependency eslint to 4.7.0
* chore(devDeps): update dependency espree to 3.5.1
* chore(devDeps): update dependency eslint to 4.7.1
* fix(deps): update dependency babylon to 7.0.0-beta.24
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.8 (#60)
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 1.0.9
* fix(deps): update dependency babylon to 7.0.0-beta.25
* fix(arrows): handle async arrow functions
* add case for async arrow functions when wrapping
* add missing `done()` to test case
* fix(deps): update dependency babylon to 7.0.0-beta.26
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 1.0.10
* fix(deps): update dependency babylon to 7.0.0-beta.27
* chore(devDeps): update dependency eslint to 4.8.0
* fix(boilerplate): update stuff and modernize tests
* fix(docs): update dogs
* fix(deps): force update hela preset, activate semantic-release
* fix(renovate): test use of shareable configs
* fix(renovate): pin all deps, pr not pending
* refactor(deps): renovate pin dependencies packages (#70)
* chore(deps): update dependency hela to v1.1.3
* fix(misc): force update
* fix(docs): publish docs folder
* Set theme jekyll-theme-minimal
* Set theme jekyll-theme-cayman
* fix(deps): update dependency babylon to v7.0.0-beta.28
* fix(deps): update dependency babylon to v7.0.0-beta.29
* fix: remove yarn release
* fix(deps): update dependency babylon to v7.0.0-beta.30
* chore(deps): update dependency acorn to v5.2.0
* chore(deps): update dependency acorn to v5.2.1
* fix(deps): update dependency babylon to v7.0.0-beta.31
* chore(deps): update dependency espree to v3.5.2
* fix(deps): update dependency babylon to v7.0.0-beta.32
* chore(deps): update dependency clone-deep to v2.0.1
* fix(deps): update dependency babylon to v7.0.0-beta.33
* fix(deps): update dependency define-property to v2.0.0
* fix(deps): update dependency babylon to v7.0.0-beta.34
* fix(deps): update dependency babylon to v7.0.0-beta.35
* fix(deps): update dependency babylon to v7.0.0-beta.36
* chore(deps): update dependency acorn to v5.3.0
* fix(deps): update dependency babylon to v7.0.0-beta.37
* fix(deps): update dependency babylon to v7.0.0-beta.38
* chore(deps): update dependency clone-deep to v2.0.2
* fix(deps): update dependency define-property to v2.0.1
* fix(deps): update dependency define-property to v2.0.2
* fix(deps): update dependency babylon to v7.0.0-beta.39
* chore(deps): update dependency acorn to v5.4.0
* chore(deps): update dependency acorn to v5.4.1
* chore(deps): update dependency espree to v3.5.3
* feat(params): add support for list of expressions as default value (#111)

(a = (doSomething(), doSomethingElse(), true)) => {} is a prefectly valid syntax that is used
extensively by code instrumenters. When a list of expressions is used as a default value, only the
last expression is the actual default value. This commit add support for this syntax.
TAG: latest

fixes #110

* chore(readme): update nsp id
* chore(readme): fix links for NodeSecurity
* chore(readme): update releasing badge
* fix(dist): include bundles in dist, so in npm package
* fix(deps): update dependency babylon to v7.0.0-beta.40
* chore: 5.1.2 manual publish
* fix(deps): use new-release package for automatic publishing
* fix(ci): use npx in travis and test only on node 6
* fix(releasing): update readme and travis
* fix(misc): obviously manual publishing...
* chore(readme): fix badges and readme
* fix(stuff): finally release and publish with dist/index.js
* chore(deps): update dependency acorn to v5.5.0
* feat(result): values of default params to be always strings (#121)

Changes in [Result object](https://github.com/tunnckoCore/parse-function#result)!

**Possible breaking change, if you depend on values of `result.defaults`!**

Now `result.defaults` is key/value pairs as before, but the value is always of type `string` or `undefined`!
Casting of values is delegated to the end user which before was not consistent and was actual value of the default parameter.

Example **(before)**:

```js
const result = app.parse('(a = 123) => {}')
console.log(result.defaults)
// => { a: 123 }
```

Example **(after)**:

```js
const result = app.parse('(a = 123) => {}')

// notice that `123` now is string!
console.log(result.defaults)
// => { a: '123' }
```

* chore: publish v5.2.0 to npm
* chore(deps): update dependency espree to v3.5.4
* fix: release 5.2.1 with dist folder
* fix(release): add new-release to publish on CI
* fix(release): add new-release to publish on CI - 2
* fix(ci): switch to CircleCI
* fix: circle config update

* fix: circle config update

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(ci): update readme badges and CircleCI config

* fix(pkg): placeholder

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.5.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.5.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.41

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.42

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update circleci/node to tag 8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update circleci/node:8 digest

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.43

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.44

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency clone-deep to v4.0.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.45

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.46

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.47

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.6

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.7

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore: update build badge

* chore: update codecov badge

* chore(deps): update dependency husky to v1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix: say "Bye bye!" to NodeSecurityProject ;(

It was a great service. Sadly @npm bought them and integrated it into their CLI, which totally sucks, because if you don't use npm you lose that cool functionality.

* chore(deps): update dependency new-release to v4.0.8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v4.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.9

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update new-release to latest

* chore(deps): update dependency husky to v1.1.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v5.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.2.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency clone-deep to v4.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.2.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.3.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.3.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v5.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency arrify to v2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.4.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.4.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.5.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.6.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore: add GitHub Sponsoring button (funding file)

* chore(github/funding): fix typo

* chore(funding): re-fix the typo

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore(deps): update dependency husky to v2.7.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6.1.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.7

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.9

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* feat: add parse-function to monorepo

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore: fmt

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore: wrong place

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>
tunnckoCore pushed a commit that referenced this issue Oct 18, 2019
* fix(rename): rename "result.valid" to "result.isValid"
* docs(isValid): update docs because isValid change
* fix(rename): the "result.orig" to "result.value"
* docs(result): update docs for "result.orig" to "result.value" change
* docs(api): update docs
* feat(benchmarks): add benchmarks
* test(espree): add tests using espree parser
* chore(yarn): force update
* docs(tips): add Pro Tips section
* docs(related): update related libs
* fix(package): add engines field
* chore(release): 3.0.0
* refactor(index): plugins api, more tests, support es6 method notation
* fix(package): bump to babylon@next
* fix(codeclimate): xx
* fix(style): codeclimate issues
* test(*): clarify a bit the tests for "anonymous" functions
* fix(package): force update yarn
* docs(*): update readme, description and site url
* fix(package): update deps and npm scripts, fix travis/appveyor
* chore(package): standard ignore benchmark dir
* fix(package): fix linting
* feat(methods): reorganize repo, introduce ".use" and ".parse" methods
* fix(codeclimate): analize lib folder
* docs(api): start docs
* docs(api): update api docs
* docs(readme): update usage example
* docs(readme): add Features and few more sections
* fix(.use): allow plugins that just extends the core api and not return a
* docs(notes): add human description on the Plugins Architecture
* docs(readme): better navigation
* chore(release): 4.0.0
* fix(package): include files in npm package
* fix(arrows): bug when found arrow on function body
* docs(readme): update
* chore(release): 4.0.1
* fix(objectMethod): bug when default arguments is used in object method
* docs(links): update links pointing to test.js file
* chore(release): 4.0.2
* fix(tests): make it work on node 4
* chore(release): 4.0.3
* chore(renovate): Configure Renovate (#34)
* Add renovate.json
* chore(renovate): update config
* refactor(deps): Pin Dependencies (#36)
* fix(renovate/deps): Update dependency define-property to version ^1.0.0
* chore(renovate/devDeps): Update dependency acorn to version 5.1.1
* chore(renovate/devDeps): Update dependency benchmarked to version 1.1.1
* chore(deps): pin prod deps
* fix(renovate/deps): Update dependency babylon to version 7.0.0-beta.18
* chore(renovate/devDeps): Update dependency clone-deep to version 1.0.0
* chore(renovate/devDeps): Update dependency cz-conventional-changelog to version 2.0.0

* chore(renovate/devDeps): Update dependency for-in to version 1.0.2
* chore(renovate/devDeps): Update dependency nyc to version 11.1.0
* chore(renovate/devDeps): Update dependency standard to version 10.0.2
* fix(renovate/deps): update dependency babylon to version 7.0.0-beta.19
* chore(renovate/devDeps): update dependency espree to v3.5.0
* chore(deps): update lock file
* chore(renovate/devDeps): update dependency standard to v10.0.3
* major(release): BREAKING CHANGE: Require Node.js >= 6 & npm >= 5
* fix(readme): generate readme
* fix(logo): fix logo to be centered
* fix(readme): add features section again
* fix(sr): fix semantic-release added things
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to
* fix(codeclimate): add config file, to exclude benchmarks
* fix(pkg): fix codeclimate and npm script for release
* chore(bump): force bump hela to latest, update renovate config
* chore(nyc): bump everything to 100%
* chore(benchmarks): remove them since we dont need
* fix(build): move to es6 modules by default
* fix(deps): bump hela to latest
* fix(deps): force bump to hela@0.4.0; include fresh script
* fix(deps): bump hela
* chore(devDeps): update dependency hela to v0.4.2
* fix(deps): update deps, renovate config, contrib file
* chore(devDeps): update dependency hela to v0.5.4
* chore(devDeps): update dependency hela to v0.5.5
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to
* fix(misc): update codeclimate
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.5
* chore(devDeps): update dependency semantic-release to ^7.0.0 (#45)
* chore(devDeps): update dependency hela to v0.5.6
* chore(devDeps): update dependency hela to v0.5.7
* chore(devDeps): update dependency eslint to v4.5.0
* chore(devDeps): update dependency hela to v0.5.8
* fix(deps): update dependency babylon to v7.0.0-beta.20
* chore(devDeps): update dependency hela to v0.5.9
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.6
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.7
* chore(devDeps): update dependency hela to v0.6.0
* chore(devDeps): update dependency hela to v0.7.0
* fix(deps): update dependency babylon to v7.0.0-beta.21
* chore(devDeps): update dependency hela to v0.7.2
* fix(deps): update dependency babylon to v7.0.0-beta.22
* chore(devDeps): update dependency hela to v0.7.3
* chore(devDeps): update dependency eslint to v4.6.0
* chore(devDeps): update dependency eslint to v4.6.1
* chore(devDeps): update dependency acorn to v5.1.2
* chore(devDeps): update dependency hela to v0.7.4
* chore(devDeps): update dependency hela to v0.7.5
* chore(renovate): update config to try DCO
* chore(cfg): update renovate config
* chore(devDeps): update dependency hela to v0.7.6 (#49)
* chore(devDeps): update dependency hela to 0.7.6
* chore(deps): update Signed-off-by tag
* chore(devDeps): update dependency hela to 0.7.7
* fix(deps): update dependency babylon to 7.0.0-beta.23
* chore(devDeps): update dependency eslint to 4.7.0
* chore(devDeps): update dependency espree to 3.5.1
* chore(devDeps): update dependency eslint to 4.7.1
* fix(deps): update dependency babylon to 7.0.0-beta.24
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to v1.0.8 (#60)
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 1.0.9
* fix(deps): update dependency babylon to 7.0.0-beta.25
* fix(arrows): handle async arrow functions
* add case for async arrow functions when wrapping
* add missing `done()` to test case
* fix(deps): update dependency babylon to 7.0.0-beta.26
* chore(devDeps): update dependency eslint-config-standard-tunnckocore to 1.0.10
* fix(deps): update dependency babylon to 7.0.0-beta.27
* chore(devDeps): update dependency eslint to 4.8.0
* fix(boilerplate): update stuff and modernize tests
* fix(docs): update dogs
* fix(deps): force update hela preset, activate semantic-release
* fix(renovate): test use of shareable configs
* fix(renovate): pin all deps, pr not pending
* refactor(deps): renovate pin dependencies packages (#70)
* chore(deps): update dependency hela to v1.1.3
* fix(misc): force update
* fix(docs): publish docs folder
* Set theme jekyll-theme-minimal
* Set theme jekyll-theme-cayman
* fix(deps): update dependency babylon to v7.0.0-beta.28
* fix(deps): update dependency babylon to v7.0.0-beta.29
* fix: remove yarn release
* fix(deps): update dependency babylon to v7.0.0-beta.30
* chore(deps): update dependency acorn to v5.2.0
* chore(deps): update dependency acorn to v5.2.1
* fix(deps): update dependency babylon to v7.0.0-beta.31
* chore(deps): update dependency espree to v3.5.2
* fix(deps): update dependency babylon to v7.0.0-beta.32
* chore(deps): update dependency clone-deep to v2.0.1
* fix(deps): update dependency babylon to v7.0.0-beta.33
* fix(deps): update dependency define-property to v2.0.0
* fix(deps): update dependency babylon to v7.0.0-beta.34
* fix(deps): update dependency babylon to v7.0.0-beta.35
* fix(deps): update dependency babylon to v7.0.0-beta.36
* chore(deps): update dependency acorn to v5.3.0
* fix(deps): update dependency babylon to v7.0.0-beta.37
* fix(deps): update dependency babylon to v7.0.0-beta.38
* chore(deps): update dependency clone-deep to v2.0.2
* fix(deps): update dependency define-property to v2.0.1
* fix(deps): update dependency define-property to v2.0.2
* fix(deps): update dependency babylon to v7.0.0-beta.39
* chore(deps): update dependency acorn to v5.4.0
* chore(deps): update dependency acorn to v5.4.1
* chore(deps): update dependency espree to v3.5.3
* feat(params): add support for list of expressions as default value (#111)

(a = (doSomething(), doSomethingElse(), true)) => {} is a prefectly valid syntax that is used
extensively by code instrumenters. When a list of expressions is used as a default value, only the
last expression is the actual default value. This commit add support for this syntax.
TAG: latest

fixes #110

* chore(readme): update nsp id
* chore(readme): fix links for NodeSecurity
* chore(readme): update releasing badge
* fix(dist): include bundles in dist, so in npm package
* fix(deps): update dependency babylon to v7.0.0-beta.40
* chore: 5.1.2 manual publish
* fix(deps): use new-release package for automatic publishing
* fix(ci): use npx in travis and test only on node 6
* fix(releasing): update readme and travis
* fix(misc): obviously manual publishing...
* chore(readme): fix badges and readme
* fix(stuff): finally release and publish with dist/index.js
* chore(deps): update dependency acorn to v5.5.0
* feat(result): values of default params to be always strings (#121)

Changes in [Result object](https://github.com/tunnckoCore/parse-function#result)!

**Possible breaking change, if you depend on values of `result.defaults`!**

Now `result.defaults` is key/value pairs as before, but the value is always of type `string` or `undefined`!
Casting of values is delegated to the end user which before was not consistent and was actual value of the default parameter.

Example **(before)**:

```js
const result = app.parse('(a = 123) => {}')
console.log(result.defaults)
// => { a: 123 }
```

Example **(after)**:

```js
const result = app.parse('(a = 123) => {}')

// notice that `123` now is string!
console.log(result.defaults)
// => { a: '123' }
```

* chore: publish v5.2.0 to npm
* chore(deps): update dependency espree to v3.5.4
* fix: release 5.2.1 with dist folder
* fix(release): add new-release to publish on CI
* fix(release): add new-release to publish on CI - 2
* fix(ci): switch to CircleCI
* fix: circle config update

* fix: circle config update

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(ci): update readme badges and CircleCI config

* fix(pkg): placeholder

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.5.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.5.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.41

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.42

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update circleci/node to tag 8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update circleci/node:8 digest

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.43

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.44

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency clone-deep to v4.0.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.45

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.46

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency babylon to v7.0.0-beta.47

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.6.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.6

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.7

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency acorn to v5.7.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore: update build badge

* chore: update codecov badge

* chore(deps): update dependency husky to v1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix: say "Bye bye!" to NodeSecurityProject ;(

It was a great service. Sadly @npm bought them and integrated it into their CLI, which totally sucks, because if you don't use npm you lose that cool functionality.

* chore(deps): update dependency new-release to v4.0.8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v4.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.1.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v4.0.9

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update new-release to latest

* chore(deps): update dependency husky to v1.1.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency new-release to v5.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.2.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency clone-deep to v4.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.2.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.3.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v1.3.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v5.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* fix(deps): update dependency arrify to v2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.4.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.4.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.5.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v2.6.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore: add GitHub Sponsoring button (funding file)

* chore(github/funding): fix typo

* chore(funding): re-fix the typo

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore(deps): update dependency husky to v2.7.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.2

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.3

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.4

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6.1.0

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency espree to v6.1.1

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.5

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.7

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.8

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* chore(deps): update dependency husky to v3.0.9

Signed-off-by: Charlike Mike Reagent <olsten.larck@gmail.com>

* feat: add parse-function to monorepo

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore: fmt

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>

* chore: wrong place

Signed-off-by: Charlike Mike Reagent <opensource@tunnckocore.com>
@tunnckoCore tunnckoCore pinned this issue Nov 18, 2019
@tunnckoCore
Copy link
Owner Author

Reconsidering.

@tunnckoCore
Copy link
Owner Author

Some notes:

Copyleft

  • Software you develop, (re)distribute, operate or analyze, based on this software without any modifications:
    • must be released under the MIT or Apache-2.0 licenses (meaning, proprietary usage in any shape or form is not allowed)
    • make available under THIS license, OR
  • Any modifications, derivative works, changes, deletions or additions, to this software:
    • make available under THIS license AND keep the attributions AND state what's, where and when is changed, OR
    • contribute back to the origin/upstream (to the original contributors/creators of this software)

EPL: Users can rework the code, but if they distribute these modifications, they must release these updates in source code form

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical This should be dealt with ASAP. Not fixing this issue would be a serious error. Status: In Progress This issue is being worked on, and has someone assigned. Type: Documentation An Issue or Pull Request for improving or updating documentation. Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity, without a functionality.
Projects
None yet
Development

No branches or pull requests

1 participant