@jsiqle/core
Advanced tools
Comparing version 2.0.0 to 3.0.0
{ | ||
"name": "@jsiqle/core", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "JavaScript In-memory Query Language with Events.", | ||
"main": "./dist/main.js", | ||
"type": "module", | ||
"exports": "./src/index.js", | ||
"scripts": { | ||
"build": "webpack --mode=production", | ||
"repl": "webpack --mode=development && node ./repl/index.js", | ||
"repl": "node ./repl/index.js", | ||
"test": "jest --coverage", | ||
"lint": "eslint src", | ||
"prepare": "npm run lint && npm run test && npm run build" | ||
"prepare": "npm run lint && npm run test" | ||
}, | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -1,3 +0,3 @@ | ||
const jsiqle = require('../dist/main').default; | ||
const repl = require('repl'); | ||
import jsiqle from '../src/index.js'; | ||
import repl from 'node:repl'; | ||
@@ -4,0 +4,0 @@ let replServer = repl.start({ |
@@ -1,3 +0,3 @@ | ||
import { isOptional, standardTypes } from 'src/types'; | ||
import symbols from 'src/symbols'; | ||
import { isOptional, standardTypes } from './types.js'; | ||
import symbols from './symbols.js'; | ||
@@ -4,0 +4,0 @@ const { $isDateField } = symbols; |
@@ -1,2 +0,2 @@ | ||
import { Schema } from 'src/schema'; | ||
import { Schema } from './schema.js'; | ||
@@ -3,0 +3,0 @@ // This is the public API, be extra careful not to add anything internal here. |
@@ -1,7 +0,8 @@ | ||
import { Field } from 'src/field'; | ||
import { RecordSet, RecordHandler } from 'src/record'; | ||
import { NameError, DuplicationError } from 'src/errors'; | ||
import symbols from 'src/symbols'; | ||
import { standardTypes } from 'src/types'; | ||
import { validateName } from 'src/utils'; | ||
import { Field } from './field.js'; | ||
import RecordSet from './record_set.js'; | ||
import RecordHandler from './record_handler.js'; | ||
import { NameError, DuplicationError } from './errors.js'; | ||
import symbols from './symbols.js'; | ||
import { standardTypes } from './types.js'; | ||
import { validateName } from './utils.js'; | ||
@@ -8,0 +9,0 @@ const { |
@@ -1,8 +0,8 @@ | ||
import { Field } from 'src/field'; | ||
import { Schema } from 'src/schema'; | ||
import { DuplicationError } from 'src/errors'; | ||
import { Model } from 'src/model'; | ||
import { validateName, reverseCapitalize } from 'src/utils'; | ||
import { recordId, recordIdArray } from 'src/types'; | ||
import symbols from 'src/symbols'; | ||
import { Field } from './field.js'; | ||
import { Schema } from './schema.js'; | ||
import { DuplicationError } from './errors.js'; | ||
import { Model } from './model.js'; | ||
import { validateName, reverseCapitalize } from './utils.js'; | ||
import { recordId, recordIdArray } from './types.js'; | ||
import symbols from './symbols.js'; | ||
@@ -9,0 +9,0 @@ const { |
@@ -1,7 +0,7 @@ | ||
import { Model } from 'src/model'; | ||
import { Relationship } from 'src/relationship'; | ||
import { Serializer } from 'src/serializer'; | ||
import { ExperimentalAPIUsageError } from 'src/errors'; | ||
import { validateObjectWithUniqueName, validateName } from 'src/utils'; | ||
import symbols from 'src/symbols'; | ||
import { Model } from './model.js'; | ||
import { Relationship } from './relationship.js'; | ||
import { Serializer } from './serializer.js'; | ||
import { ExperimentalAPIUsageError } from './errors.js'; | ||
import { validateObjectWithUniqueName, validateName } from './utils.js'; | ||
import symbols from './symbols.js'; | ||
@@ -8,0 +8,0 @@ const { |
@@ -1,2 +0,2 @@ | ||
import { DuplicationError } from 'src/errors'; | ||
import { DuplicationError } from './errors.js'; | ||
@@ -3,0 +3,0 @@ export class Serializer { |
@@ -1,2 +0,2 @@ | ||
import { DuplicationError, NameError } from 'src/errors'; | ||
import { DuplicationError, NameError } from './errors.js'; | ||
@@ -3,0 +3,0 @@ // Name validation |
@@ -1,3 +0,3 @@ | ||
import { Field } from 'src/field'; | ||
import { standardTypes } from 'src/types'; | ||
import { Field } from '../src/field.js'; | ||
import { standardTypes } from '../src/types.js'; | ||
@@ -4,0 +4,0 @@ describe('Field', () => { |
@@ -1,4 +0,4 @@ | ||
import { Model } from 'src/model'; | ||
import { Schema } from 'src/schema'; | ||
import symbols from 'src/symbols'; | ||
import { Model } from '../src/model.js'; | ||
import { Schema } from '../src/schema.js'; | ||
import symbols from '../src/symbols.js'; | ||
@@ -5,0 +5,0 @@ const { $instances, $fields, $properties, $cachedProperties, $scopes } = |
@@ -1,5 +0,5 @@ | ||
import { Schema } from 'src/schema'; | ||
import { Model } from 'src/model'; | ||
import { Relationship } from 'src/relationship'; | ||
import symbols from 'src/symbols'; | ||
import { Schema } from '../src/schema.js'; | ||
import { Model } from '../src/model.js'; | ||
import { Relationship } from '../src/relationship.js'; | ||
import symbols from '../src/symbols.js'; | ||
@@ -6,0 +6,0 @@ const { |
@@ -1,4 +0,4 @@ | ||
import { Schema } from 'src/schema'; | ||
import { Model } from 'src/model'; | ||
import symbols from 'src/symbols'; | ||
import { Schema } from '../src/schema.js'; | ||
import { Model } from '../src/model.js'; | ||
import symbols from '../src/symbols.js'; | ||
@@ -5,0 +5,0 @@ const { $instances, $fields, $properties, $clearSchemaForTesting } = symbols; |
@@ -1,3 +0,3 @@ | ||
import { Serializer } from 'src/serializer'; | ||
import { Model } from 'src/model'; | ||
import { Serializer } from '../src/serializer.js'; | ||
import { Model } from '../src/model.js'; | ||
@@ -4,0 +4,0 @@ describe('Serializer', () => { |
@@ -5,3 +5,3 @@ import { | ||
validateObjectWithUniqueName, | ||
} from 'src/utils'; | ||
} from '../src/utils.js'; | ||
@@ -8,0 +8,0 @@ describe('deepClone', () => { |
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
0
Yes
165987
31
4095