Socket
Socket
Sign inDemoInstall

@moxb/meteor

Package Overview
Dependencies
6
Maintainers
4
Versions
146
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.4

3

dist/MeteorAction.d.ts
/// <reference types="meteor" />
import { Action, BindOptions, ValueOrFunction } from '@moxb/moxb';
import { ValueOrFunction } from '@moxb/util';
import { Action, BindOptions } from '@moxb/moxb';
import { MeteorMethodControl } from './MeteorMethod';

@@ -4,0 +5,0 @@ /**

@@ -5,4 +5,4 @@ "use strict";

var tslib_1 = require("tslib");
var mobx_1 = require("mobx");
var moxb_1 = require("@moxb/moxb");
var mobx_1 = require("mobx");
/**

@@ -9,0 +9,0 @@ * This function will create a Meteor method-backed moxb Action based on the provided description (see above).

@@ -6,4 +6,4 @@ "use strict";

var mobx_1 = require("mobx");
var util_1 = require("@moxb/util");
var MeteorCall_1 = require("./MeteorCall");
var moxb_1 = require("@moxb/moxb");
/**

@@ -85,3 +85,3 @@ * Create a Meteor.Error out of any normal Error.

this._myMeteor = myMeteor;
var logger = (this._logger = (0, moxb_1.getDebugLogger)('Method ' + name, debug));
var logger = (this._logger = (0, util_1.getDebugLogger)('Method ' + name, debug));
if (myMeteor.isServer || !serverOnly) {

@@ -88,0 +88,0 @@ this._logger.log('Publishing Meteor method', name);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerMeteorPublication = void 0;
var debugLog_1 = require("@moxb/moxb/dist/util/debugLog");
var util_1 = require("@moxb/util");
/**

@@ -24,3 +24,3 @@ * A comfy way to define a Meteor publication

var name = params.name, collection = params.collection, prePublish = params.prePublish, selector = params.selector, clientSelector = params.clientSelector, skipIf = params.skipIf, auth = params.auth, options = params.options, clientOptions = params.clientOptions, reactivityShield = params.reactivityShield, debugMode = params.debugMode;
var logger = (0, debugLog_1.getDebugLogger)("publication ".concat(name), debugMode);
var logger = (0, util_1.getDebugLogger)("publication ".concat(name), debugMode);
var getServerCursor = function (args, sub) {

@@ -27,0 +27,0 @@ var currentSelector = selector(args, sub.userId, sub);

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

var mobx_1 = require("mobx");
var moxb_1 = require("@moxb/moxb");
var util_1 = require("@moxb/util");
var autorun;

@@ -74,3 +74,3 @@ if (Meteor.isClient) {

var name = publication.name;
this._logger = (0, moxb_1.getDebugLogger)("Publication loader ".concat(id, " for ").concat(name), debug);
this._logger = (0, util_1.getDebugLogger)("Publication loader ".concat(id, " for ").concat(name), debug);
if (!sleeping) {

@@ -77,0 +77,0 @@ this.awaken();

@@ -0,3 +1,3 @@

import type { Mongo } from 'meteor/mongo';
import { TableImpl, TableOptions } from '@moxb/moxb';
import type { Mongo } from 'meteor/mongo';
import { MeteorDataFetcherDone } from './MeteorDataFetcher';

@@ -4,0 +4,0 @@ import { MeteorTableData, MeteorTableQuery } from './MeteorTableFetcher';

@@ -5,2 +5,3 @@ "use strict";

var tslib_1 = require("tslib");
var util_1 = require("@moxb/util");
var moxb_1 = require("@moxb/moxb");

@@ -83,3 +84,3 @@ var MeteorTableFetcherImpl_1 = require("./MeteorTableFetcherImpl");

var error = (0, moxb_1.extractErrorString)(this.tableFetcher.data.error);
return (0, moxb_1.t)((0, moxb_1.toId)(this.id + '.serverError.' + error), error);
return (0, util_1.t)((0, util_1.toId)(this.id + '.serverError.' + error), error);
}

@@ -86,0 +87,0 @@ return _super.prototype.getErrors.call(this);

{
"name": "@moxb/meteor",
"version": "0.4.2",
"version": "0.4.4",
"description": "MobX meteor binding",

@@ -46,3 +46,4 @@ "scripts": {

"dependencies": {
"@moxb/moxb": "^0.4.2"
"@moxb/moxb": "^0.4.4",
"@moxb/util": "^0.4.3"
},

@@ -59,3 +60,3 @@ "devDependencies": {

},
"gitHead": "8e2395cad003f049433698b6bbf3b2433f79e6b6"
"gitHead": "35b7f998aeca685e2020ba0d8227bfe5e74bba5c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc