Giter VIP home page Giter VIP logo

akismet-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

akismet-api's Issues

Verify support for latest node versions

Node 4 has come out, I'd like to add official support for it. I'd also like to look at what else Travis supports for node versions and see about running tests on those.

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The new Node.js version is in-range for the engines in 1 of your package.json files, so that was left alone

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of nock is breaking the build 🚨

Version 9.0.23 of nock was just published.

Branch Build failing 🚨
Dependency nock
Current Version 9.0.22
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

nock is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v9.0.23

9.0.23 (2017-10-20)

Bug Fixes

  • include path in the matching log output (#996) (ea2fe9f)

Previous Changelog

Find changes for versions before 9.0.23 at https://github.com/node-nock/nock/blob/bd387365ff8e6df731cf5a35cc92560346826ec5/CHANGELOG.md

Commits

The new version differs by 7 commits.

  • f13add9 chore(travis): semantic-release setup
  • 909dbce chore(package): semantic-release
  • e4b0958 test: intercept test fix
  • 62e7566 Fix matchStringOrRegexp TypeError on undefined (#998)
  • 4772df5 allowUnmocked causes no requests to match when query is specified (#955)
  • ea2fe9f fix: include path in the matching log output (#996)
  • 6d9704d chore(CHANGELOG): 9.0.22

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add support for honeypot_field_name & hidden_honeypot_field

Hi,
first thank you for your great job on this client api.
Then, do you think it is possible to add support for "honeypot_field_name" & "hidden_honeypot_field", it is the only option which is present in the api Akismet and which is not present in your client. This could be useful to allow additional filtering.
Thank you in advance.

Add documentation examples for promises + async/await

In the "Promises and Callbacks" section, I mention that the rest of the README will use callbacks. We should provide a Promise-based version of the documentation that uses promises in the examples, and link to that README version from the "Promises and Callbacks" section.

Move from superagent to request

I'd like to look at moving away from superagent and toward request, as request seems to be the more defacto standard nowadays. I'll have to code it up and see if it's better, worse, or the same for readability and usability.

An in-range update of bluebird is breaking the build 🚨

The dependency bluebird was updated from 3.5.3 to 3.5.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

bluebird is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for v3.5.4
  • Proper version check supporting VSCode(#1576)
Commits

The new version differs by 6 commits.

  • e0222e3 Release v3.5.4
  • 4b9fa33 missing --expose-gc flag (#1586)
  • 63b15da docs: improve and compare Promise.each and Promise.mapSeries (#1565)
  • 9dcefe2 .md syntax fix for coming-from-other-languages.md (#1584)
  • b97c0d2 added proper version check supporting VSCode (#1576)
  • 499cf8e Update jsdelivr url in docs (#1571)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add integration tests

We can get a dev akismet key and use some of the hardcoded test behaviours to make sure that everything works end-to-end, which'll help augment the unit tests.

Can you add types?

Could not find a declaration file for module 'akismet-api'. '.../node_modules/akismet-api/lib/akismet.js' implicitly has an 'any' type.
Try npm install @types/akismet-api if it exists or add a new declaration (.d.ts) file containing declare module 'akismet-api';ts(7016)

An in-range update of superagent is breaking the build 🚨

Version 3.6.1 of superagent just got published.

Branch Build failing 🚨
Dependency superagent
Current Version 3.6.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

superagent is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 9 commits.

  • 1930bd4 Work around mime-types flipflopping about XML mime type
  • 1e255c2 Update node versions in CI
  • 96f3df8 Update dependencies
  • 0e85681 docs(piping): add note about chunked transfer encoding
  • 0274b7b Syntax fix
  • 7326cc0 Field/attach docs
  • c5be156 Upgrading instructions
  • f059135 ES6 in readme examples
  • cbf8569 Update dependency

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Add tests for promises

Our tests should test both the promise and callback interfaces to the library.

Although I'm pretty sure we can trust bluebird to do it's job properly, we may be accidentally not passing something in a promise-y way and it'd be good to have explicit tests for how that's consumed in promise land.

ES6 Support

Let's keep it modern, would be good to have this in ES6 using Babel.

Change from non-js style attributes to js-style attributes

All of the functions take fields like this:

  user_ip : '123.123.123.123',              // Required!
  user_agent : 'MyUserAgent 1.0 Webkit',    // Required!
  referrer : 'http://google.com',           // Required!
  permalink : 'http://myblog.com/myPost',
  comment_type : 'comment',
  comment_author : 'John Smith',
  comment_author_email : '[email protected]',
  comment_author_url : 'http://johnsblog.com',
  comment_content : 'Very nice blog! Check out mine!'

It would be very nice to change these to proper JS style attributes (Ex: userIp), potentially with nested objects like comment.

This would be a breaking change and create a new major version

Add support for the new node modules format

Exists in node 13.x, coming to LTS in 14.x soon.
For import to work with named imports the module specifically has to support it, or else users can only import as the exported object as a default export.

Remove support for 0.8 and update nock

It looks like Nock no longer supports node 0.8, so we can't upgrade our nock dependency until we let go of node 0.8 as well.

0.8 is quite old, and right now we only "kinda" support it since we use the caret format. Given that it is EOL I'm more inclined to remove 0.8 support and update nock to the latest version.

An in-range update of mocha is breaking the build 🚨

Version 3.4.0 of mocha just got published.

Branch Build failing 🚨
Dependency mocha
Current Version 3.3.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As mocha is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v3.4.0

Mocha is now moving to a quicker release schedule: when non-breaking changes are merged, a release should happen that week.

This week's highlights:

  • allowUncaught added to commandline as --allow-uncaught (and bugfixed)
  • warning-related Node flags

🎉 Enhancements

🐛 Fixes

🔩 Other

Commits

The new version differs by 9 commits0.

  • 7554b31 Add Changelog for v3.4.0
  • 9f7f7ed Add --trace-warnings flag
  • 92561c8 Add --no-warnings flag
  • ceee976 lint test/integration/fixtures/simple-reporter.js
  • dcfc094 Revert "use semistandard directly"
  • 93392dd no special case for macOS running Karma locally
  • 4d1d91d --allow-uncaught cli option
  • fb1e083 fix allowUncaught in browser
  • 4ed3fc5 Add license report and scan status

false

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Support promises

It would be great to have promise support in addition to traditional callback support

Consider removing bluebird

The lowest version we support is Node 8 now, which means native Promise support is pretty good. We might not need to use bluebird anymore. Bluebird is great but this could clear up a dependency which is always a perk!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.