From e3147b9f30f3d1d7de5adff2cff83cf753a5495b Mon Sep 17 00:00:00 2001 From: Lewis Ellis Date: Fri, 31 Mar 2017 11:33:28 -0700 Subject: [PATCH] Remove json-stringify-safe dependency from package.json --- package.json | 3 --- plugins/react-native.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 7159c5323de0..2e644653b2ef 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,6 @@ "url": "git://github.com/getsentry/raven-js.git" }, "main": "src/singleton.js", - "dependencies": { - "json-stringify-safe": "^5.0.1" - }, "devDependencies": { "bluebird": "^3.4.1", "browserify-versionify": "^1.0.6", diff --git a/plugins/react-native.js b/plugins/react-native.js index 7cad2fef45a1..158dcec1bce7 100644 --- a/plugins/react-native.js +++ b/plugins/react-native.js @@ -23,7 +23,7 @@ // /var/containers/Bundle/Application/{DEVICE_ID}/HelloWorld.app/main.jsbundle var PATH_STRIP_RE = /^.*\/[^\.]+(\.app|CodePush)/; -var stringify = require('json-stringify-safe'); +var stringify = require('../vendor/json-stringify-safe/stringify'); var FATAL_ERROR_KEY = '--rn-fatal--'; var ASYNC_STORAGE_KEY = '--raven-js-global-error-payload--';