Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"lerna": "2.0.0",
"version": "2.10.1"
"version": "2.11.3"
}
4 changes: 2 additions & 2 deletions packages/falcor-model-rxjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-model-rxjs",
"version": "2.10.1",
"version": "2.11.0",
"description": "",
"main": "lib/Model.js",
"browser": "lib/Model.js",
Expand All @@ -17,7 +17,7 @@
"lib"
],
"dependencies": {
"@graphistry/falcor": "^2.10.1",
"@graphistry/falcor": "^2.11.0",
"@graphistry/falcor-path-syntax": "^2.9.10",
"babel-runtime": "^6.26.0",
"rxjs": "~5.4.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/falcor-query-syntax/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-query-syntax",
"version": "2.10.1",
"version": "2.11.0",
"description": "ES6 Template String and Builder function for Creating Falcor Paths (Experimental)",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"devDependencies": {
"@graphistry/falcor-json-graph": "^2.9.10",
"@graphistry/falcor-router": "^2.10.1",
"@graphistry/falcor-router": "^2.11.0",
"babel-plugin-istanbul": "~4.1.4",
"babel-plugin-transform-runtime": "~6.23.0",
"babel-register": "^6.26.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/falcor-react-redux/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-react-redux",
"version": "2.10.1",
"version": "2.11.0",
"description": "",
"main": "lib/index.js",
"browser": "lib/index.js",
Expand Down Expand Up @@ -46,11 +46,11 @@
"warning": "^3.0.0"
},
"dependencies": {
"@graphistry/falcor": "^2.10.1",
"@graphistry/falcor": "^2.11.0",
"@graphistry/falcor-json-graph": "^2.9.10",
"@graphistry/falcor-path-syntax": "^2.9.10",
"@graphistry/falcor-path-utils": "^2.9.10",
"@graphistry/falcor-query-syntax": "^2.10.1",
"@graphistry/falcor-query-syntax": "^2.11.0",
"babel-runtime": "^6.26.0",
"hoist-non-react-statics": "^2.3.1",
"invariant": "~2.2.2",
Expand Down
10 changes: 5 additions & 5 deletions packages/falcor-react-schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-react-schema",
"version": "2.10.1",
"version": "2.11.0",
"description": "",
"main": "lib/index.js",
"browser": "lib/index.js",
Expand Down Expand Up @@ -31,18 +31,18 @@
"rxjs": "^5.4.2"
},
"dependencies": {
"@graphistry/falcor": "^2.10.1",
"@graphistry/falcor": "^2.11.0",
"@graphistry/falcor-json-graph": "^2.9.10",
"@graphistry/falcor-path-utils": "^2.9.10",
"@graphistry/falcor-query-syntax": "^2.10.1",
"@graphistry/falcor-query-syntax": "^2.11.0",
"babel-runtime": "^6.26.0",
"create-react-app": "1.5.2",
"invariant": "^2.2.2",
"pegjs-util": "^1.4.1"
},
"devDependencies": {
"@graphistry/falcor-model-rxjs": "^2.10.1",
"@graphistry/falcor-router": "^2.10.1",
"@graphistry/falcor-model-rxjs": "^2.11.0",
"@graphistry/falcor-router": "^2.11.0",
"babel-cli": "^6.26.0",
"babel-jest": "^21.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/falcor-router-saddle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-router-saddle",
"version": "2.10.1",
"version": "2.11.0",
"description": "",
"main": "lib/index.js",
"browser": "lib/index.js",
Expand Down Expand Up @@ -33,8 +33,8 @@
},
"devDependencies": {
"@graphistry/falcor-json-graph": "^2.9.10",
"@graphistry/falcor-query-syntax": "^2.10.1",
"@graphistry/falcor-router": "^2.10.1",
"@graphistry/falcor-query-syntax": "^2.11.0",
"@graphistry/falcor-router": "^2.11.0",
"babel-cli": "^6.26.0",
"babel-plugin-istanbul": "~4.1.4",
"babel-plugin-transform-runtime": "~6.23.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/falcor-router/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ var mocha = require('gulp-mocha');
var eslint = require('gulp-eslint');
var istanbul = require('gulp-istanbul');

gulp.task('lint', ['lint-src', 'lint-test', 'lint-root']);

gulp.task('lint-src', function() {
return gulp.src('src/**/*.js').
pipe(eslint()).
Expand All @@ -28,6 +26,8 @@ gulp.task('lint-root', function() {
pipe(eslint.failAfterError());
});

gulp.task('lint', gulp.series('lint-src', 'lint-test', 'lint-root'));

gulp.task('test', function (cb) {
gulp.src(['./test/index.js'])
.pipe(mocha({
Expand Down Expand Up @@ -56,4 +56,4 @@ gulp.task('test-coverage', function (cb) {
});
});

gulp.task('dist', ['lint', 'test-coverage']);
gulp.task('dist', gulp.series('lint', 'test-coverage'));
6 changes: 3 additions & 3 deletions packages/falcor-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor-router",
"version": "2.10.1",
"version": "2.11.0",
"description": "A router DataSource constructor for falcor that allows you to model all your cloud data sources as a single JSON resource.",
"main": "src/Router.js",
"homepage": "https://github.com/graphistry/falcor/blob/master/packages/falcor-router/README.md",
Expand Down Expand Up @@ -43,7 +43,7 @@
"rxjs": "~5.4.2"
},
"devDependencies": {
"@graphistry/falcor": "^2.10.1",
"@graphistry/falcor": "^2.11.0",
"@graphistry/falcor-json-graph": "^2.9.10",
"babel-plugin-transform-runtime": "~6.23.0",
"babel-preset-es2016": "~6.24.1",
Expand All @@ -52,7 +52,7 @@
"chai": "^4.1.2",
"coveralls": "~2.13.1",
"cross-env": "~5.0.0",
"gulp": "~3.9.1",
"gulp": "~4.0.2",
"gulp-eslint": "~3.0.1",
"gulp-istanbul": "~1.1.1",
"gulp-mocha": "~4.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ var _extends = _assign2.default || function (target) { for (var i = 1; i < argum

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; (0, _defineProperty2.default)(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _v = require('uuid/v4');

var _v2 = _interopRequireDefault(_v);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _uuid = require('uuid');

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var FalcorPubSubDataSource = exports.FalcorPubSubDataSource = function () {
Expand Down Expand Up @@ -128,7 +126,7 @@ function request(method, parameters, observer) {
};

var disposed = false;
var id = (0, _v2.default)();
var id = (0, _uuid.v4)();
var responseToken = event + '-' + id;
var cancellationToken = cancel + '-' + id;

Expand Down
8 changes: 4 additions & 4 deletions packages/falcor-socket-datasource/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.10.1",
"version": "2.11.3",
"name": "@graphistry/falcor-socket-datasource",
"main": "dist/index.js",
"browser": "dist/index.js",
Expand Down Expand Up @@ -29,12 +29,12 @@
],
"dependencies": {
"babel-runtime": "^6.26.0",
"uuid": "^3.1.0"
"uuid": "9.0.0"
},
"description": "A socket DataSource for Falcor",
"devDependencies": {
"@graphistry/falcor": "^2.10.1",
"@graphistry/falcor-router": "^2.10.1",
"@graphistry/falcor": "^2.11.0",
"@graphistry/falcor-router": "^2.11.0",
"babel-cli": "^6.26.0",
"babel-plugin-istanbul": "~4.1.4",
"babel-plugin-transform-runtime": "~6.23.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import uuidV4 from 'uuid/v4';
import { v4 as uuidv4 } from 'uuid';

export class FalcorPubSubDataSource {
constructor(emitter, model, event = 'falcor-operation', cancel = 'cancel-falcor-operation') {
Expand Down Expand Up @@ -40,7 +40,7 @@ function request(method, parameters, observer, ...rest) {
emitter.readyState !== 'closing') {

let disposed = false;
const id = uuidV4();
const id = uuidv4();
const responseToken = `${event}-${id}`;
const cancellationToken = `${cancel}-${id}`;

Expand Down
4 changes: 2 additions & 2 deletions packages/falcor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphistry/falcor",
"version": "2.10.1",
"version": "2.11.0",
"description": "A JavaScript library for efficient data fetching.",
"main": "./dist/falcor.node.min.js",
"browser": "./dist/falcor.all.min.js",
Expand Down Expand Up @@ -69,7 +69,7 @@
"devDependencies": {
"@graphistry/falcor-json-graph": "^2.9.10",
"@graphistry/falcor-path-syntax": "^2.9.10",
"@graphistry/falcor-router": "^2.10.1",
"@graphistry/falcor-router": "^2.11.0",
"babel-loader": "^7.1.2",
"babel-plugin-check-es2015-constants": "~6.22.0",
"babel-plugin-istanbul": "~4.1.4",
Expand Down