Socket
Socket
Sign inDemoInstall

telejson

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telejson - npm Package Compare versions

Comparing version 6.0.8 to 7.0.0

.babelrc.js

5

dist/cjs/index.js

@@ -42,4 +42,3 @@ "use strict";

var isRunningInBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined'; // eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define
// eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define
var isObject = _isobject["default"];

@@ -138,3 +137,3 @@

if (isRunningInBrowser && data instanceof Event) {
if (typeof Event !== 'undefined' && data instanceof Event) {
result = (0, _domEvent.extractEventHiddenProperties)(result);

@@ -141,0 +140,0 @@ wasMutated = true;

@@ -25,4 +25,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

import memoize from 'memoizerific';
import { extractEventHiddenProperties } from './dom-event';
var isRunningInBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined'; // eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define
import { extractEventHiddenProperties } from './dom-event'; // eslint-disable-next-line @typescript-eslint/ban-types, no-use-before-define

@@ -119,3 +118,3 @@ var isObject = isObjectAny;

if (isRunningInBrowser && data instanceof Event) {
if (typeof Event !== 'undefined' && data instanceof Event) {
result = extractEventHiddenProperties(result);

@@ -122,0 +121,0 @@ wasMutated = true;

62

package.json
{
"name": "telejson",
"version": "6.0.8",
"version": "7.0.0",
"description": "",

@@ -23,14 +23,14 @@ "keywords": [

},
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*"
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"license": "MIT",
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"module": "dist/esm/index.js",
"scripts": {
"build:cjs": "babel src --out-dir dist/cjs --extensions \".ts\"",
"build:esm": "BABEL_ESM=true babel src --out-dir dist/esm --extensions \".ts\"",
"build:tsc": "tsc --emitDeclarationOnly",
"build": "yarn build:cjs && yarn build:esm && yarn build:tsc",
"build": "tsup",
"lint": "eslint src --ext .js,.ts",

@@ -43,12 +43,25 @@ "prepublish": "yarn build",

"eslintConfig": {
"env": {
"browser": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"@storybook/eslint-config-storybook"
],
"env": {
"browser": true
}
]
},
"jest": {},
"dependencies": {
"dependencies": {},
"devDependencies": {
"@babel/preset-env": "^7.20.0",
"@babel/preset-typescript": "^7.18.6",
"@storybook/eslint-config-storybook": "^3.1.2",
"@types/is-function": "^1.0.0",
"@types/jest": "^26.0.22",
"@types/lodash-es": "^4.17.6",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"common-tags": "^1.8.0",
"eslint": "^7.23.0",
"global": "^4.4.0",

@@ -59,20 +72,7 @@ "is-function": "^1.0.2",

"isobject": "^4.0.0",
"lodash": "^4.17.21",
"memoizerific": "^1.11.3"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@storybook/eslint-config-storybook": "^3.0.0",
"@types/jest": "^26.0.22",
"@types/lodash": "^4.14.168",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^26.6.3",
"common-tags": "^1.8.0",
"eslint": "^7.23.0",
"jest": "^26.6.3",
"lodash-es": "^4.17.21",
"memoizerific": "^1.11.3",
"prettier": "^2.2.1",
"regenerator-runtime": "^0.13.7",
"tsup": "^6.2.2",
"typescript": "^4.2.3"

@@ -79,0 +79,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