remix-typedjson
Advanced tools
Comparing version 0.1.3 to 0.1.4
# CHANGELOG | ||
## 🚀 v0.1.4 | ||
- 🔥 Remove `importHelpers: true` in tsconfig.json | ||
## 🚀 v0.1.3 | ||
@@ -4,0 +8,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.redirect = exports.deserializeRemix = exports.stringifyRemix = exports.useTypedFetcher = exports.useTypedActionData = exports.useTypedLoaderData = exports.typedjson = void 0; | ||
const tslib_1 = require("tslib"); | ||
const react_1 = require("@remix-run/react"); | ||
const _typedjson = tslib_1.__importStar(require("./typedjson")); | ||
const _typedjson = __importStar(require("./typedjson")); | ||
const typedjson = (data, init = {}) => { | ||
@@ -8,0 +30,0 @@ let responseInit = typeof init === 'number' ? { status: init } : init; |
{ | ||
"name": "remix-typedjson", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.", | ||
@@ -5,0 +5,0 @@ "browser": "/dist/esm/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40925
781