tailwindcss 3.2.5 → 3.2.6

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
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - Nothing yet!
11
11
 
12
+ ## [3.2.6] - 2023-02-08
13
+
14
+ ### Fixed
15
+
16
+ - drop oxide api shim ([add16364b4b1100e1af23ad1ca6900a0b53cbba0](https://github.com/tailwindlabs/tailwindcss/commit/add16364b4b1100e1af23ad1ca6900a0b53cbba0))
17
+
12
18
  ## [3.2.5] - 2023-02-08
13
19
 
14
20
  ### Added
@@ -2163,7 +2169,8 @@ No release notes
2163
2169
 
2164
2170
  - Everything!
2165
2171
 
2166
- [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.5...HEAD
2172
+ [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.6...HEAD
2173
+ [3.2.6]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.5...v3.2.6
2167
2174
  [3.2.5]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.4...v3.2.5
2168
2175
  [3.2.4]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.3...v3.2.4
2169
2176
  [3.2.3]: https://github.com/tailwindlabs/tailwindcss/compare/v3.2.2...v3.2.3
@@ -13,7 +13,6 @@ const _generateRules = require("./generateRules");
13
13
  const _log = /*#__PURE__*/ _interopRequireDefault(require("../util/log"));
14
14
  const _cloneNodes = /*#__PURE__*/ _interopRequireDefault(require("../util/cloneNodes"));
15
15
  const _defaultExtractor = require("./defaultExtractor");
16
- const _oxide = /*#__PURE__*/ _interopRequireDefault(require("@tailwindcss/oxide"));
17
16
  function _interopRequireDefault(obj) {
18
17
  return obj && obj.__esModule ? obj : {
19
18
  default: obj
@@ -155,7 +154,7 @@ function expandTailwindAtRules(context) {
155
154
  env.DEBUG && console.time("Reading changed files");
156
155
  if (env.OXIDE) {
157
156
  // TODO: Pass through or implement `extractor`
158
- for (let candidate of _oxide.default.parseCandidateStringsFromFiles(context.changedContent)){
157
+ for (let candidate of require("@tailwindcss/oxide").parseCandidateStringsFromFiles(context.changedContent)){
159
158
  candidates.add(candidate);
160
159
  }
161
160
  // for (let { file, content, extension } of context.changedContent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -41,7 +41,6 @@
41
41
  "stubs/*.stub.js",
42
42
  "nesting/*",
43
43
  "types/**/*",
44
- "oxide-node-api-shim",
45
44
  "*.d.ts",
46
45
  "*.css",
47
46
  "*.js"
@@ -71,7 +70,6 @@
71
70
  "postcss": "^8.0.9"
72
71
  },
73
72
  "dependencies": {
74
- "@tailwindcss/oxide": "file:./oxide-node-api-shim",
75
73
  "arg": "^5.0.2",
76
74
  "chokidar": "^3.5.3",
77
75
  "color-name": "^1.1.4",
@@ -6,8 +6,6 @@ import log from '../util/log'
6
6
  import cloneNodes from '../util/cloneNodes'
7
7
  import { defaultExtractor } from './defaultExtractor'
8
8
 
9
- import oxide from '@tailwindcss/oxide'
10
-
11
9
  let env = sharedState.env
12
10
 
13
11
  const builtInExtractors = {
@@ -134,7 +132,7 @@ export default function expandTailwindAtRules(context) {
134
132
 
135
133
  if (env.OXIDE) {
136
134
  // TODO: Pass through or implement `extractor`
137
- for (let candidate of oxide.parseCandidateStringsFromFiles(
135
+ for (let candidate of require('@tailwindcss/oxide').parseCandidateStringsFromFiles(
138
136
  context.changedContent
139
137
  // Object.assign({}, builtInTransformers, context.tailwindConfig.content.transform)
140
138
  )) {
@@ -1,21 +0,0 @@
1
- let log = require('../lib/util/log').default
2
-
3
- // This should be a temporary file.
4
- //
5
- // Right now we require `@tailwindcss/oxide` as one of the packages in package.json. This contains
6
- // all the necessary Rust bindings. However, we won't ship those bindings by default yet, and
7
- // therefore you need to install the explicit oxide-insiders version where the Rust bindings are
8
- // available.
9
- //
10
- // To ensure that this doesn't break existing builds of the insiders release, we will use this shim
11
- // to implement all the APIs and show a warning in case you are trying to run `OXIDE=1 npx
12
- // tailwindcs ...` without having installed the oxide-insiders version.
13
- module.exports.parseCandidateStringsFromFiles = function parseCandidateStringsFromFiles(
14
- _changedContent
15
- ) {
16
- log.warn('oxide-required', [
17
- 'It looks like you are trying to run Tailwind CSS with the OXIDE=1 environment variable.',
18
- 'This version does not have the necessary Rust bindings, so please install the `tailwindcss@insiders-oxide` version instead.',
19
- ])
20
- return []
21
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@tailwindcss/oxide-shim",
3
- "main": "./index.js",
4
- "license": "MIT"
5
- }