memorio 4.4.0 → 4.5.3

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.
package/SECURITY.md CHANGED
@@ -1,48 +1,48 @@
1
- # Security
2
-
3
- Memorio follows NIST and NSA security standards at the enterprise level.
4
-
5
- ## Security Standards
6
-
7
- - **NIST Guidelines**: Follows NIST SP 800-53 security controls and NIST Cybersecurity Framework
8
- - **NSA Standards**: Defense-grade security practices; considers nation-state level threats in risk assessment
9
-
10
- ## Supply Chain Security
11
-
12
- - **Socket.dev**: Minimum target score 90%; all alarms must be resolved before release
13
- - **Dependency Management**: Zero production dependencies (fully dependency-free); dev dependencies audited regularly
14
- - **Prohibited**: No `eval()` usage, no encrypted/obfuscated code in builds, no hardcoded secrets
15
-
16
- ## Code Security
17
-
18
- - No hardcoded credentials or API keys
19
- - Secure random session ID generation (`crypto.randomUUID` → `crypto.getRandomValues` → fallback)
20
- - Input validation on all public APIs
21
- - XSS prevention on DevTools data export
22
- - Property-based access control on global objects (`Object.defineProperty` with `enumerable: false`)
23
-
24
- ## OWASP Compliance
25
-
26
- Addresses OWASP Top 10 (2021):
27
- - A01:2021 — Broken Access Control (global object protection, property locks)
28
- - A02:2021 — Cryptographic Failures (crypto.randomUUID for session IDs)
29
- - A03:2021 — Injection (CSS sanitization in devtools)
30
- - A05:2021 — Security Misconfiguration (minimal surface area, no bundled secrets)
31
- - A06:2021 — Vulnerable and Outdated Components (regular npm audit, Socket.dev)
32
- - A07:2021 — Identification and Authentication Failures (N/A — library, no auth)
33
- - A08:2021 — Software and Data Integrity Failures (strict tsconfig, lock files)
34
- - A09:2021 — Security Logging and Monitoring Failures (DevTools inspect, Logger module)
35
- - A10:2021 — Server-Side Request Forgery (N/A — no network requests)
36
-
37
- ## Reporting Security Issues
38
-
39
- If you find a security vulnerability:
40
-
41
- 1. Email [Dario Passariello](mailto:dariopassarielloa@gmail.com)
42
- 2. Or visit https://dario.passariello.ca/contact/
43
-
44
- Do not open public issues for security vulnerabilities.
45
-
46
- ---
47
- *Document version: 2.0 — Last updated: 2026-05-19*
48
- *Owner: BigLogic Security Team*
1
+ # Security
2
+
3
+ Memorio follows NIST and NSA security standards at the enterprise level.
4
+
5
+ ## Security Standards
6
+
7
+ - **NIST Guidelines**: Follows NIST SP 800-53 security controls and NIST Cybersecurity Framework
8
+ - **NSA Standards**: Defense-grade security practices; considers nation-state level threats in risk assessment
9
+
10
+ ## Supply Chain Security
11
+
12
+ - **Socket.dev**: Minimum target score 90%; all alarms must be resolved before release
13
+ - **Dependency Management**: Zero production dependencies (fully dependency-free); dev dependencies audited regularly
14
+ - **Prohibited**: No `eval()` usage, no encrypted/obfuscated code in builds, no hardcoded secrets
15
+
16
+ ## Code Security
17
+
18
+ - No hardcoded credentials or API keys
19
+ - Secure random session ID generation (`crypto.randomUUID` → `crypto.getRandomValues` → fallback)
20
+ - Input validation on all public APIs
21
+ - XSS prevention on DevTools data export
22
+ - Property-based access control on global objects (`Object.defineProperty` with `enumerable: false`)
23
+
24
+ ## OWASP Compliance
25
+
26
+ Addresses OWASP Top 10 (2021):
27
+ - A01:2021 — Broken Access Control (global object protection, property locks)
28
+ - A02:2021 — Cryptographic Failures (crypto.randomUUID for session IDs)
29
+ - A03:2021 — Injection (CSS sanitization in devtools)
30
+ - A05:2021 — Security Misconfiguration (minimal surface area, no bundled secrets)
31
+ - A06:2021 — Vulnerable and Outdated Components (regular npm audit, Socket.dev)
32
+ - A07:2021 — Identification and Authentication Failures (N/A — library, no auth)
33
+ - A08:2021 — Software and Data Integrity Failures (strict tsconfig, lock files)
34
+ - A09:2021 — Security Logging and Monitoring Failures (DevTools inspect, Logger module)
35
+ - A10:2021 — Server-Side Request Forgery (N/A — no network requests)
36
+
37
+ ## Reporting Security Issues
38
+
39
+ If you find a security vulnerability:
40
+
41
+ 1. Email [Dario Passariello](mailto:dariopassarielloa@gmail.com)
42
+ 2. Or visit https://dario.passariello.ca/contact/
43
+
44
+ Do not open public issues for security vulnerabilities.
45
+
46
+ ---
47
+ *Document version: 2.0 — Last updated: 2026-05-19*
48
+ *Owner: BigLogic Security Team*
package/index.cjs CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  var e = Object.getOwnPropertyNames, o = (o, t) => function() {
4
2
  return o && (t = (0, o[e(o)[0]])(o = 0)), t;
5
3
  }, t = {}, r = o({
@@ -317,7 +315,7 @@ function J(e) {
317
315
  };
318
316
  }
319
317
 
320
- var z = "4.4.0";
318
+ var z = "4.5.3";
321
319
 
322
320
  Object.defineProperty(globalThis, "memorio", {
323
321
  value: {
package/index.js CHANGED
@@ -315,7 +315,7 @@ function J(e) {
315
315
  };
316
316
  }
317
317
 
318
- var z = "4.4.0";
318
+ var z = "4.5.3";
319
319
 
320
320
  Object.defineProperty(globalThis, "memorio", {
321
321
  value: {
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "memorio",
3
3
  "codeName": "memorio",
4
- "version": "4.4.0",
4
+ "version": "4.5.3",
5
5
  "description": "Memorio, State + Observer, Store and iDB for an easy life - Cross-platform compatible",
6
6
  "main": "./index.cjs",
7
- "browser": "./index.cjs",
7
+ "browser": "./index.js",
8
8
  "module": "./index.js",
9
+ "type": "module",
9
10
  "types": "./index.d.ts",
10
11
  "typing": "./types/*",
11
12
  "license": "MIT",
@@ -50,6 +51,10 @@
50
51
  "files": [
51
52
  "**/*"
52
53
  ],
54
+ "publishConfig": {
55
+ "access": "public"
56
+ },
57
+ "sideEffects": true,
53
58
  "support": {
54
59
  "name": "Dario Passariello",
55
60
  "url": "https://dario.passariello.ca/",
package/types/store.d.ts CHANGED
@@ -13,7 +13,7 @@ interface _store {
13
13
  * @param name The String as name to define the store.
14
14
  * @param value The information you want to store. Functions are blocked for security.
15
15
  * @return void
16
- */
16
+ */
17
17
  set: (name: string, value: any) => void
18
18
 
19
19
  /**