@modern-js/plugin-styled-components 0.0.0-canary-20260128061652 → 0.0.0-canary-20260128131355

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/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # @modern-js/plugin-styled-components
2
2
 
3
- ## 0.0.0-canary-20260128061652
3
+ ## 0.0.0-canary-20260128131355
@@ -1,5 +1,5 @@
1
- import { StreamStyledExtender } from "./extender/stream";
2
- import { StyledCollector } from "./extender/string";
1
+ import { StreamStyledExtender } from "./extender/stream.mjs";
2
+ import { StyledCollector } from "./extender/string.mjs";
3
3
  const styledComponentsPlugin = ()=>({
4
4
  name: '@modern-js/plugin-styled-components',
5
5
  setup (api) {
@@ -1,3 +1,5 @@
1
+ import "node:module";
2
+ /*#__PURE__*/ import.meta.url;
1
3
  import { ServerStyleSheet } from "styled-components";
2
4
  class StreamStyledExtender {
3
5
  init(params) {
@@ -1,3 +1,5 @@
1
+ import "node:module";
2
+ /*#__PURE__*/ import.meta.url;
1
3
  import { ServerStyleSheet } from "styled-components";
2
4
  function _check_private_redeclaration(obj, privateCollection) {
3
5
  if (privateCollection.has(obj)) throw new TypeError("Cannot initialize the same private elements twice on an object");
@@ -1,3 +1,5 @@
1
+ import __rslib_shim_module__ from "node:module";
2
+ const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(import.meta.url);
1
3
  import { pluginStyledComponents } from "@rsbuild/plugin-styled-components";
2
4
  const styledComponentsPlugin = (options)=>({
3
5
  name: '@modern-js/plugin-styled-components',
@@ -1,3 +1,5 @@
1
+ import "node:module";
2
+ /*#__PURE__*/ import.meta.url;
1
3
  import { StreamStyledExtender } from "./extender/stream.mjs";
2
4
  import { StyledCollector } from "./extender/string.mjs";
3
5
  const styledComponentsPlugin = ()=>({
@@ -1,3 +1,5 @@
1
+ import "node:module";
2
+ /*#__PURE__*/ import.meta.url;
1
3
  import styled_components from "styled-components";
2
4
  export * from "styled-components";
3
5
  const styled = styled_components;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "modern",
9
9
  "modern.js"
10
10
  ],
11
- "version": "0.0.0-canary-20260128061652",
11
+ "version": "0.0.0-canary-20260128131355",
12
12
  "types": "./src/index.ts",
13
13
  "main": "./dist/cjs/index.js",
14
14
  "module": "./dist/esm/index.mjs",
@@ -23,9 +23,9 @@
23
23
  "@types/styled-components": "^5.1.36",
24
24
  "styled-components": "^5.3.1",
25
25
  "typescript": "^5.3.3",
26
- "@modern-js/app-tools": "0.0.0-canary-20260128061652",
27
- "@modern-js/rslib": "0.0.0-canary-20260128061652",
28
- "@modern-js/runtime": "0.0.0-canary-20260128061652"
26
+ "@modern-js/app-tools": "0.0.0-canary-20260128131355",
27
+ "@modern-js/rslib": "0.0.0-canary-20260128131355",
28
+ "@modern-js/runtime": "0.0.0-canary-20260128131355"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "styled-components": "^5.3.1"