Socket
Socket
Sign inDemoInstall

telejson

Package Overview
Dependencies
Maintainers
1
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 1.0.1 to 2.0.0

4

dist/index.js

@@ -20,4 +20,2 @@ "use strict";

var _safeEval = _interopRequireDefault(require("safe-eval"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -245,3 +243,3 @@

var result = function result() {
var f = (0, _safeEval.default)("(".concat(source, ")"));
var f = eval("(".concat(source, ")"));
f.apply(void 0, arguments);

@@ -248,0 +246,0 @@ };

{
"name": "telejson",
"version": "1.0.1",
"version": "2.0.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [

@@ -9,3 +9,2 @@ import { window, document } from 'global';

import get from 'lodash.get';
import safeEval from 'safe-eval';

@@ -206,3 +205,3 @@ const removeCodeComments = code => {

const result = (...args) => {
const f = safeEval(`(${source})`);
const f = eval(`(${source})`);
f(...args);

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