@effection/core
Advanced tools
Comparing version 2.0.0-beta.10 to 2.0.0-beta.11
# @effection/core | ||
## \[2.0.0-beta.11] | ||
- Change named import from a package.json file to default | ||
- [65a856a](https://github.com/thefrontside/effection/commit/65a856a8d498205c27de00432fd43bc11bbb0e37) Change named import from a package.json file to default. ([#490](https://github.com/thefrontside/effection/pull/490)) on 2021-08-25 | ||
## \[2.0.0-beta.10] | ||
@@ -4,0 +9,0 @@ |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,4 +11,5 @@ exports.Effection = void 0; | ||
// @ts-ignore | ||
const package_json_1 = require("../package.json"); | ||
const MAJOR_VERSION = package_json_1.version.split('.')[0]; | ||
const package_json_1 = __importDefault(require("../package.json")); | ||
const { version } = package_json_1.default; | ||
const MAJOR_VERSION = version.split('.')[0]; | ||
const GLOBAL_PROPERTY = `__effectionV${MAJOR_VERSION}`; | ||
@@ -12,0 +16,0 @@ function createRootTask() { |
@@ -13,3 +13,3 @@ "use strict"; | ||
exports.HaltError = HaltError; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
function isHaltError(value) { | ||
@@ -16,0 +16,0 @@ return !!(value && value.__isEffectionHaltError); |
@@ -5,3 +5,4 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
// @ts-ignore | ||
import { version } from '../package.json'; | ||
import packageInfo from '../package.json'; | ||
const { version } = packageInfo; | ||
const MAJOR_VERSION = version.split('.')[0]; | ||
@@ -8,0 +9,0 @@ const GLOBAL_PROPERTY = `__effectionV${MAJOR_VERSION}`; |
@@ -9,3 +9,3 @@ export class HaltError extends Error { | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
export function isHaltError(value) { | ||
@@ -12,0 +12,0 @@ return !!(value && value.__isEffectionHaltError); |
{ | ||
"name": "@effection/core", | ||
"version": "2.0.0-beta.10", | ||
"version": "2.0.0-beta.11", | ||
"main": "dist-cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist-esm/index.js", |
@@ -5,4 +5,6 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
// @ts-ignore | ||
import { version } from '../package.json'; | ||
import packageInfo from '../package.json'; | ||
const { version } = packageInfo; | ||
const MAJOR_VERSION = version.split('.')[0]; | ||
@@ -9,0 +11,0 @@ const GLOBAL_PROPERTY = `__effectionV${MAJOR_VERSION}`; |
@@ -11,3 +11,3 @@ export class HaltError extends Error { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
export function isHaltError(value: any): value is HaltError { | ||
@@ -14,0 +14,0 @@ return !!(value && value.__isEffectionHaltError); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201956
3104