New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

queryfilters

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queryfilters - npm Package Compare versions

Comparing version 0.3.27 to 0.3.28

8

gulpfile.js

@@ -9,10 +9,2 @@ var gulp = require('gulp');

gulp.task('publish', function() {
gulp.src('lib/*.js')
.pipe(shell([
'git push origin master',
'npm publish'
]));
});
gulp.task('test', function() {

@@ -19,0 +11,0 @@ gulp.src('lib/*.js').

6

lib/queryql.js

@@ -492,2 +492,8 @@ "use strict";

};
this.getJson = function () {
return {
filtering: this.filterManager.getFilters(),
};
};
}

@@ -494,0 +500,0 @@

2

package.json
{
"name": "queryfilters",
"version": "v0.3.27",
"version": "v0.3.28",
"scripts": {

@@ -5,0 +5,0 @@ "test": "jest",

@@ -64,1 +64,13 @@ const QueryQl = require('./../lib/queryql');

});
test('provide json representation', () => {
var queryQl = new QueryQl()
queryQl.applyFilter({ field: 'relation.nick', value: '@sensorario' });
queryQl.applyFilter({ field: 'foo.bar.name', value: 'Simone' });
expect(queryQl.getJson()).toEqual({
filtering: [
{ field: 'relation.nick', value: '@sensorario' },
{ field: 'foo.bar.name', value: 'Simone' },
]
});
});
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