Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-query

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-query - npm Package Compare versions

Comparing version 3.0.4 to 3.0.6

LICENSE

9

dist/esm/cache/create-reducer.js

@@ -13,6 +13,3 @@ import { castDraft } from 'immer';

const record = state[key];
if (!record) {
state[key] = castDraft(Object.assign(Object.assign({}, entry), { created: Date.now() }));
}
else {
if (record) {
record.updated = Date.now();

@@ -22,2 +19,6 @@ (_a = record.updates) !== null && _a !== void 0 ? _a : (record.updates = 0);

}
else {
const created = Date.now();
state[key] = castDraft(Object.assign(Object.assign({}, entry), { created, updated: created }));
}
})

@@ -24,0 +25,0 @@ .addCase(actions.remove, (state, action) => {

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

export const version = '3.0.4';
export const version = '3.0.6';
//# sourceMappingURL=version.js.map

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

export declare const version = "3.0.4";
export declare const version = "3.0.6";
{
"name": "@equinor/fusion-query",
"version": "3.0.4",
"description": "WIP",
"keywords": [
"observable",
"react",
"fusion",
"equinor"
],
"homepage": "https://github.com/equinor/fusion-framework/tree/master/packages/observable#readme",
"license": "ISC",
"main": "dist/esm/index.js",
"exports": {
".": "./dist/esm/index.js",
"./cache": "./dist/esm/cache/index.js",
"./client": "./dist/esm/client/index.js",
"./react": "./dist/esm/react/index.js",
"./operators": "./dist/esm/operators.js"
"name": "@equinor/fusion-query",
"version": "3.0.6",
"description": "WIP",
"keywords": [
"observable",
"react",
"fusion",
"equinor"
],
"homepage": "https://github.com/equinor/fusion-framework/tree/master/packages/observable#readme",
"license": "ISC",
"main": "dist/esm/index.js",
"exports": {
".": "./dist/esm/index.js",
"./cache": "./dist/esm/cache/index.js",
"./client": "./dist/esm/client/index.js",
"./react": "./dist/esm/react/index.js",
"./operators": "./dist/esm/operators.js"
},
"types": "dist/types/index.d.ts",
"typesVersions": {
"*": {
"cache": [
"dist/types/cache/index.d.ts"
],
"client": [
"dist/types/client/index.d.ts"
],
"operators": [
"dist/types/operators.d.ts"
],
"react": [
"dist/types/react/index.d.ts"
]
}
},
"directories": {
"dist": "dist"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/equinor/fusion-framework.git",
"directory": "packages/utils/query"
},
"bugs": {
"url": "https://github.com/equinor/fusion-framework/issues"
},
"dependencies": {
"immer": "^9.0.16",
"rxjs": "^7.8.1",
"uuid": "^9.0.0",
"@equinor/fusion-observable": "^8.1.0"
},
"devDependencies": {
"@types/react": "^18.2.20",
"@types/uuid": "^9.0.2",
"react": "^18.2.0",
"typescript": "^5.1.3"
},
"peerDependencies": {
"@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"types": "dist/types/index.d.ts",
"typesVersions": {
"*": {
"cache": [
"dist/types/cache/index.d.ts"
],
"client": [
"dist/types/client/index.d.ts"
],
"operators": [
"dist/types/operators.d.ts"
],
"react": [
"dist/types/react/index.d.ts"
]
}
},
"directories": {
"dist": "dist"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/equinor/fusion-framework.git",
"directory": "packages/utils/query"
},
"scripts": {
"build": "tsc -b",
"prepack": "yarn build"
},
"bugs": {
"url": "https://github.com/equinor/fusion-framework/issues"
},
"dependencies": {
"@equinor/fusion-observable": "^8.0.3",
"rxjs": "^7.5.7",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/react": "^17.0.2",
"@types/uuid": "^9.0.2",
"react": "^17.0.2",
"typescript": "^5.1.3"
},
"peerDependencies": {
"@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"react": {
"optional": true
}
"react": {
"optional": true
}
}
},
"scripts": {
"build": "tsc -b"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc