🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@dura/utils

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dura/utils - npm Package Compare versions

Comparing version
4.0.0-alpha.8
to
4.0.0-alpha.9
+4
-2
.lub.js

@@ -1,2 +0,4 @@

export default {
import { defineRollupConfigura } from '@dura/lub';
export default defineRollupConfigura({
name: 'duraUtils',

@@ -7,2 +9,2 @@ external: ['lodash.isplainobject'],

},
};
});
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1600423980237" clover="3.2.0">
<project timestamp="1600423980237" name="All files">
<coverage generated="1600512702379" clover="3.2.0">
<project timestamp="1600512702379" name="All files">
<metrics statements="52" coveredstatements="52" conditionals="18" coveredconditionals="18" methods="13" coveredmethods="13" elements="83" coveredelements="83" complexity="0" loc="52" ncloc="52" packages="1" files="8" classes="8"/>

@@ -5,0 +5,0 @@ <file name="Symbol.ts" path="/Users/ityuany/GitRepository/dura/packages/utils/src/Symbol.ts">

@@ -217,3 +217,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -220,0 +220,0 @@ </div>

@@ -150,5 +150,5 @@

<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import isPlainObject from "lodash.isplainobject";
import { DURA_SYMBOL, DURA_PATCHES_SYMBOL } from "./Symbol";
import { defineHiddenConstantProperty } from "./defineHiddenConstantProperty";
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import isPlainObject from 'lodash.isplainobject';
import { DURA_SYMBOL, DURA_PATCHES_SYMBOL } from './Symbol';
import { defineHiddenConstantProperty } from './defineHiddenConstantProperty';
&nbsp;

@@ -158,3 +158,3 @@ export function createProxy&lt;T extends object&gt;(

deps: Map&lt;string, number&gt;,
parentPath?: string
parentPath?: string,
) {

@@ -204,3 +204,3 @@ const proxy = new Proxy(state, {

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -207,0 +207,0 @@ </div>

@@ -103,3 +103,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -106,0 +106,0 @@ </div>

@@ -203,3 +203,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -206,0 +206,0 @@ </div>

@@ -88,3 +88,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -91,0 +91,0 @@ </div>

@@ -82,3 +82,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -85,0 +85,0 @@ </div>

@@ -79,3 +79,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -82,0 +82,0 @@ </div>

@@ -76,3 +76,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -79,0 +79,0 @@ </div>

@@ -74,9 +74,9 @@

<span class="cline-any cline-yes">7x</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">export const DURA_SYMBOL = Symbol("@@DURA_SYMBOL");
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">export const DURA_SYMBOL = Symbol('@@DURA_SYMBOL');
&nbsp;
export const DURA_PATCHES_SYMBOL = Symbol("@@DURA_PATCHES_SYMBOL");
export const DURA_PATCHES_SYMBOL = Symbol('@@DURA_PATCHES_SYMBOL');
&nbsp;
export const DURA_STORE_REDUCERS = Symbol("@@DURA_STORE_REDUCERS");
export const DURA_STORE_REDUCERS = Symbol('@@DURA_STORE_REDUCERS');
&nbsp;
export const DURA_STORE_EFFECTS = Symbol("@@DURA_STORE_EFFECTS");
export const DURA_STORE_EFFECTS = Symbol('@@DURA_STORE_EFFECTS');
&nbsp;</pre></td></tr></table></pre>

@@ -89,3 +89,3 @@

<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
at Fri Sep 18 2020 18:13:00 GMT+0800 (中国标准时间)
at Sat Sep 19 2020 18:51:42 GMT+0800 (中国标准时间)
</div>

@@ -92,0 +92,0 @@ </div>

{
"name": "@dura/utils",
"version": "4.0.0-alpha.8",
"version": "4.0.0-alpha.9",
"description": "",

@@ -18,3 +18,3 @@ "main": "./lib/index.js",

"dependencies": {
"@dura/types": "^4.0.0-alpha.8"
"@dura/types": "^4.0.0-alpha.9"
},

@@ -26,5 +26,5 @@ "peerDependencies": {

"devDependencies": {
"@dura/lub": "^4.0.0-alpha.8"
"@dura/lub": "^4.0.0-alpha.9"
},
"gitHead": "a4e10e76a8c5e56b685f244257477078c3854988"
"gitHead": "9930b842e1f589e2e8858af28bef34bbdac3317a"
}

@@ -1,4 +0,4 @@

import isPlainObject from "lodash.isplainobject";
import { DURA_SYMBOL, DURA_PATCHES_SYMBOL } from "./Symbol";
import { defineHiddenConstantProperty } from "./defineHiddenConstantProperty";
import isPlainObject from 'lodash.isplainobject';
import { DURA_SYMBOL, DURA_PATCHES_SYMBOL } from './Symbol';
import { defineHiddenConstantProperty } from './defineHiddenConstantProperty';

@@ -8,3 +8,3 @@ export function createProxy<T extends object>(

deps: Map<string, number>,
parentPath?: string
parentPath?: string,
) {

@@ -11,0 +11,0 @@ const proxy = new Proxy(state, {

@@ -1,7 +0,7 @@

export const DURA_SYMBOL = Symbol("@@DURA_SYMBOL");
export const DURA_SYMBOL = Symbol('@@DURA_SYMBOL');
export const DURA_PATCHES_SYMBOL = Symbol("@@DURA_PATCHES_SYMBOL");
export const DURA_PATCHES_SYMBOL = Symbol('@@DURA_PATCHES_SYMBOL');
export const DURA_STORE_REDUCERS = Symbol("@@DURA_STORE_REDUCERS");
export const DURA_STORE_REDUCERS = Symbol('@@DURA_STORE_REDUCERS');
export const DURA_STORE_EFFECTS = Symbol("@@DURA_STORE_EFFECTS");
export const DURA_STORE_EFFECTS = Symbol('@@DURA_STORE_EFFECTS');