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

appuri-loader-transform

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appuri-loader-transform - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

6

index.js

@@ -14,3 +14,3 @@ const through2 = require('through2'),

module.exports = function (loaderTransform, userTransform, validateLoaderEvents) {
let recordCount = 0, invalidEvents = 0
var recordCount = 0, invalidEvents = 0
const transformFn = userTransform && new Function(

@@ -33,4 +33,4 @@ 'exports', 'require', 'module',

if (transformFn) {
let transformed = asArray(transformFn(chunk, le))
let validEvents = transformed.filter(validator.isValid)
var transformed = asArray(transformFn(chunk, le))
var validEvents = transformed.filter(validator.isValid)
validEvents.forEach(e => this.push(e))

@@ -37,0 +37,0 @@ invalidEvents += (transformed.length - validEvents.length)

{
"name": "appuri-loader-transform",
"version": "0.2.2",
"version": "0.2.3",
"description": "Client for the Appuri Event API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,3 +17,3 @@ const chai = require('chai'),

.transform(l => {
var [user_id, evname] = l.split(':')
var parts = l.split(':'), user_id = parts[0], evname = parts[1]
return {

@@ -52,3 +52,3 @@ entype: 'user',

.transform(l => {
var [user_id, evname] = l.split(':')
var parts = l.split(':'), user_id = parts[0], evname = parts[1]
return {

@@ -84,3 +84,3 @@ entype: 'user',

.transform(l => {
var [user_id, evname] = l.split(':')
var parts = l.split(':'), user_id = parts[0], evname = parts[1]
return {

@@ -87,0 +87,0 @@ entype: 'user',

Sorry, the diff of this file is not supported yet

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