@css-hooks/core 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <p align="center">
9
9
  <a href="https://github.com/css-hooks/css-hooks/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/css-hooks/css-hooks/ci.yml?branch=master" alt="Build Status"></a>
10
- <a href="https://github.com/css-hooks/css-hooks/releases"><img src="https://img.shields.io/npm/v/@css-hooks%2Fcore.svg" alt="Latest Release"></a>
10
+ <a href="https://www.npmjs.com/org/css-hooks"><img src="https://img.shields.io/npm/v/@css-hooks%2Fcore.svg" alt="Latest Release"></a>
11
11
  <a href="https://github.com/css-hooks/css-hooks/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/css-hooks.svg" alt="License"></a>
12
12
  </p>
13
13
 
package/cjs/index.js CHANGED
@@ -97,7 +97,7 @@ function buildHooksSystem(stringify) {
97
97
  }),
98
98
  ].join(""),
99
99
  function hooks(properties) {
100
- return hooksImpl(properties);
100
+ return hooksImpl(JSON.parse(JSON.stringify(properties)));
101
101
  },
102
102
  ];
103
103
  };
package/esm/index.js CHANGED
@@ -94,7 +94,7 @@ export function buildHooksSystem(stringify) {
94
94
  }),
95
95
  ].join(""),
96
96
  function hooks(properties) {
97
- return hooksImpl(properties);
97
+ return hooksImpl(JSON.parse(JSON.stringify(properties)));
98
98
  },
99
99
  ];
100
100
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@css-hooks/core",
3
3
  "description": "CSS Hooks core library",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "author": "Nick Saunders",
6
6
  "devDependencies": {
7
7
  "@tsconfig/node-lts": "^18.12.3",