Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@player-ui/expressions

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@player-ui/expressions - npm Package Compare versions

Comparing version 0.0.1-next.5 to 0.0.1-next.6

10

dist/index.cjs.js

@@ -5,3 +5,3 @@ 'use strict';

var tapable = require('tapable');
var tapableTs = require('tapable-ts');

@@ -646,8 +646,4 @@ const ExpNodeOpaqueIdentifier = Symbol("Expression Node ID");

this.hooks = {
resolve: new tapable.SyncWaterfallHook([
"value",
"node",
"options"
]),
onError: new tapable.SyncBailHook(["error"])
resolve: new tapableTs.SyncWaterfallHook(),
onError: new tapableTs.SyncBailHook()
};

@@ -654,0 +650,0 @@ this.expressionsCache = new Map();

@@ -1,2 +0,2 @@

import { SyncWaterfallHook, SyncBailHook } from 'tapable';
import { SyncWaterfallHook, SyncBailHook } from 'tapable-ts';
import { DataModelWithParser } from '@player-ui/data';

@@ -136,3 +136,3 @@ import { Logger } from '@player-ui/logger';

/** Resolve an AST node for an expression to a value */
resolve: SyncWaterfallHook<any, ExpressionNode, HookOptions>;
resolve: SyncWaterfallHook<[any, ExpressionNode, HookOptions], Record<string, any>>;
/**

@@ -142,3 +142,3 @@ * An optional means of handling an error in the expression execution

*/
onError: SyncBailHook<Error, never, never, true>;
onError: SyncBailHook<[Error], true, Record<string, any>>;
};

@@ -145,0 +145,0 @@ private readonly expressionsCache;

@@ -1,2 +0,2 @@

import { SyncWaterfallHook, SyncBailHook } from 'tapable';
import { SyncWaterfallHook, SyncBailHook } from 'tapable-ts';

@@ -641,8 +641,4 @@ const ExpNodeOpaqueIdentifier = Symbol("Expression Node ID");

this.hooks = {
resolve: new SyncWaterfallHook([
"value",
"node",
"options"
]),
onError: new SyncBailHook(["error"])
resolve: new SyncWaterfallHook(),
onError: new SyncBailHook()
};

@@ -649,0 +645,0 @@ this.expressionsCache = new Map();

{
"name": "@player-ui/expressions",
"version": "0.0.1-next.5",
"version": "0.0.1-next.6",
"private": false,

@@ -10,8 +10,8 @@ "publishConfig": {

"dependencies": {
"@player-ui/binding": "0.0.1-next.5",
"@player-ui/data": "0.0.1-next.5",
"@player-ui/string-resolver": "0.0.1-next.5",
"@player-ui/types": "0.0.1-next.5",
"@player-ui/logger": "0.0.1-next.5",
"tapable": "1.1.3",
"@player-ui/binding": "0.0.1-next.6",
"@player-ui/data": "0.0.1-next.6",
"@player-ui/string-resolver": "0.0.1-next.6",
"@player-ui/types": "0.0.1-next.6",
"@player-ui/logger": "0.0.1-next.6",
"tapable-ts": "^0.1.0",
"@babel/runtime": "7.15.4"

@@ -18,0 +18,0 @@ },

@@ -1,2 +0,2 @@

import { SyncWaterfallHook, SyncBailHook } from 'tapable';
import { SyncWaterfallHook, SyncBailHook } from 'tapable-ts';
import parse from './parser';

@@ -93,7 +93,3 @@ import * as DEFAULT_EXPRESSION_HANDLERS from './evaluator-functions';

/** Resolve an AST node for an expression to a value */
resolve: new SyncWaterfallHook<any, ExpressionNode, HookOptions>([
'value',
'node',
'options',
]),
resolve: new SyncWaterfallHook<[any, ExpressionNode, HookOptions]>(),

@@ -104,3 +100,3 @@ /**

*/
onError: new SyncBailHook<Error, never, never, true>(['error']),
onError: new SyncBailHook<[Error], true>(),
};

@@ -107,0 +103,0 @@

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