immediate-error 7.1.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -82,7 +82,7 @@ exports.immediateError = function immediateError(message = default_error, errorT
82
82
 
83
83
  vm.createContext(context)
84
84
 
85
- const script = construct({ target: vm.Script, args: [`bail(error)`, { filename: default_error }] })
85
+ const script = construct({ target: vm.Script, args: ["bail(error)", { filename: default_error }] })
86
86
 
87
87
  script.runInContext(context)
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "immediate-error",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "throw errors in fp",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -55,7 +55,7 @@
55
55
  "@positive-numbers/six": "^3.0.0",
56
56
  "@positive-numbers/three": "^3.0.0",
57
57
  "@positive-numbers/two": "^3.0.0",
58
- "@positive-numbers/zero": "^3.0.0",
58
+ "@positive-numbers/zero": "^4.0.0",
59
59
  "attempt-statement": "^1.2.0",
60
60
  "bail": "^1.0.5",
61
61
  "construct-new": "^2.0.3",