Socket
Socket
Sign inDemoInstall

elm-hot

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "elm-hot",
"version": "1.1.2",
"version": "1.1.3",
"description": "Hot code swapping for Elm",

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

@@ -359,2 +359,6 @@ //////////////////// HMR BEGIN ////////////////////

if (typeof item.value === "undefined") {
continue;
}
// The nav key is identified by a runtime tag added by the elm-hot injector.

@@ -383,3 +387,7 @@ if (item.value.hasOwnProperty("elm-hot-nav-key")) {

function isDebuggerModel(model) {
return model && model.hasOwnProperty("expando") && model.hasOwnProperty("state");
// Up until elm/browser 1.0.2, the Elm debugger could be identified by a
// property named "expando". But in version 1.0.2 that was renamed to "expandoModel"
return model
&& (model.hasOwnProperty("expando") || model.hasOwnProperty("expandoModel"))
&& model.hasOwnProperty("state");
}

@@ -386,0 +394,0 @@

{
"type": "application",
"source-directories": [
"."
],
"elm-version": "0.19.0",
"dependencies": {
"direct": {
"elm/browser": "1.0.0",
"elm/core": "1.0.0",
"elm/html": "1.0.0",
"elm/json": "1.0.0",
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/url": "1.0.0"
"type": "application",
"source-directories": [
"."
],
"elm-version": "0.19.0",
"dependencies": {
"direct": {
"elm/browser": "1.0.2",
"elm/core": "1.0.2",
"elm/html": "1.0.0",
"elm/url": "1.0.0"
},
"indirect": {
"elm/json": "1.1.3",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.2"
}
},
"indirect": {
"elm/virtual-dom": "1.0.0"
"test-dependencies": {
"direct": {},
"indirect": {}
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc